Three Tips for Cleaner Code

Three Tips for Cleaner Code

Web Designer / Developer

We all have written code that we later look back at and cringe. Sometimes you’re in a hurry, working too late into the night against the hours and your standards begin to slip. Or if you’re new to a language or a framework, you may not know the best patterns and stumble your way into a spaghetti-like monstrosity. Whatever the cause, we have all been there. There’s a lot of things that can be done to keep your code under control. I’ll just touch on a few of them here.

Continue Reading
Article By:
Five JavaScript Tips for PHP Developers

Five JavaScript Tips for PHP Developers

Web Designer / Developer

PHP and JavaScript both have a similar, C-like syntax. This can be both a help and a hindrance to PHP developers who are beginning to write JavaScript. The familiarity can both help and lead them astray. I thought it might be useful here to compile a list of some stumbling blocks to avoid and practices to adopt in order to ease the transition into writing JavaScript.

Continue Reading
Article By:
Shellshock Lessons for Developers

Shellshock Lessons for Developers

Security & SSL

For anyone who doesn’t know, Shellshock is the name of a particularly nasty vulnerability in Bash, the standard shell for most Linux distributions (and other Unix-like systems.) As of press time, new vulnerabilities due to this bug are still being discovered. Some distributions have only released patches that fix part of the problem, and a vast number of Internet connected computers are unpatched and vulnerable. There’s bound to be some negative outcomes from a security problem like this, but let’s see if we can scrape out some positive results.

Continue Reading
Article By:
Developing Single Page Web Applications with AngularJS

Developing Single Page Web Applications with AngularJS

Web Designer / Developer

Anyone who has experience developing a Single Page Application (SPA) with naked jQuery or raw JavaScript knows that doing so involves a lot of work for basic UI functions like keeping your Model and View in sync. You end up with hundreds or even thousands of lines of JavaScript devoted to basic functionality, before you can even begin writing your application logic. This is why teams of developers have put tremendous effort into making a variety of JavaScript application frameworks. You can take your pick from BackboneJS, EmberJS, AngularJS and others. Each has its own advantages, but for this post I’ll just be talking about what AngularJS brings to the table.

Continue Reading
Article By:
Advantages and Disadvantages of Infinite Scrolling

Advantages and Disadvantages of Infinite Scrolling

Web Designer / Developer

Every developer has had content that needs to be listed out line by line. Usually that means there is or will be a lot of it. Whether it’s a list of past entries in your WordPress blog, a list of nodes in your Drupal site or a list of items for sale in your favorite shopping software. It used to be there was only one right answer of how to deal with this kind of content; pagination. You’d choose some number (or let the user choose) of entries to display per page and then list off the number of pages, letting the user navigate through as needed. Perhaps if you felt sophisticated you’d allow filtering and sorting.

Continue Reading
Article By:
The Importance of External Backups

The Importance of External Backups

Security & SSL

We provide backup services on all of our Managed hosting accounts. Most quality hosts do. But whether we’re lucky enough to be your host, or you’re with someone else, it’s important to not rely solely on your host’s backup services. For your sensitive data, you should have additional backups elsewhere. That means your database and any custom code as well. It’s unlikely that your data would ever become totally unrecoverable, but unlikely things do eventually happen to someone. If you are that someone, you can avoid potential disaster by having an independent backup of all your sensitive data.

Continue Reading
Article By:
Yii: MVC Code Generation and More

Yii: MVC Code Generation and More

Web Designer / Developer

PHP developers have so many powerful frameworks to choose from it can be tough to keep up with them all. Each of the top tier frameworks has something to offer, though, and compelling reasons why you might choose it rather than all the other options. The Yii Framework is one of those top tier options. One of the big tools it brings to the table is its powerful code generation. Yii comes with both command line and web based code generation utilities which will alleviate the drudge works of creating Model classes for your DB schema, along with all the associated CRUD code.

Continue Reading
Article By:

We use cookies to personalize the website for you and to analyze the use of our website. You consent to this by clicking on "I consent" or by continuing your use of this website. For more information about cookies, see our Privacy Policy.