From PHP to Rails, First Impression
After several years of designing dynamic websites in purely PHP (from scratch), I truly believed that everything in web programming needed to be complicated to work.
Then I tried rails.
My first impressions were mixed; and confused. Why on earth did RoR think it could correctly generate all of my code for me? The answer is simple; to promote consistency.
The brilliant developers of Rails must have gotten annoyed from rewriting the same code for different projects over and over again. Each new project implementation wreaked havoc on previously working code.
Instead of reinventing the wheel for every new project, the rails philosophy is based on Convention over Configuration and the DRY (Don’t Repeat Yourself) principles. RoR lays the framework for your website based on the popular Model View Controller architecture.
If you, like me, have been using custom boiler-plate implementations of these technologies, but you haven’t tried rails; it’s time to take a look.
Subscribe by RSS