 | News Feed |
 | Jobs Feed |
Sections
|
Chris Roane's Blog: 10 Things I Wish I Knew as a Web Programmer 10 Years Ago
by Chris Cornutt March 16, 2010 @ 14:25:20
Chris Roane has put together a list of things that he wishes someone would have told him back when he was starting out as a web programmer ten years ago, helpful hints that could have made things easier in the long run.
When I reflect on my past experience as a web programmer, there are many things that I know now that I didn't know ten years ago. The learning process was valuable, but I could have been at a different spot today as a PHP web programmer if I knew these things earlier. Sometimes you don't have the info when it would benefit you the most, but my hope is that this list will give you something to reflect on.
Most of the tips a more of the general tech nature with a few non-tech ones thrown in. Here's a few examples:
- Over Estimate Your Time
- Don't Assume that Where You are Working is the Best Opportunity
- Learn How to Use and Work with SVN
- Master Organization
- Learn Outside of Work
Read the full post for more great tips.
voice your opinion now!
advice programmer knowledge
Gonzalo Ayuso's Blog: PHP and couchDB
by Chris Cornutt March 16, 2010 @ 13:55:22
In a recent post to his blog Gonzalo Ayuso has a brief introduction to CouchDB and how you can use it in your application. Most of the post is made up of code samples showing some of the basic relational database operations translated over to a CouchDB database (found in this class).
I come from relational database world. NoSQL is new for me. Maybe I'm wrong but I want to use INSERT, UPDATE, DELETE and SELECT statements in CouchDB in the same way I use them in Relational database. The class is focused in the HTTP Document API. There is a great tutorial here that explains the API. Now I'll show the interface I've made to perform the statements with CouchDB.
There's examples of both simple and more complex selects, updates and deletes as well as the handling of exceptions via two types he's included support for - NoDataFound and DupValOnIndex.
voice your opinion now!
couchdb interface nosql rdbms
Till Klampaeckel' Blog: PHP parse errors with cgi and nginx
by Chris Cornutt March 16, 2010 @ 11:18:59
Till Klampaeckel has a very quick post about a problem he was coming across when using PHP as a CGI on the nginx web server. It was throwing errors ("client prematurely closed connection...") with no evident cause.
The issue was a PHP parse error which I overlooked when I added a new file. The weird thing is, I had nothing in the logs (E_ALL, display_errors is off, but all logs are enabled and I tailed them using multitail) and nginx only displayed a blank page. The errors above were in nginx's own log file.
The multitail command lets you run the "tail" command on more than one file at a time and view them split out in your console for easier reference. The full error message reads:
client closed prematurely connection, so upstream connection is closed too while sending request to upstream, client: a.a.a.a, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/tmp/.fastcgi.till/socket:", host: "localhost"
voice your opinion now!
nginx parse error multitail debug
Zend Developer Zone: Zend Framework MVC Request Lifecycle
by Chris Cornutt March 16, 2010 @ 10:57:42
On the Zend Developer Zone there's a recent post from Kevin Schroder (a Tech Evangelist at Zend) about the MVC request lifecycle for the Zend Framework every time an application runs.
When I have done training for Zend Framework, one of the things that mystifies students to some extent is the whole plugin architecture and where things can go. There has been several articles written about it, but they tend to use code to describe it. [...] I had found that when I drew out the request lifecycle that it helped the students understand it better.
His diagram (seen here) lays out the full execution relationship for the request structure including where plugins, action helpers and controllers fit in the mix. He also describes it in more detail, mentioning some of the variations that could happen along the way.
voice your opinion now!
mvc request lifecycle zendframework
Alan Sorkin's Blog: The Difference Between A Developer, A Programmer And A Computer Scientist
by Chris Cornutt March 16, 2010 @ 08:08:45
On his blog today Alan Sorkin has a humorous take on what the difference is between computer scientists, programmers and developers according to where they place their focus.
I have often used those three terms almost interchangeably, yes, even computer scientist. After all, most of us have a degree in computer science, so what does that make us? However, recently I find that those three things have come to take on more and more distinct personalities in my mind. [...] It is difficult to define what each one should be, (it is more of a gut feel rather than a strict delineation) they are very similar (and rightly so), but I am going to attempt to do it anyway.
He splits them up according to a few criteria - how their code looks, how it works and what level their math skills are at. The photos he uses to further define each are pretty dead on too.
voice your opinion now!
opinion difference computer scientist programmer developer
Juozas Kaziukenas' Blog: Zend Framework is NOT bloated
by Chris Cornutt March 15, 2010 @ 13:03:51
In response to one of the constant claims about the Zend Framwork - that it's large and bloated - Juozas Kaziukenas tries to dispel three things that people use to reinforce this belief.
Zend Framework is always considered as being the slow/bloated one. I don't think this is right, so I decided to prove that it's not correct and in fact ZF is as good as other frameworks are. This post doesn't cover any benchmarks though; this is more like a architecture review and some misconceptions disproof.
He counters the following with a bit of logic that makes the points a bit more shaky than they first seem:
- Large installation footprint
- Unnecessary features
- Use more system resources
If you're still not convinced, he offers two other tips to help streamline your Zend Framework install - profiling to find the bottlenecks and using Zend_Application sparingly as it can be a bit of a resource problem.
voice your opinion now!
zendframework bloat opinion software
|
Community Events
Don't see your event here? Let us know!
|