Welcome Guest, Not a member yet? Register   Sign In
Screencast tutorial series updates: Building a complete website using CodeIgniter 2 and ORM.
#5

[eluser]JonoB[/eluser]
Oh yeah, the one other thing that prevented me using phpar in CI - benchmarking. Using CI AR, we get nice benchmarks on each query run through the system, which is absolutely crucial during development (FYI, I use https://github.com/lonnieezell/codeigniter-forensics).

I realise that phpar uses PDO...so getting the query profile is not exactly straight forward. I managed to get pear logging up and running (http://www.phpactiverecord.org/boards/1/...sql-string), which logs the actual query, but thats pre-substitution, and therefore doesnt give profile performance. See https://github.com/greut/php-activerecor...-profiling, for another example workaround. Lastly, I guess we could use mysql slow query log...but that sucks compared to proper profiling. Something for the next screencast perhaps?


Messages In This Thread
Screencast tutorial series updates: Building a complete website using CodeIgniter 2 and ORM. - by El Forum - 08-04-2011, 09:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB