954,580 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

PHP code generator, sugestions?

Hello there my friends,

I was looking to the best PHP code generator in the market, i already take a look into some frameworks but before i buy it i wanted to take a look here to know if you guys have any sugestion.

Any of you already have/use/bought any PHP code generator? any sugestion?

Let's discuss!

Jones_nash
Newbie Poster
3 posts since Oct 2011
Reputation Points: 10
Solved Threads: 0
 

Buy?? What do you mean 'code generator'? A php framework won't write it for you - in fact frameworks will make you write LOADS of stuff to start with.

What exactly are you looking for?

diafol
Rhod Gilbert Fan (ardav)
Moderator
7,792 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080
 

I don't think I would put much stock in a product that "generated" source code for me, scaffolding like controllers is one thing, but not a whole project.

@ardav
I have to disagree with your comment about frameworks. Frameworks will save you from writing lots of code as they supply the architecture logic. As a developer you end up implementing the business services/models and the UI. Once you're familiar with a framework it can drastically speed up your development processes, especially on large projects.

mschroeder
Work Harder
Team Colleague
666 posts since Jul 2008
Reputation Points: 279
Solved Threads: 131
 

@ms - I was making the point that starting with an MVC is a lot of work initially ('to start with'), then of course, I agree, the work is simpler. I usually use a framework myself, due to the advantages after the initial setup is in place.

diafol
Rhod Gilbert Fan (ardav)
Moderator
7,792 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080
 

I tested a few, 3 or 4, and can tell you that some of then will realy increse my development speed at least in 50%.

Some will generate PHP code for you, the basic and some of the advanced stuff but of course some of the development will continue made by your own hands and code!

Have you guys tested any of those framework? scriptcase? codecharge? phprunner? or any other?

Jones_nash
Newbie Poster
3 posts since Oct 2011
Reputation Points: 10
Solved Threads: 0
 

While those products seem to create functional projects, I'd be more curious to see what the generated code looks like. It appears that they have a major focus on CRUD with some basic UI on top.

If this is the route you're looking for, I'd highly suggest one of the many open source php frameworks and a CRUD package/component for them. Mostly because in the end you'll end up with a more robust framework, something that is community supported by a lot more users and you'll also have access to resources from users all over the world who may have tackled your problem before.

There are a variety of CRUD/Generator bundles for Symfony2.
I've seen CRUD generator capabilities built for Zend Framework.
I believe this is a feature built into CakePHP, maybe a cake user can confirm this.
I've also seen CRUD generator components for CodeIgniter.
There are lots of other frameworks too, but at the moment I think Symfony2 is the best of the best.

mschroeder
Work Harder
Team Colleague
666 posts since Jul 2008
Reputation Points: 279
Solved Threads: 131
 

Ready made frameworks is okay if your an old PHP veteran.
If you haven't done your own "framework" at least once, then you will have holes in your knowledge.

Sorcher
Junior Poster
191 posts since Oct 2010
Reputation Points: 16
Solved Threads: 9
 
Ready made frameworks is okay if your an old PHP veteran. If you haven't done your own "framework" at least once, then you will have holes in your knowledge.

True, you must know what you want!

Shamrocks
Newbie Poster
10 posts since Oct 2011
Reputation Points: 11
Solved Threads: 1
 

This thread was just sock-puppet promotion for a particular product by Jones_nash and Shamrocks. Those posts have been deleted, but I will leave the rest of the replies up for the benefit of others.

Closed.

Ezzaral
Posting Genius
Moderator
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: