php generators

php generators

am 28.04.2009 18:40:44 von conor mahaney

--_8e05f62f-eb85-4edb-ade5-f656c5525490_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Hello Everyone=2C

I am a beginner with PHP and Mysql and have dived into a project that may b=
e to much for me right now. I am still learning php and do not have enough=
knowledge to accomplish what I am trying to.

I have been looking into PHP code generators and was wondering if anyone ha=
s any thoughts or suggestions=2C also if anyone knows of any good resources=
for learning

=20

Thanks=20

=20

____________________________________________________________ _____
Rediscover Hotmail=AE: Get e-mail storage that grows with you.=20
http://windowslive.com/RediscoverHotmail?ocid=3DTXT_TAGLM_WL _HM_Rediscover_=
Storage2_042009=

--_8e05f62f-eb85-4edb-ade5-f656c5525490_--

Re: php generators

am 28.04.2009 18:52:14 von Jonathan Langevin

--00163642729ff1cf690468a048f8
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Most code generators are bloated, poorly designed, and just plain trouble.T=
he
only code generator that I currently like, is the one for CakePHP, but
you'll have to do some heavy reading to get up-to-speed on how to develop
with Cake (especially considering it uses Object Oriented development
principles, and the Model-View-Controller code separation pattern)

If you put any time into CakePHP at all, I guarantee you'll like it.
To generate code with Cake, you build your database tables for whatever dat=
a
you're needing to store (and it's best to structure your tables using cake
conventions), then from command line, you use "cake bake", which will allow
you to build your controller, model, and view for each table.

Bake will allow you to automatically build create/read/update/delete
functionality for every table, it will automatically detect which tables
have related data, and will set up your code so that you can easily
reference data between each table.

It's a definite must-have, but I'm not sure how it would be for a PHP
newbie. I believe there are several CakePHP books out there for the newbie
that should get you up and running fast.

Check it out at http://www.cakephp.org for more info

--
Jonathan Langevin
PHP Site Solutions
http://www.phpsitesolutions.com


On Tue, Apr 28, 2009 at 12:40 PM, conor mahaney wrote=
:

>
> Hello Everyone,
>
> I am a beginner with PHP and Mysql and have dived into a project that may
> be to much for me right now. I am still learning php and do not have eno=
ugh
> knowledge to accomplish what I am trying to.
>
> I have been looking into PHP code generators and was wondering if anyone
> has any thoughts or suggestions, also if anyone knows of any good resourc=
es
> for learning
>
>
>
> Thanks
>
>
>
> ____________________________________________________________ _____
> Rediscover Hotmail=AE: Get e-mail storage that grows with you.
>
> http://windowslive.com/RediscoverHotmail?ocid=3DTXT_TAGLM_WL _HM_Rediscove=
r_Storage2_042009

--00163642729ff1cf690468a048f8--

Re: php generators

am 28.04.2009 21:38:38 von Harvey

Dreamweaver has some php generation. That's how I started to learn. I am
not an expert by any means, and I am sure that experts will not like the
code, but for a beginner, I found it totally fine


On 4/28/2009 12:40 PM, conor mahaney wrote:
> Hello Everyone,
>
> I am a beginner with PHP and Mysql and have dived into a project that may be to much for me right now. I am still learning php and do not have enough knowledge to accomplish what I am trying to.
>
> I have been looking into PHP code generators and was wondering if anyone has any thoughts or suggestions, also if anyone knows of any good resources for learning
>
>
>
> Thanks
>
>
>
> ____________________________________________________________ _____
> Rediscover HotmailĀ®: Get e-mail storage that grows with you.
> http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_H M_Rediscover_Storage2_042009
>

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: php generators

am 29.04.2009 22:26:49 von Manuel Lemos

Hello,

on 04/28/2009 01:40 PM conor mahaney said the following:
> Hello Everyone,
>
> I am a beginner with PHP and Mysql and have dived into a project that
> may be to much for me right now. I am still learning php and do not
> have enough knowledge to accomplish what I am trying to.
>
> I have been looking into PHP code generators and was wondering if
> anyone has any thoughts or suggestions, also if anyone knows of any
> good resources for learning

You may want to take a look at Metastorage. It can generate ORM classes,
which let you basically treat information in your database tables as
objects.

It can generate all the code for all the queries you need to select,
insert, update and delete table records as if they were objects.

Metastorage can also generate database schema and a class to install or
upgrade it that works with many types of database.

http://www.metastorage.net/

If you are not familiar of how Object Relational Mapping generators like
this can make your development much easier, you may also want to read
this article:

http://www.phpclasses.org/blog/post/82-PHP-ObjectRelational- Mapping-ORM-or-ROM.html

--

Regards,
Manuel Lemos

Find and post PHP jobs
http://www.phpclasses.org/jobs/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: php generators

am 29.04.2009 22:39:50 von Jonathan Langevin

--001636164757c3d9ec0468b7940d
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hey Manuel, this is off topic, but did you guys recently upgrade
phpclasses.org? Last I visited (a week or two ago) it seemed much snappier
(more reactive) than in the past.Aside from the (previous) speed issue, I've
always liked phpclasses, except for some of the really old code samples that
can be found there. Would be nice to start a movement to have all of the old
classes re-implemented for current-day PHP 5, as some of the classes on
there are from several years ago, and are geared for PHP 4.

Maybe an "adopt-this-class" feature on the website for classes that are old
and no longer maintained? ;-)

--
Jonathan Langevin
PHP Site Solutions
http://www.phpsitesolutions.com


On Wed, Apr 29, 2009 at 4:26 PM, Manuel Lemos wrote:

> Hello,
>
> on 04/28/2009 01:40 PM conor mahaney said the following:
> > Hello Everyone,
> >
> > I am a beginner with PHP and Mysql and have dived into a project that
> > may be to much for me right now. I am still learning php and do not
> > have enough knowledge to accomplish what I am trying to.
> >
> > I have been looking into PHP code generators and was wondering if
> > anyone has any thoughts or suggestions, also if anyone knows of any
> > good resources for learning
>
> You may want to take a look at Metastorage. It can generate ORM classes,
> which let you basically treat information in your database tables as
> objects.
>
> It can generate all the code for all the queries you need to select,
> insert, update and delete table records as if they were objects.
>
> Metastorage can also generate database schema and a class to install or
> upgrade it that works with many types of database.
>
> http://www.metastorage.net/
>
> If you are not familiar of how Object Relational Mapping generators like
> this can make your development much easier, you may also want to read
> this article:
>
>
> http://www.phpclasses.org/blog/post/82-PHP-ObjectRelational- Mapping-ORM-or-ROM.html
>
> --
>
> Regards,
> Manuel Lemos
>
> Find and post PHP jobs
> http://www.phpclasses.org/jobs/
>
> PHP Classes - Free ready to use OOP components written in PHP
> http://www.phpclasses.org/
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--001636164757c3d9ec0468b7940d--

Re: Re: php generators

am 04.05.2009 21:32:56 von Manuel Lemos

Hello,

on 04/29/2009 05:39 PM Jonathan Langevin said the following:
> Hey Manuel, this is off topic, but did you guys recently upgrade
> phpclasses.org? Last I visited (a week or two ago) it seemed much snappier

Not really, nothing changed. Were you accessing a mirror or the main
site? Maybe it is some ad network or analytics snippet that is slowing
down the problem. Are you still experiencing any problem?


> (more reactive) than in the past.Aside from the (previous) speed issue, I've
> always liked phpclasses, except for some of the really old code samples that
> can be found there. Would be nice to start a movement to have all of the old
> classes re-implemented for current-day PHP 5, as some of the classes on
> there are from several years ago, and are geared for PHP 4.
>
> Maybe an "adopt-this-class" feature on the website for classes that are old
> and no longer maintained? ;-)

That is not something in the control of the site. Each class is
independently developer by the author that submitted it. If you want to
see improvements in some class, maybe you should contact the respective
author using the support forums or directly.


--

Regards,
Manuel Lemos

Find and post PHP jobs
http://www.phpclasses.org/jobs/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php