Symfony 1.4 Installation Steps

1) Set up for SVN repository2)Create three folders trunk, tags and branches (optional) 3)make directory lib/vendor inside trunk folder (or your project folder) 4)CD to lib/vendor folder 5) svn propset svn:externals ‘symfony http://svn.symfony-project.com/tags/RELEASE_1_4_0′ . 6) Type: svn update (it will download all the symfony files) 7)Create project:php lib/vendor/symfony/data/bin/symfony generate:project projectname Commit everything (If you need [...]

2 Comments , , , ,

Explore a PHP class object

If you develop website using some framework (Symfony, Codeigniter or Zend etc), you need to play with several system defined objects like routing objects, session objects etc. To see what are the functions available inside an object on run time without referring the parent class documentation, here is a trick: print_r( get_class_methods(get_class($YourObject))); Now you can [...]

0 Comments , , , , , ,

Change web root directory in Symfony 1.4

Symfony usually has “web” as root folder. If you want to change the name of this folder to something else, just rename say “public_html”. This will work if you have made proper changes in your web root. But if you run the symfony commands, say generate: app, or module, the old default “web” directory will [...]

0 Comments

Symfony 1.4 + Codeigniter = Symfony 2

Recently I tried Symfony 2 Sandbox for one of my projects. I realised this fact that Symfony 2 is so powerful because they restructured the Symfony 1.4 architecture and made a system like Codeigniter Framework. I wrote a post some months back about Codeigniter vs Symfony here. I need to re-edit that post now, because, [...]

8 Comments , , , , , , , , ,

Symfony V/S Codeigniter

     V/S     I have developed more than 7 web projects using Symfony framework. Mobshare.in, Amvizone.com, Campaignmanger.in , Movieonline.in etc are some of the websites. But for the past 5 months my developement is in Codeigniter. It is very very lighter than Symfony and has almost all the features of Symfony. Both are MVC [...]

11 Comments , , , , , , , ,

Learn Ruby on Rails

I just started ruby on rails some week back. As a programmer one should learn at least the language ruby. It is a very powerful language with a lots of different concepts and stuctures . You may know learning a programming language is very simple if you cognise any other one already . What we [...]

0 Comments , , , , , , , , , , , ,