Is PHP code generator useful in web development? What is the shortcoming of using it?

molona
—
2013-04-01T10:24:44Z —
#2

To be honest, I don't do code generators (not for PHP, not for CSS, not for anything)

If you don't have a clue about what you're doing, it may solve the problem at hand and you can look at the code and learn from it. But if you understand what's going on, chances are that you'll be able to write better code by yourself

Webinsane
—
2013-05-16T15:39:10Z —
#3

I also suggest learning the code. Avoid CSS frameworks (if possible), but PHP frameworks can and will save your time.

Robin_johannsen
—
2013-06-25T07:07:58Z —
#4

For Some Project Php code generator is helpful.I havent used any code generator.Most Of my Php projects are CRUDE based.as per my best knowledge ,php code generator is helpful only to certain limit. Logical part of program, you have to code it manually.

Thanks!

Espinteractive
—
2013-07-02T07:55:18Z —
#5

As the most popular back-end scripting terminology used on the web these days,PHP is reinforced by a number of beneficial resources that improve work circulation and increase efficiency. Thanks mainly to its pretty superficial studying bend, it's possible for even the most unskilled web experts to make powerful sites quickly with PHP

bimalpoudel
—
2013-07-12T10:29:23Z —
#6

Take a look at the list of PHP Code Generators - http://logicpool.com/archives/297 - so many of them exist.While learning how to code what you need is extremely important, you are likely to do the repeated pattern of list, edit, delete, details, disable/enable etc - so many times over various projects. One day if you find out that you are doing same CRUD operations while you are creating a lot of uniquely different applications; there you feel the need of a code generator. In fact, I too came up with my own code generator http://code.google.com/p/smarty-framework/ though haven't found a proper name for it yet.

PHP Code Generators or code generators for other applications too save a bulk of time - by producing similar source code that you would write if you begun from the scratch. Your choice of tool should be able to write the pattern of CRUD codes for you in the way you want - which is much important. Then you can spare time for other parts of the coding - like better management, etc.

Plus, if your colleagues worked for you, they would produce the same source code that you expected.