[ciapug] On or Off ...
Tony Bibbs
tony at tonybibbs.com
Wed Aug 24 08:55:50 CDT 2005
You want this:
http://creole.phpdb.org/wiki/index.php?node=2
I believe both Creole and Propel have active development for PHP4. My
understanding is that the PHP4 versions aren't quite as stable and
aren't supported by the main developers of the project.
--Tony
Carl Olsen wrote:
> I don't understand the download page at:
>
> http://creole.phpdb.org/wiki/index.php?node=15
>
> It says:
>
> creole-php4-1.0.1beta.tar.gz
> creole-php4-1.0.1beta.zip
>
> The home page of the web site:
>
> http://creole.phpdb.org/wiki/index.php?node=1
>
> says it is for PHP5, but the download appears to be for PHP4. It also says
> "beta". What's up with that?
>
> Carl
> http://www.carl-olsen.com/
>
> -----Original Message-----
> From: ciapug-bounces at cialug.org [mailto:ciapug-bounces at cialug.org] On Behalf
> Of Dan Schlichting
> Sent: Tuesday, August 23, 2005 9:11 AM
> To: ciapug at cialug.org
> Subject: Re: [ciapug] On or Off ...
>
> That link is broke. Should it be http://propel.phpdb.org?
>
> Thanks
>
> Dan
> On Tue, 23 Aug 2005 08:54:35 -0500, Tony Bibbs wrote
>
>>Carl Olsen wrote:
>>
>>>I got really deep into object oriented PHP this weekend and decided to
>
> start
>
>>>with something a little more simple, so I'm creating a class for each
>
> table
>
>>>with select, insert, update, and delete functions that all use prepared
>>>statements. I agree that the security blanket is great.
>>
>>When you get done with all of this and have time to breathe, you
>>should really consider looking at Propel, http://prople.phpdb.org.
>> That tool creates a set of object from your database (generally one
>>class per table). These objects are pure PHP objects that the
>>Propel runtime can then use to do all your insert/update/delete
>>logic magically. Thus you could have something like:
>>
>>// Retrieve existing customer
>>$customer = new Customer();
>>$customer->setId(5);
>>$customer->get();
>>
>>// Create an order
>>$order = new Order();
>>$order->setProductCode(4);
>>$order->setUnitPrice(20.00);
>>$order->setQuantity(3);
>>
>>// Assign order to customer
>>$customer->addOrder($order);
>>
>>// Save it all
>>$customer->save();
>>
>>This gets you out of the business of writing a lot of SQL and
>>underneath it uses prepared statements.
>>
>>--Tony
>>_______________________________________________
>>ciapug mailing list
>>ciapug at cialug.org
>>http://cialug.org/mailman/listinfo/ciapug
>
>
>
> -----------------------------------------------------
> Dan J Schlichting
> http://www.cpugeek.org
> dan at cpugeek.org
>
> _______________________________________________
> ciapug mailing list
> ciapug at cialug.org
> http://cialug.org/mailman/listinfo/ciapug
>
>
> _______________________________________________
> ciapug mailing list
> ciapug at cialug.org
> http://cialug.org/mailman/listinfo/ciapug
More information about the ciapug
mailing list