PHPQUE IS NOT YET RELEASED
This means that phpque is still under developement.
I will release initial version 0.1 on github when everything is somehow coded.
If you found this site, feel free to look around on the documentation - but be aware that nothing is final.
I'd really like to hear your thougths, if you care to share -> email me at johninen@gmail.com or contact me at twitter @ThaKladd
phpque - What is it?
You probably know what PHP stands for? Well, it's a recursive acronym for "PHP: Hypertext Preprocessor". For me this tells two things, mainly that it is an "Hypertext Preprocessor" - meaning that it's purpose is to process hypertext before(pre) its created - or in short, creating HTML. Secondly, it's a bit funny(the use of recursion), and that gives me the idea that you can play with PHP. phpque does that, it makes PHP coding playful. It makes PHP coding easy. It makes PHP understandable for front-end developers that are familiar with jQuery. It's a bridge between the database and the front-end.
Basically phpque is a framwork that can be used inside an other framwork, your existing code or by its own. It provides four different services to the programmer, and they work either by themselves or in combination with eachother. In the contrary to other frameworks that use a very seperated MVC structure, phpque is working to make an integrated one, meaning - mixing them in a good way without limitating the coder.
The syntax is a lot like jQuery, by chaining the object methods. The idea of p() is basically that you can create HTML the same way you select them in jQuery. With q() you can query your database, by chaining the SQL and returning the the result as you prefer. Templating is made easy with t() combining the q() result with p() templates, or just plain HTML with arrays. Lastly phpque introduces an allaround object that works like a list and an standalone object with any datatype source. To dive deeper into details of each of the different aspects of phpque, please look at the documentation at the left menu.
phpque aims to make it fun and easy to create and play around with PHP. It do come with a cost of speed(as do jQuery), based on the fact that a string is much faster to echo out directly than made into an object, parsed, and printed. Still, phpque tries to optimize its performance and gives greate value for how you code. Have in mind that PHP is probably not the performance bottleneck on your site. phpque is innovative and uses some great techniques in the PHP language resulting in a really lightweight but powerful code.