Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #9704

Re: PHP form generator

From Jerry Stuckle <jstucklex@attglobal.net>
Newsgroups comp.lang.php
Subject Re: PHP form generator
Date 2013-05-29 12:29 -0400
Organization A noiseless patient Spider
Message-ID <ko5a5p$8db$1@dont-email.me> (permalink)
References <ede17d74-5f3d-46ad-acbb-03bb103dc09c@googlegroups.com> <%5Yot.197338$a77.10316@fx18.fr7> <ko2lgj$ftn$2@dont-email.me> <4979adcb-6bc3-4d3d-9273-1abb1818f586@googlegroups.com>

Show all headers | View raw


On 5/29/2013 11:59 AM, Charles wrote:
> On Tuesday, May 28, 2013 9:24:55 AM UTC-7, Jerry Stuckle wrote:
>> On 5/28/2013 2:25 AM, Tony Marston wrote:
>>
>>> "Charles"  wrote in message
>>
>>> news:ede17d74-5f3d-46ad-acbb-03bb103dc09c@googlegroups.com...
>>
>>>>
>>
>>>> Does anyone have software they can suggest for generating an HTML
>>
>>>> input form and the php backend script for adding records to a database?
>>
>>>>
>>
>>>> I'm developing a web application, and I'm about half way through the
>>
>>>> MySQL end of it, but I'm daunted by the idea of hand coding 35'ish
>>
>>>> HTML and php files for data entry.
>>
>>>>
>>
>>>> Has anyone written software that takes the MySQL structure and
>>
>>>> generates both an HTML input page suitable for editing and the php
>>
>>>> script that links it to the MySQL table it's based upon?
>>
>>>
>>
>>> I suggest you take a look at Radicore (http://www.radicore.org) which
>>
>>> was purpose built to do exactly what you want. You import your database
>>
>>> schema into the data dictionary, then export each table definition to
>>
>>> produce one class per table. Then you generate user transactions which
>>
>>> create the scripts to create/read/update/delete each table. The whole
>>
>>> import/export/generate process can be done in 5 minutes, and you don't
>>
>>> have to write a single line of PHP, HTML or SQL. The generated
>>
>>> transactions only perform the basic functions with default behaviour,
>>
>>> but you can customise them to your heart's content.
>>
>>>
>>
>>> All scripts are controlled through the Role Based Access Control (RBAC)
>>
>>> system, so you can easily control which user has access to which scripts.
>>
>>>
>>
>>
>>
>> Yes, if you want one of the biggest pieces of junk on the internet,
>>
>> Radicore is a good place to start.
>>
>>
>>
>
> Then how would you approach the problem?
>
> I'm just thinking back to the days of Paradox, where you hit a button from a query and Paradox generated a generic form, saved it, and you could then edit it at will.
>

I have my own set of scripts I've developed and modified over the years. 
  It works fine for me.

However, I think CakePHP is a good solution.

Of course, if you're just looking for an easy way to add a few rows to a 
database as an admin, PHPMyAdmin is a good way to go.  But it's not for 
casual users - it gives complete control over the database(s).

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

PHP form generator Charles <cchamb2@gmail.com> - 2013-05-27 14:12 -0700
  Re: PHP form generator "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-05-27 23:45 +0200
    Re: PHP form generator Charles <cchamb2@gmail.com> - 2013-05-27 15:34 -0700
      Re: PHP form generator Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-05-28 02:14 +0200
        Re: PHP form generator Charles <cchamb2@gmail.com> - 2013-05-28 08:17 -0700
      Re: PHP form generator "Peter H. Coffin" <hellsop@ninehells.com> - 2013-05-27 20:01 -0500
      Re: PHP form generator The Natural Philosopher <tnp@invalid.invalid> - 2013-05-28 05:46 +0100
  Re: PHP form generator Michael Vilain <vilain@NOspamcop.net> - 2013-05-27 14:48 -0700
  Re: PHP form generator Twayne <nobody@spamcop.net> - 2013-05-27 19:35 -0400
  Re: PHP form generator "Tony Marston" <TonyMarston@hotmail.com> - 2013-05-28 07:25 +0100
    Re: PHP form generator Jerry Stuckle <jstucklex@attglobal.net> - 2013-05-28 12:24 -0400
      Re: PHP form generator "Tony Marston" <TonyMarston@hotmail.com> - 2013-05-29 07:08 +0100
        Re: PHP form generator Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-05-29 12:26 +0200
        Re: PHP form generator Jerry Stuckle <jstucklex@attglobal.net> - 2013-05-29 07:24 -0400
      Re: PHP form generator Charles <cchamb2@gmail.com> - 2013-05-29 08:59 -0700
        Re: PHP form generator Jerry Stuckle <jstucklex@attglobal.net> - 2013-05-29 12:29 -0400
  Re: PHP form generator Jonathan Stein <jstein@image.dk> - 2013-05-29 13:00 +0200
  Re: PHP form generator Mladen Gogala <gogala.mladen@gmail.com> - 2013-06-24 05:28 +0000

csiph-web