News for hackers. Stuff that matters.
Re:PHP On Pie takes a fresh new approach. by EGreg on Sunday September 12, 2010 @09:32PM (#1685144)
Thanks for the feedback, but are you looking at the right framework? I am hard pressed to imagine how you could encounter either 1) or 2) in it, let alone both in a single file. As for your question, PIE is designed to let you write any adapters you want. For example it currently supports only MySQL, but you are free to add support for e.g. Postgres, SQLite or even NoSQL databases.

I'm just a bit surprised by your comments because they describe the exact opposite of how most of PIE is designed, and the philosophy behind it. Although I take your point with mixed variable naming. There is lots of room for standardizing the internal codebase more than it is.

Re:PHP On Pie takes a fresh new approach. by jameskilton on Sunday September 12, 2010 @10:39PM (#1685294)
framework/classes/pie.php 1082 lines long

Methods existing in the file: microtime, exceptionHandler, includeFile, autoload, var_dump, do_dump.

It's the first file I opened, and I see exactly what this guy saw immediately as well.

Re:PHP On Pie takes a fresh new approach. by EGreg on Monday September 13, 2010 @03:14AM (#1685835)
Right ... but I thought he said there were methods with > 600 lines of code, and files with multiple classes/interfaces all over the place. That's why I took issue with it. But yeah, the Pie class has all the core functions.