Skip to content
Advertisement

What is a PHP code generator?

I’m thinking of using a php cms, a php framework or php code generator. A php cms is restricted somehow and with a php framework and a php code generator I have more freedom. But what exactly is the difference between a framework and a code generator or what do a framework share with a code generator? I’m also planning to use Scriptcase 5 for a project because I already have the licence and I don’t want to use a cms or something similiar that can limit me.

Advertisement

Answer

CMS, framework and PHP code generator are three different beasts.

CMS is a software tool tailored to allow easy website editing/maintenance. Most CMS use databases though there are file-based ones as well. Popular CMS are Joomla, Drupal, CMSMS and WordPress to some extent. You can use CMS to maintain your website however building a web application like Twitter or Facebook won’t be possible. CMS is not a tool, this a web application.

Both framework and PHP code generator allow you to build web applications. With framework you still need to write the actual code. PHP code generator will generate 50-90% of code for you.

Lets use an analogy. You need to build a car. Writing code manually means building a car from scratch: building your engine, your transmission, writing the software for car computer etc. It will take many man years to build one.

Using framework is similar to buying DIY kit. You get engine, body, wheels and just need to assemble it. Depending on your skills this can take up to few months.

Using PHP code generator is similar to pronting your car on 3D printer. You choose the program, select make/model/options and click ‘Print’. Some time later you have your car. You might be able to customize it to some extent. You can even buy another engine and replace the stock one.

And CMS is the car. You can paint it different colors, change wheels etc. If you need another car, you have to get another CMS.

If you read that far you deserve to know that the best PHP code generator on the market is PHPRunner.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement