Free PHP and MySQL generator!

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

jamesmiddz
Forum Newbie
Posts: 18
Joined: Wed Jun 23, 2004 11:48 am
Location: UK

Free PHP and MySQL generator!

Post by jamesmiddz »

I have just finished a simple free to use PHP and MySQL generator. Very easy to implement. I designed it to take out the repeatition involved in coding.

A perfect tool for begginers and expert coders alike. Creates all code including, database, add form, add to MySQL, update form, update MySQL and connection syntax. Simple concept. Does require some knowledge

Visit the PHP and MySQL generator now!

http://www.turningturnip.co.uk/creator/

Regards, James Middleton
http://www.turningturnip.co.uk
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Moved from PHP Code.
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

Well that's me out of a job..

:wink:

Nah.. joking aside.. you're on the way there. Next job is to add some validation options (field length, regex format, etc), then make it generate the files themselves, zip them up, download to the user .. and how about using database structure queries* to automatically query the database and generate the forms based on what it finds?

* http://www.ooer.com/index.php?section=php&id=13
jamesmiddz
Forum Newbie
Posts: 18
Joined: Wed Jun 23, 2004 11:48 am
Location: UK

PHP Generator

Post by jamesmiddz »

Thanks for the reply ;)

Yes...early days, early days. I have only just started this project...I created it so to cut down on repeative tasks. If I get a lot of attention for it I will start adding other features and use zip functions...by the ways how do you put the code into zip format? I've never tried it, but have considered it for this project.

This generator only took a morning to create, so emagine what I could do with it when I get a spare bit of time on my hands!!

I use the generator to help build up my other website - http://www.shmootcase.co.uk/index.php. Saves me loads of time. :D

All the best, James
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

Good luck with it. I've written my own framework for making site admin systems .. it takes an XML file that defines an admin form and handles absolutely everything .. complete suite of form validation functions, input and output filtering, multiple image uploads (with effects like image sharpening), a built-in editor (based on FCKEditor), it can cope with cross reference key relationships, joined tables.. you name it, it's there. A CMS that would have taken 3 days to create before now takes 3 hours (you still have to write the XML files..).

Just a shame it's closed source really.. I'd love to open it up but it was partly written during office hours.
jamesmiddz
Forum Newbie
Posts: 18
Joined: Wed Jun 23, 2004 11:48 am
Location: UK

Post by jamesmiddz »

Thanks,

Sounds like a big project...but of course if it makes your life as a developer easy...all good stuff. I can't use xml on my server :cry:


Here's my big project (the one I spend most of my spare time on)

http://www.shmootcase.co.uk

All the best, James
d3ad1ysp0rk
Forum Donator
Posts: 1661
Joined: Mon Oct 20, 2003 8:31 pm
Location: Maine, USA

Post by d3ad1ysp0rk »

uhh.. how can you not use XML on your server? :?
jamesmiddz
Forum Newbie
Posts: 18
Joined: Wed Jun 23, 2004 11:48 am
Location: UK

Post by jamesmiddz »

Well, my servers peeps told me 'It is not just feasible for our current server configuration'

:cry:
User avatar
nickman013
Forum Regular
Posts: 764
Joined: Sun Aug 14, 2005 12:02 am
Location: Long Island, New York

Post by nickman013 »

Thats cool. You did a great job on it. Looks like it was hard to do.
jamesmiddz
Forum Newbie
Posts: 18
Joined: Wed Jun 23, 2004 11:48 am
Location: UK

Post by jamesmiddz »

Thanks, wasn't too difficult, just played around with 'while and if' and echoed out the coding from form to form. If you find any errors, please let me know.

James
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Okay, I don't mean to be the party-crasher, but it's not that spectacular. (for a moment I thought it was a PHP equivalent of Ruby on Rails or something). I can see how it would be helpful for newbies though.
jamesmiddz
Forum Newbie
Posts: 18
Joined: Wed Jun 23, 2004 11:48 am
Location: UK

Post by jamesmiddz »

Well, it only took a morning to construct...no planning, made it on the spot because I was bored of typing the same old thing in over and over again...I only promised simplicity ;)

I am seriously considering building apon it though...so watch this space.

I just wanted to create something that I could run in the background while developing to take out any repetition from coding. I feel that this generator work well for that. I know it's not yet capable of handling complexed coding routines and doesn't have drag and drop features that some of the online generators have....but hey...it's free. As I have said, with the right level of interest I might develope this project into something really useful to all.

If you think it is not that spectacular, start using it and you'll see that it does save alot of time on the more monotonous tasks. :P

All the best James.
User avatar
pedrotuga
Forum Contributor
Posts: 249
Joined: Tue Dec 13, 2005 11:08 pm

Post by pedrotuga »

Well... kind of cool actually.

Practical for minimalist aplications.

Gona use it thx a litle site i have. It only has one table... never really felt like coding a decent backend.
Yes, its cool for newbies, like me :D
jamesmiddz
Forum Newbie
Posts: 18
Joined: Wed Jun 23, 2004 11:48 am
Location: UK

MySQL and PHP generator

Post by jamesmiddz »

Thanks,

On the 22 of June 2006 I updated the generator a little. I have now added a form box selector allowing you to choose from a list containing Text fields, Text Area, Check boxes and Hidden fields. You can also specify the character limit for each field.

I know it is very simplistic, but I am determined to build upon it. I have used this generator a lot lately for basic building. It is so quick and easy. Of course, for a more advanced scripter, you'll have to tweak the code afterward to get the best out of your system, but I designed this generator to simply cut out the repetition.

If you like this system, you might want to try my website generator...designed for the none-technical, it generates W3 standard php powered websites which are delivered with a built-in Content Management System (CMS). Very, very easy to use point and click system. If you want to push the generator a little, you could also incorporate your own html/css/Javascript into each page via the CMS.

Visit the link below for more details:

http://www.turningturnip.co.uk/web_builder/

Thought I might mention, I have also put together a free Photoshop article section:

http://www.turningturnip.co.uk/photoshop/

Best regards, James Middleton
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

that's actually interesting enough you've given me my next simlpe project.oh yes you have. :-D course going to design it my own way, man. I love you. lol
Post Reply