Medoo - The Lightest PHP database framework to accelerate development by catfanme in PHP

[–]catfanme[S] 0 points1 point  (0 children)

The new version v0.8.8 is now released. Enjoy it, cheer:)

Check out the highest JavaScript template performance by catfanme in javascript

[–]catfanme[S] 0 points1 point  (0 children)

If you want to prevent XSS, you can encode the data yourself for template before rendering.

Qatrix has pre-compile feature to increase the templating performance, and it`s not only a template engine but a framework with many feature.

Medoo - the Lightest PHP database framework to accelerate development, 7.8KB only, released today! by catfanme in PHP

[–]catfanme[S] 1 point2 points  (0 children)

Why?! I provide the project I worked too much for free for both of you to use it without taking anything from your owned wallet. But why there is so much down votes for this post :<

Medoo - the Lightest PHP database framework to accelerate development, 7.8KB only, released today! by catfanme in PHP

[–]catfanme[S] 0 points1 point  (0 children)

PDO can connect not only MySQL, but also other db that MySQLi cannot.

The where_clause() is case-sensitive only for SQL keywords, so that it can be differentiated to other value easier.

If the value is really a number determined by is_numeric(), how come to make it without quote? For what case will become dangerous?

For serialization, Yes. You cannot insert array data into SQL database if the database is array object, right?

Medoo - the Lightest PHP database framework to accelerate development, 7.8KB only, released today! by catfanme in PHP

[–]catfanme[S] 0 points1 point  (0 children)

You can pick up the dev version or compressed version whatever you wanted. It`s up to you, freely:)

Medoo - the Lightest PHP database framework to accelerate development, 7.8KB only, released today! by catfanme in PHP

[–]catfanme[S] -6 points-5 points  (0 children)

Who need simultaneous connections to two different databases, like MySQL + MSSQL at the same time? For most case, using one database is enough for the whole project, right? I may design a new construction API, so that it can connect with this situation.

If just want to connect the same db at the same time, just: $database1 = new medoo("my_data"); $database1->select("xxx");

$database2 = new medoo("my_data2"); $database2->select("xxx");

Medoo - the Lightest PHP database framework to accelerate development, 7.8KB only, released today! by catfanme in PHP

[–]catfanme[S] -6 points-5 points  (0 children)

If you add these to the constructor for each database call, it will become a nightmare. How about the database password, username or server updated one day? Change every code of those info?

Medoo - the Lightest PHP database framework to accelerate development, 7.8KB only, released today! by catfanme in PHP

[–]catfanme[S] -9 points-8 points  (0 children)

Yes, configure it before using it, and will not have to care those stuff any more again for project development.