Building a Custom PHP Framework with a custom template caching engine using Output Control functions

Posted 10 CommentsPosted in PHP
In past 1 year or so, I had opportunities of using a lot of php frameworks including zend, symfony, cakephp, codeigniter. All frameworks have their pros and cons, however that is out of scope of this blog post. You may want to checkout this comparison list of php frameworks here. In this blog post I will build a custom PHP framework (MVC Architecture). Then go on to discuss in brief about the output control functions and finally show how to build a custom template caching engine using these functions for our framework. Source Code You may want to download the...

How to build a login-registration system using Symfony – A PHP Framework – Part 2

Posted 38 CommentsPosted in PHP
Hello again, In the last tutorial we saw a very basic implementation which will simply print "Hello World" on your browser screen. For those who have landed up here straight here, you may want to go through this blog post. Getting started with Symfony - A PHP Framework - Part 1 By now if you have decided to go ahead with symfony and use it for your site development, this is what you will be looking for next. You can download the code for this tutorial from google code base. svn checkout http://abhinavsingh.googlecode.com/svn/trunk/PHP/ Frameworks/Symfony/Authentication abhinavsingh-read-only A Registration-Login-Logout System for your...

Getting started with Symfony – A PHP Framework – Part 1

Posted 34 CommentsPosted in PHP
Hello Friends, Since past few weeks I have been pushed into something which I have never favored i.e. using a framework for my development. Using a framework can become even more harder if you know all the actual HTML, CSS, JS, PHP coding. Then you just wonder WHY? WHY? WHY? Anyways I had to do it using Symfony PHP framework and there was no way out. As I couldn't find much help outside http://symfony-project.com , it made even more difficult for me to implement and understand symfony.  So I thought of writing a tutorial, which can help many others like me...