RE: [PHP] peer review (was php framework vs just php?)

2008-04-27 Thread Jay Blanchard
[snip] Actually it's quite easy. I've got a similar object to the one you guys described (can't really share it - I'm on salary so technically it belongs to my boss.) Anyhow when I do my table layout, if there's a look-up, I name the field lookuptable_id in the DB. In my object, it looks for any

RE: [PHP] peer review (was php framework vs just php?)

2008-04-26 Thread Jason Norwood-Young
On Fri, 2008-04-25 at 17:32 -0500, Jay Blanchard wrote: [snip] I can't say I've ever had a form that exactly matched a database table for a user perspective. From an admin perspective that changes, but that was when I downloaded PHPMyAdmin for the client. It was amazing, every form matched

Re: [PHP] peer review (was php framework vs just php?)

2008-04-26 Thread Nathan Nobbe
On Sat, Apr 26, 2008 at 1:44 AM, Robert Cummings [EMAIL PROTECTED] wrote: Wow, that's umm hideous. lol, u da man rob;) but imagine if you had to deal w/ that every day for almost a year:O thankfully ive found a new job; whew. -nathan

Re: [PHP] peer review (was php framework vs just php?)

2008-04-26 Thread Nathan Nobbe
On Sat, Apr 26, 2008 at 2:59 AM, Jason Norwood-Young [EMAIL PROTECTED] wrote: On Fri, 2008-04-25 at 17:32 -0500, Jay Blanchard wrote: [snip] I can't say I've ever had a form that exactly matched a database table for a user perspective. From an admin perspective that changes, but that

Re: [PHP] peer review (was php framework vs just php?)

2008-04-26 Thread Bastien Koert
On 4/26/08, Robert Cummings [EMAIL PROTECTED] wrote: Wow, that's umm hideous. Cheers, Rob. yep, but i did say it was old -- Bastien Cat, the other other white meat

[PHP] peer review (was php framework vs just php?)

2008-04-25 Thread Jay Blanchard
I did a quick and dirty of just one of those functions. This function takes a table and creates a form based on the table. It needs quite a bit of refining, but I am willing to share and let you guys and gals throw suggestions; function formCreate($database, $table, $action, $excludeCols,

Re: [PHP] peer review (was php framework vs just php?)

2008-04-25 Thread Robert Cummings
On Fri, 2008-04-25 at 11:17 -0500, Jay Blanchard wrote: I did a quick and dirty of just one of those functions. This function takes a table and creates a form based on the table. It needs quite a bit of refining, but I am willing to share and let you guys and gals throw suggestions;

Re: [PHP] peer review (was php framework vs just php?)

2008-04-25 Thread paragasu
With this I need one function call to create the form on the page. I can exclude columns and set an action to be taken once the form is filled out. this work for general form. but when i need to make more complicated form - with AJAX to look up for username (available or not). Then the class

Re: [PHP] peer review (was php framework vs just php?)

2008-04-25 Thread Nathan Nobbe
On Fri, Apr 25, 2008 at 10:59 AM, Robert Cummings [EMAIL PROTECTED] wrote: On Fri, 2008-04-25 at 11:17 -0500, Jay Blanchard wrote: I did a quick and dirty of just one of those functions. This function takes a table and creates a form based on the table. It needs quite a bit of refining,

RE: [PHP] peer review (was php framework vs just php?)

2008-04-25 Thread Jay Blanchard
[snip] I can't say I've ever had a form that exactly matched a database table for a user perspective. From an admin perspective that changes, but that was when I downloaded PHPMyAdmin for the client. It was amazing, every form matched the database table and you could view all the rows too, and

RE: [PHP] peer review (was php framework vs just php?)

2008-04-25 Thread Jay Blanchard
[snip] to add to this; i dealt w/ a clunky codebase at my last job.  working w/ single table form generation was a snap, why you could even tell it which columns you wanted to display!  it would also try to build the appropriate input type in html and handled creation of select elements and

Re: [PHP] peer review (was php framework vs just php?)

2008-04-25 Thread Ray Hauge
Jay Blanchard wrote: I did a quick and dirty of just one of those functions. This function takes a table and creates a form based on the table. It needs quite a bit of refining, but I am willing to share and let you guys and gals throw suggestions; I use a very similar style of approach, but

Re: [PHP] peer review (was php framework vs just php?)

2008-04-25 Thread Bastien Koert
damn reply-all On 4/25/08, Ray Hauge [EMAIL PROTECTED] wrote: Jay Blanchard wrote: I did a quick and dirty of just one of those functions. This function takes a table and creates a form based on the table. It needs quite a bit of refining, but I am willing to share and let you guys and gals

Re: [PHP] peer review (was php framework vs just php?)

2008-04-25 Thread Robert Cummings
Wow, that's umm hideous. Cheers, Rob. On Fri, 2008-04-25 at 22:43 -0400, Bastien Koert wrote: damn reply-all On 4/25/08, Ray Hauge [EMAIL PROTECTED] wrote: Jay Blanchard wrote: I did a quick and dirty of just one of those functions. This function takes a table and creates a form