2. Similarities Both follow MVC pattern Use configuration files to help maintain vital metadata. Provides helpers classes for various features. Allow developers to extend the core code and build their own libraries and helper functions.
3. Similarities Support many enhanced features such as: Caching Multiple Database support Form helps (differ in implementation) Validations Error Handling Plugin & helper functions
4. Differences CodeIgniter has a very small footprint (1MB), Symfony comes to around 5MB. Symfony has lot of dependencies, requires PEAR for fresh installation. CI can be installed by copying the source folder. Symfony has a longer learning curve where as CI is easy to learn.
5. Differences Symfony supports only PHP 5, where as CodeIgniter supports both PHP 4/5. ORM tools are bundled up in the Symfony package but for CI they come as plugins. Symfony provides CLI for auto generation of modules, databases etc, this feature is not present in CodeIgniter. Symfony provides command for admin backend generation.
6. Differences Symfony has debugger toolbar, which show load time DB queries etc. Symfony has built-in Ajax support which CI lacks. CodeIgniter is very much more flexible and easy as compared to Symfony.
7. Conclusion Symfony is all about best practices whereas CI seems to take a more pragmatic route. CodeIgniter works well for something quick and small, Symfony work wonders when it comes for complicated projects.
8. Contact Us e-mail: info@mobicules.com Phone:+91-9871010829 +91-9873778077 +112132911527 www.mobicules.com