Tag Archives: php

Website deployments: Plain old Ant

In the last entry I was mentioning several solutions for managing web site deployments and packaging for php webapps. Since with PHP there is usually no build process already at development time this has often to be established especially for test & production – and yes there needs to be a build process if you [...]
Posted in javascript, php, Web2.0 | Also tagged , | Comments closed

Discovered Quercus

Scalability, security, pooling, long lived connections , container services in general are all aspects where Java has a lot to offer. PHP on the other side is good for fast development cycles with a low maintenance infrastructure, request response orientend with not so much support for long lived connections, caching etc. On one of my [...]
Posted in java, php, Scalability | Also tagged , | Comments closed

FB Series: AJAX & Facebook debugging

The php facebook client has a nice setting to track the different http calls between your app and facebook. You can enable this with: $GLOBALS['facebook_config']['debug'] = true; This will actually insert some script code to the header of every page served, in order to render the tracking code, if there is something to render: <script [...]
Posted in debugging, facebook | Also tagged | Comments closed

Internet-scale Java Web Applications

I am currently working on 2 application architectures. One is a PHP Facebook app (IFrame) with Postgresql in the backend, the other is a Glassfish/Jersey/Toplink/PostgreSql stack. When reading the glowing web 2.0 tech stories in the news and sites like highscalability it seems like just about everyone requiring a “internet-scale” architecture is using MySQL, many [...]
Posted in EC2, Scalability, Terracotta, Web2.0 | Also tagged , , , | Comments closed

FB Series: Choosing an PHP IDE

What are the contenders? Netbeans 6.7 with PHP supportAptana 1.5 (standalone or Eclipse plugin)Zend Studio 6.1.2 (not free ;( ) My experiences: Code completion/parser in Netbeans better than Aptana (Aptana also crashes / gets in a endless loop at points when it cannot parse / code assist a file resulting in java heap exhaustion / [...]
Posted in facebook | Also tagged , | Comments closed

FB Series: Java Guy starting with FB development

I recently started with PHP development. Although I have had some small exposure to the language before, this was my first real project. What are the big differences to the Java (web) development experience? interpreted (no compiler to check for errors, just a parser) dynamically typed (->no “parse-time” type checking in the IDE ..) essential [...]
Posted in facebook, php | Also tagged , | Comments closed

FB Series: Locally debug your PHP Facebook App

Starting with Facebook applications is a rather a bumpy road. First there is the scattered and often not up-to-date documentation on the Facebook wiki. Its a pain to go through. But ok once you managed to get the important bits its ok. What I am talking about is the testing. Its quite astonishing that this [...]
Posted in facebook, php | Also tagged , | Comments closed