Page 1 of 1

Code Generators

Posted: Thu Jul 22, 2010 9:32 am
by Mixcreations
why learn php when there's these php generators? Surely i must be wrong, but please advise me as im on the tutorials @ the moment.

Re: Code Generators

Posted: Thu Jul 22, 2010 9:42 am
by Eran
If code generators could build everything, you wouldn't need software developers. And yet, those are still in high demand

Re: Code Generators

Posted: Thu Jul 22, 2010 9:44 am
by atsa1
You can always use premade script in PHP but every webpage is different and uses custom variables. This means you have to modify it anyway.

Script is generated with default variables: But you want to use variablenames that suit you. You don't want to mess around with: $tomato when you deal with beer. So you need $beer variable.

Re: Code Generators

Posted: Thu Jul 22, 2010 9:57 am
by Mixcreations
So you feel this answer i recieved from my tutor is spot on:


Code generators can only do so much so you may need to tweak the generated code, also people need to program these generators therefore they need to learn php. Also if the code breaks or an update changes how the code works, you will need to be able to provide some form of patch.

A good web designer will always do his/her own code, at the end of the day, the code is only as good as the programmer, so if the programmer has bad habits that affect security etc then the code will be riddled with these errors.

As a programmer you would be able to spot and fix these errors but as a programmer you would likely develop your own code.

// I should do the code myself?

Re: Code Generators

Posted: Thu Jul 22, 2010 4:51 pm
by Eran
As a programmer, you should be able to program. There are very few scenarios in web development where code generation is a good idea