Comments (6)
This also needs to include the ability to pass an existing database object to the library rather than creating a new one. PDO and MySQLi are the only adaptors needed since PHP < 5.2 isn't even supported anymore making the old mysql
lib useless.
from huge.
Hey
yeah, this is already done in the NON-published version ;)
I rebuild the entire script and used cutting-edge dependency injection.
have a wonderful day
chris
Am 08.01.2013 18:23, schrieb David Pennington:
This also needs to include the ability to /pass/ an existing database
object to the library rather than creating a new one. PDO and MySQLi
are the only adaptors needed since PHP < 5.2 isn't even supported
anymore making the old |mysql| lib useless.—
Reply to this email directly or view it on GitHub
#1 (comment).
from huge.
When will you release?
On Tuesday, January 8, 2013, Panique wrote:
Hey
yeah, this is already done in the NON-published version ;)
I rebuild the entire script and used cutting-edge dependency injection.have a wonderful day
chrisAm 08.01.2013 18:23, schrieb David Pennington:
This also needs to include the ability to /pass/ an existing database
object to the library rather than creating a new one. PDO and MySQLi
are the only adaptors needed since PHP < 5.2 isn't even supported
anymore making the old |mysql| lib useless.—
Reply to this email directly or view it on GitHub
#1 (comment).—
Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-12008363.
from huge.
I just released a much much more reduced version of the general script, that goes a step BACKWARDS and generates the db connection within the login / registration class. No database connection sharing among objects/classes, no dependency injection here. but: for most people, who simply want to set up a simple login this is the best solution (see folder "1-minimal"). The upcoming advanced version (folder "2-advanced") will try to be as professional as possible and create an db object which is passed into all object that need db access.
from huge.
As versions 1-minimal and 2-advanced do in-class-database-object creation/request, the PDO connector will go into the 4-full-mvc-framework version. Hopefully coming in July.
from huge.
Sooooooo, i just released this with 4-full-mvc-framework version. The other versions (1-minimal and 2-advanced) will probably stay with "simple" mysqli, as nobody really requested PDO there...
from huge.
Related Issues (20)
- ini_set(): A session is active. You cannot change the session module's ini settings at this time
- Installation HOT 1
- [QUESTION] PostgreSQL HOT 4
- MySQL connection error HOT 3
- [NOTE] bootstrap.sh HOT 1
- ❤ ! HOT 1
- Changes for Postgres
- Calling model on view?
- Session validation improvement
- Q
- Configuration files
- Configuration files HOT 5
- New user registration issue
- A question about data sent to the view from the controllers HOT 1
- in the encryption.php file HOT 1
- Pagination Class
- Agregar AJAX al proyecto
- Trying to get in touch regarding a security issue HOT 4
- ErrorController redeclaration HOT 2
- PHP code analizing does not work. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from huge.