PJ
Member since Dec 11, 2008
- Profile: /members/263-pj.htm
- Comments: 15
Recent Blog Comments By PJ
-
Project HUGE: Huge In A Hurry - Get Ready
Posted on Mar 16, 2009 at 6:45 PM
I'm eager to see how it works out for you! Are you going to alter your nutrition at all? While keeping my workouts the same, I find that my intake dramatically alters my gains. Maybe you're already on a calorie excess diet? Can't grow without fuel after all. Just curious what your goals are, co... read more »
-
Huge In A Hurry By Chad Waterbury
Posted on Mar 15, 2009 at 11:57 PM
I'm always a little weary of "new programs" because I'm pretty sure the way Arnold did it worked. I used to work out at Gold's Gym in Venice (loved it) and the body builders / trainers there would always tell us that whatever we did and however we were doing it was wrong in an effort to get us to p... read more »
-
Creating An Abstract Base Class In ColdFusion
Posted on Mar 11, 2009 at 2:47 PM
Since the init function initializes an object, is it wrong to require one to call a configure method before the object will actually work properly? I'm asking because instead of using something like ColdSpring, I simply instantiate all my components first, then call configure methods to set depende... read more »
-
Reconciling Different Types Of APIs And What Data They Return
Posted on Mar 4, 2009 at 11:07 PM
I like the terminology of private API (acting as sort of a service layer) and public API. At work we also have a public API that sits in a different layer. In calling our own pubic API, we usually have one AJAX call to the private API, which would in turn post to the public API to store the data. ... read more »
-
Reconciling Different Types Of APIs And What Data They Return
Posted on Mar 4, 2009 at 5:54 PM
Just to clarify, to check if the fields are empty or of the proper length, I'd use JS to pass that data to a page that validates it. This page, since it's used specificly for a particular form and not part of a Data API can return the errors however I find most convenient.... read more »
-
Reconciling Different Types Of APIs And What Data They Return
Posted on Mar 4, 2009 at 5:47 PM
You make an interesting point! Even if I did check availability first, it's possible that somebody will register the name before I store can it. If I wanted to validate everything server side, I would create a page that just validates form fields (check if their empty etc) and another to call an A... read more »
-
Reconciling Different Types Of APIs And What Data They Return
Posted on Mar 4, 2009 at 4:27 PM
I agree that API's should return structured errors. I also agree that you are trying to solve two problems with one solution. I think you're on the right track, but it looks like your HTML API would do exactly the same thing as your Public API but return errors differently. I'm not sure I would ... read more »
-
Project HUGE: Success Strategy For Working Out When You're Tired
Posted on Feb 6, 2009 at 1:50 AM
I'm sure you've seen "Pumping Iron", but I wanted to recommend it to anybody else who's interested in fitness, or just in being entertained.... read more »
-
My 1,000th ColdFusion Post - What It Means To Me (And Free Prizes)
Posted on Jan 24, 2009 at 1:46 AM
I just wanted to take the time on this momentous occasion to thank you. Like many people here, I've been around coldfusion since it still had a space in it's name. I have been a silent but consistent reader of your blog for many years. While I do post the occasional comment, I must admit I've bee... read more »
-
Project HUGE: The Thinking Emotional Self vs. The Schedule
Posted on Jan 21, 2009 at 8:36 AM
Have you tried just making a shake and putting it on your desk after lunch or between meals? Thirst alone should drive you to finish it. Sure it might not be all 40g right at 3pm when you're sipping on it over time but isn't it about spreading out your nutritional intake anyway? I eat 20g of pro... read more »
-
Experimenting With Flat-File ColdFusion CFML Caching
Posted on Dec 6, 2008 at 4:55 PM
I see caching as being required mainly to reduce load on servers, more specifically, database servers. Depending on the circumstance, coldfusion shouldn't be responsible for this at all, especially if you plan to scale out your caching solution with more boxes. Why would anybody buy a CF license f... read more »
-
Heading To An Object Oriented Programming Seminar
Posted on Oct 20, 2008 at 1:51 PM
Good classes are generally hard to find. While the CS classes I took in undergrad were great (wish I had taken them more seriously) I took a few extension classes at my alma mater a couple years ago when I was picking up C# and the instruction was pretty bad. That said, even the worst class will f... read more »
-
OOP Getters() And Setters() - A New Programmer's Frustration
Posted on Oct 17, 2008 at 7:52 AM
I've been down this baffling road of Coldfusion OO years ago. It's just so much easier when a language or framework just forces you to do it a certain way isn't it? Now I'm working on a project where performance takes a front seat and certain CF OO mimic-niques simply aren't viable. But for thos... read more »