Archive for the ‘Symfony’ Category

YAML Debug is an assistive tool for web developers, that allows you to quickly review code quality and semantic structure of any website (particularly based on YAML) as well as testing it against common oversights.
YAML Debug detects the content encoding and counts all external style sheets, script elements and images on your webpage. In the [...]

When it comes to ORMs, it’s all a matter of preference. Is it, really? This post compares side-by-side the code required to perform some simple operations with three OO database requesting API. The purpose is to demonstrate that productivity, and not only style, can vary a lot depending on the ORM you choose.
There are not [...]

Here is a way to do left join on two columns in a table that both were foreign keys in the same table using Propel. This might happen if for example you have a table with a parent_id and a child_id in a nested set that both refer to the same table, or as an [...]

Do you want a real autocomplete of the global core classes of the
symfony framework (ie sfWebRequest, sfWebResponse… ?) or only for
classes generated by the ORM ?
Here are some answers:
* Propel generates all accessors (getters and setters), so Eclipse PDT
gives you the autocomplete for your model.
* Doctrine, by default, doesn’t generate accessors so PDT doesn’t
propose an [...]

Test environment
Computer characteristics
Processor: Intel Core 2 6300 1.86 GHz
Memory: 1 Gb
Hard disk: Barracuda 7200.10 SATA 3.0Gb/s 320-GB
Software
Operational system: Windows XP Service Pack 2
Database: MySQL 5.0, table type – InnoDB
Web server: Apache HTTP Server 2.2.4
PHP version: 5.2.4 installed as module
LightOrm version: 0.2а, uses PDO driver
Propel version: 1.3, uses PDO driver
Doctrine version: 0.10.2, uses PDO driver
Results of [...]


top