[PHP-DB] php generators

2009-04-28 Thread conor mahaney

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_HM_Rediscover_Storage2_042009

Re: [PHP-DB] php generators

2009-04-28 Thread Jonathan Langevin
Most code generators are bloated, poorly designed, and just plain trouble.The
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 data
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 crmahan...@live.com 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_HM_Rediscover_Storage2_042009


Re: [PHP-DB] php generators

2009-04-28 Thread 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_HM_Rediscover_Storage2_042009
  


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



Re: [PHP-DB] How to access MySQL through PHP in windows 2K.

2009-04-28 Thread YVES SUCAET
Should be simple enough... Do you have the mysqli driver enabled in your
php.ini file?

;extension=php_mysqli.dll

should become

extension=php_mysqli.dll

hth,

Yves

-- Original Message --
Received: Tue, 28 Apr 2009 06:55:37 PM CDT
From: Katiyar \(GMail\) katiya...@gmail.com
To: php-db@lists.php.netCc: php-wind...@lists.php.net
Subject: [PHP-DB] How to access MySQL through PHP in windows 2K. 

Praveen's MailHi List,


I am new to PHP and as well as with MySQL, 

  a.. I have installed PHP 5.28, on win 2K  (with IIS) and it is installed
properly I suppose, as when I call phpinfo (), through a script, it shows the
PHP Information. 
  b.. then I installed MySQL 5.1.30, and through MySQL command prompt I am 
able to do things (creating tables, making queries etc). 
  c.. Now I want to use MySQL with PHP, but seems that MySQLI is not installed
properly. as when I write a following script in a php page I get the error,
that 'MySQLi' is not installed properly,.
?php 
  $si = function_exists ( 'mysqli_connect' ) ;
  if ( $si )
  {
  echo ' MySQLi appears to be installed correctly ' ;
  }
  else
  {
  echo 'MySQLi B does not /B appears to be installed. ' ;
  }
  ?

I understand that it is a configuration error somewhere, as I am new here in
this world I am unable to figure out what ?

I am attaching the php.ini for the reference.

Praveen K. 


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- =-=-=-=-=-=-= 
Praveen Katiyar 

Site : http://praveenkatiyar.co.cc 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- =-=-=-=-=-=-= 



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




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