Strict Standards: Non-static method Configure::getInstance() should not be called statically in /home/bglaz2/bglaz.com/cake/bootstrap.php on line 38
BGlaz.com - The Personal Web Dev Blog and Portofolio Site of Brian Glaz
<?= BGlaz.com~ ?>
Latest Comments Tags
April 16th, 2012
February 22nd, 2012
February 13th, 2012
Isla
Posted: August 22nd, 2016
Maya
Posted: August 19th, 2016
Lela
Posted: August 14th, 2016
Vivien
Posted: August 8th, 2016
Jade
Posted: August 7th, 2016
Christy
Posted: August 3rd, 2016
Shiela
Posted: July 22nd, 2016
Charissa
Posted: July 15th, 2016
Cecile
Posted: July 13th, 2016
Felica
Posted: July 8th, 2016
Jeannie
Posted: June 22nd, 2016
Arlette
Posted: June 20th, 2016
Links
Stack Overflow
Brian Glaz

5,271

7
21
CakePHP: How to Sum a Virtual Field
July 18th, 2012

While working on a cakephp project earlier today, I came across a situation where I wanted to query my database for a sum of a virtual field that I had defined in my model. I was unsure how to accomplish this, so I did a quick google search for "cakephp sum a virtual field". Surprisingly, not only did I not find an answer to my question, but I didn't even see it being asked anywhere. So, I decided to write up my thinking process and final solution here in this blog post....

(Continue Reading)
First Post: Introduction
February 13th, 2012

Hello and welcome to my personal web development blog and portfolio website. The layout and design of this site has recently been completed. In the future I will periodically be posting various code samples and my thoughts on various topics concerning web development. You can look forward to seeing posts about topics such as php, cakephp, javascript, jQuery.

In the mean time, feel free to check out the portfolio section for some of the web development projects I have worked on. If you would like to see some of my older interactive media projects, you can also visit my outdated portfolio website....

(Continue Reading)
Tags: intro,about