Posts about Web Development, page 9 of 14.

Fuzzy Date

There is a big difference between human-readable dates and computer-parseable date information. People are much better interpreters of variable inputs while most programs pass around a standardized machine format. Since I'm a PHP guy the two formats I'm used to are MySQL DATETIME and the UNIX…

  • Category Web Development
  • Posted December 1, 2012
  • read more

Treat Cache as a Feature, not a Requirement

There is a lot of buzz around performance optimization on web pages these days. Visitors want sub-second responses when they click on a link. They don't want to wait for a page to load or for redirects to resolve, nor do they want to wait for javascript libraries before they can interact with the…

  • Category Web Development
  • Posted November 16, 2012
  • read more

Spaghetti Code vs Lasagna Code

In an effort to streamline and homogenize code a number of design patterns and best practices have sprung up in the programming field. One of the ideas that has moved across programming disciplines is the vilification of long strands of meandering logic, or called spaghetti code. For many in the…

  • Category Web Development
  • Posted November 9, 2012
  • read more

Some Thoughts on Best Practices

Best practices can be great for a language like PHP. PHP is almost too easy to work in. Its low barrier of entry and high flexibility allow for many possible solutions to any given issue. Being a programmer, especially a PHP developer, you find that coming up with a fix or writing a new script is…

  • Category Web Development
  • Posted November 6, 2012
  • read more

Planning for Failure

When developing applications it is easy for programmers to think in terms of successful occurrences. Code is built to expect certain results because the programmer is thinking of how the application should work. Whether the specifications are being outlined or the code itself is being tested before…

  • Category Web Development
  • Posted October 28, 2012
  • read more

Working with Twitter's 1.1 API via PHP, OAuth

Twitter has been slowly changing up their API over the last few months. When I first set up a cron to pull my Twitter timeline over a year ago I was able to pull a public RSS feed without too much difficulty. If they were over capacity, either just on the API side or with the entire application, my…

  • Category Web Development
  • Posted October 22, 2012
  • read more

How I Learned to Stop Worrying and Love the String Object

PHP was the first programming language that I understood fluently. Sure, I had dabbled in BASIC, Java, ActionScript (3.0 is pretty awesome), and a few others, but PHP was the first language that I felt truly comfortable with. It wasn't until I moved onto JavaScript that I started to understand a…

  • Category Web Development
  • Posted September 24, 2012
  • read more

URL Shortening Services Suck (and could be Better)

Thanks to the prevalence of microblogging, and before that the infamous 80 column screen, friendly (or keyword-stuffed) URLs have run into character limit issues. Long URLs are great for both SEO and usability. They give both users and search bots an insight on the page's content before actually…

  • Category Web Development
  • Posted August 23, 2012
  • read more

Writing Code for Humans, not Computers

One thing that all programmers and developers fear is working in someone else's code. Whether it is adding a feature or tracking down a bug, going through a foreign chunk of code can be confusing and frustrating at best. The intent of any script is best understood when it's created and quickly…

  • Category Web Development
  • Posted July 19, 2012
  • read more

Life and Death of a Developer

After working with web programmers and developers over the last four years (and being one myself) I've noticed a disconcerting trend. The average lifespan is very short… that is, the lifespan of interest in their job. This is not true for every single worker in this industry but results from…

  • Category Web Development
  • Posted May 26, 2012
  • read more

Activity Stream

  • Read Tress of the Emerald Sea by Brandon Sanderson.
  • Read Rhythm of War (The Stormlight Archive, #4) by Brandon Sanderson.
  • Pushed some code at jacobemerick/advent-of-code-2023.
  • Pushed some code at jacobemerick/advent-of-code-2023.
  • Pushed some code at jacobemerick/advent-of-code-2023.
View more activities…