|
-
Nov 3rd, 2008, 05:57 PM
#1
Thread Starter
Hyperactive Member
MySQL framework for PHP
Does anyone know of a framework for php where I can easily access a MySQL database?
-
Nov 3rd, 2008, 07:26 PM
#2
Re: MySQL framework for PHP
-
Nov 3rd, 2008, 07:34 PM
#3
Re: MySQL framework for PHP
Yes, PHP has built in MySQL Functions. You can use the regular MySQL Functions, MySQL Improved, or PDO.
My usual boring signature: Something
-
Nov 9th, 2008, 12:42 PM
#4
Frenzied Member
Re: MySQL framework for PHP
This is what you wanted right?
No offence, but your question sounds so noob, for all I know you meant an interface to your mysql databases. That would be phpMyAdmin
If for coding, go with mysqli (mysql improved) ... faster, and a pain to first start with mysql functions and then lter try get used to mysqli
-
Nov 9th, 2008, 04:18 PM
#5
Thread Starter
Hyperactive Member
Re: MySQL framework for PHP
I meant to ask if there is a framework with built in security, like hybernate for java. Im a noob to PHP but not a noob to programming. Doot.
-
Nov 9th, 2008, 05:55 PM
#6
Re: MySQL framework for PHP
 Originally Posted by xxarmoxx
I meant to ask if there is a framework with built in security, like hybernate for java. Im a noob to PHP but not a noob to programming. Doot.
You can use MySQLi which is a class for use with MySQL, this has some built in security features to help you prevent SQL injection.
With PHP, it is up to the programmer to keep things secure mostly, have a look at visualAds post on PHP security (link in your other thread). If you use some common sense, and tips found in PHP security articles online, you'll be fine.
-
Nov 16th, 2008, 08:37 PM
#7
Re: MySQL framework for PHP
Hibernate is an object–relational mapping and data persistence layer for Java and .NET. I don't like it, I don't like O–R mappers in general, and I suggest that you stay well clear of them and instead implement your own (sensible) data access layer. Having said that, O–R mappers for PHP do exist; Wikipedia has a list of them.
-
Nov 17th, 2008, 05:46 PM
#8
Re: MySQL framework for PHP
The OR layer (if any) that is used is usually quite specific given the requirements of a project and may include concepts from one or more design patterns. I am yet to find a single pattern that would meet the needs of every project, so careful consideration is required at the planning stage and a pre built mapper should only be considered if it meets these requirements and does not affect the scalability of the solution.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|