View Categories

How It’s Working - Page 14

Website Optimization Primer – Part 1 – Caching
  • June 26, 2013
  • 0

With many websites there will come a point where optimizing PHP code, adding memory to a server and tweaking configuration files can’t provide enough optimization to keep the site running smoothly. Even though server technologies are improving rapidly, all of the code processing, compiling and database queries that happen when serving up web content can take their toll on the available resources of the server. Eventually with a growing audience and without the proper solutions in place, the speed at which the server is able to deliver content begins to slow down.

Continue Reading
PHP Devs: Do You Still Inline Your HTML?
  • May 30, 2013
  • 0

I’m surprised whenever I look at recently written PHP and see folks are still writing their HTML inline with their code. Perhaps it’s because so many PHP tutorials teach this style, or maybe people just aren’t aware of the advantages of separating it out. If you still write this way, feel free to comment on why. I’ll try to explain the advantages of separating it out here. I won’t get into the details of Model-View-Controller programming here, see that Wikipedia article or a blog post I will probably eventually do about it. But for now I will just plead that you separate out your display HTML from your functional PHP code.

Continue Reading
PHP 5.5 Deprecates MySQL Functions
  • December 19, 2012
  • 0

The release of PHP 5.5 has been announced, and it will be deprecating the old standard MySQL functions (such as mysql_query). It’s been known that this was coming for a while, and developers have been encouraged to migrate to MySQLi or PDO, but many haven’t. If you’ve been putting it off, it’s probably time to make the jump before moving to PHP 5.5. Of course the MySQL functions will still work in 5.5 but you’ll have to suppress the deprecated warnings.

Continue Reading
Fight Back Those Nasty Hacks
  • October 25, 2012
  • 0

Hacks are an unfortunate reality when you run your own website. The malicious nature of hackers can turn a successful website into a nightmare in a matter of seconds. While no website is immune against hacking, there are many things you can do protect yourself, your clients, and your revenue. Here’s a quick overview of some common practices that can help you keep your website safe and secure:

Continue Reading

The A2 Posting