Archive for the ‘web development’ category

PHP vs Ruby and the Python Phenom

May 16th, 2013 Leave a comment 2 comments
PHP vs Ruby and the Python Phenom

Both Ruby and PHP have been around since 1995, but the “newcomer” Python is actually older, first appearing in 1991. Since their introduction, the three development languages have taken very different journeys to the present, now finally coming to the scene as co-equals. Much of the argument over language is centered on PHP vs. Ruby and how these two stack up against one another. Each has advantages and disadvantages, but now with the re-emergence of Python as a popular choice (thanks mainly to Google), the head-to-head battle has become a trifecta. History and Purposes In any good discussion of… View full post »

Why You Should Get Red Hat Linux Certification

April 26th, 2013 Leave a comment
Why You Should Get Red Hat Linux Certification

The obvious reason is to quickly give yourself verifiable credentials with Red Hat Linux for your employer or potential employers to consider when evaluating you for a new position. For most, this is reason enough to go through the certification process. Like other certification programs for development, systems administration, and other IT fields, certification in Red Hat is used as proof of your working knowledge of the platform. Unlike many other certifications, however, receiving a recognized cert in Red Hat also says that you have passed hands-on requirements. Two thirds of the testing requirement for Red… View full post »

How to Use HTML5 Video and Audio Tags

April 19th, 2013 Leave a comment
How to Use HTML5 Video and Audio Tags

HTML5 is going to be a huge revolution if the W3C ever gets around to finalizing the specifications. That being said, and as you probably know, there are some aspects of HTML5 that you can use now. Two of these functions that are currently available to web developers are the audio and video tags. A Bit about HTML5 Audio and Video Before we get into the actual how-to, it is important to understand a bit about how these tags work now and how they might work in the future. The problem is that HTML5 isn’t a standard yet, or at least… View full post »

Keeping the Big Picture in Development

April 15th, 2013 Leave a comment
Keeping the Big Picture in Development

Many developers in the open source, Linux and Android sectors are familiar with the term “Largeness of Mind”. It’s a term sometimes used in open source circles to remind developers to keep the big picture in mind while working on their apps and plug-ins. In development, it’s easy to become tunnel visioned and focus too heavily on the task at hand (or the problem being troubleshooted) and lose sight of the overall build. In open source projects, this is especially problematic as keeping the big picture in view can mean saving yourself from wasted time or sloppy… View full post »

CSS Sprites: A Few Basic Examples

March 27th, 2013 Leave a comment 1 comment
CSS Sprites: A Few Basic Examples

If you have a basic grasp of Cascading Style Sheets (CSS) and web design, then CSS sprites are an excellent addition to your skill-set. What are CSS sprites? CSS sprites are more of a technique than they are an object. The ‘sprite’ itself is a regular .gif, .jpeg, or .png image consisting of a number of images that you wish to display on a webpage – usually logos or small icons. Using the CSS sprite technique, you can determine which portion of the image will display in any given location on a page. Why ‘sprites’? Sprites as a concept come from the early… View full post »

Is LAMP Pack Still Strong?

March 20th, 2013 Leave a comment 2 comments
Is LAMP Pack Still Strong?

This year in tech (like almost every other year) has been filled with buzzwords. Many of them this year, however, are based around big data processing and web content: NoSQL, Hadoop, BigTable – the list goes on. With all the fuss around these new technologies, one might be tempted into thinking that these are the technologies of the future, and that from now on our servers and websites will be built upon, leaving technologies like LAMP in the dust. Is the venerable LAMP stack going to go extinct in the face of all these new technologies? First off, there are things… View full post »

Apache Solr vs. elasticsearch: Decision Points

March 14th, 2013 Leave a comment
Apache Solr vs. elasticsearch: Decision Points

Due to the increasing complexity of many dynamic sites and installations as well as user demand for more robust searching systems, many system administrators and developers are looking to implement more complex search abilities into their websites and systems. Two software solutions have risen to the top of the pack in this regard: Apache Solr and elasticsearch. Both are good systems in their own right, but which is better for you and your use scenario? Let’s look at a rundown of their individual capabilities and find out. Right off the bat, Apache Solr is quite a bit easier to deploy than… View full post »

Has PHP Killed JSP?

March 7th, 2013 Leave a comment
Has PHP Killed JSP?

Having recently written an article on Apache vs Tomcat, someone commented to me that they had never had occasion to use Tomcat: since they had started web developing, PHP had been the dominant language on the web landscape, and they saw no reason to learn JSP. In fact, they asserted that JSP is a dying language- one that PHP has effectively superseded. Were they right? According to a W3Techs.com study, as of February 2012 PHP held a commanding lead in web presence: of the dynamic sites evaluated, 75% used PHP. JSP’s share was a stark contrast, trailing at 10%. It would… View full post »

PHP Templating: Pros and Cons

February 3rd, 2013 Leave a comment
PHP Templating: Pros and Cons

Quite a few people now have started using and enjoying templating systems in PHP to more cleanly separate design and development. For those unfamiliar with the term, PHP templating is a system (like “Smarty”, one of the most popular for PHP) that allows programmers to divide application logic from content presentation. It uses tag-based mechanics to allow “tags” defined in HTML files to be replaced by data that is generated by PHP code behind the scenes. It makes for very nice and usable templating, as opposed to the sometimes-messy approach of blocking off sections of <?php tags and having dozens… View full post »

jQuery Tabs Tutorial

December 26th, 2012 Leave a comment
jQuery Tabs Tutorial

jQuery tabs on content have become a stylish addition to Web 2.0 websites, but it’s not always obvious just how to make them work, and many people have been writing up tutorials on how to write your own tab scripts using jQuery. Thankfully, however, there’s an addition to jQuery called jQueryUI that includes tab support and pre-built tab functions so you don’t have to roll your own every time you write a website. Here’s a quick tutorial on how to get them up and running on your website! Method A: The Conventional Way jQueryUI now supports tabs as part of its integrated… View full post »

jQuery Tutorial: Scrolling Effects With Anchor Links

December 20th, 2012 Leave a comment
jQuery Tutorial: Scrolling Effects With Anchor Links

Sometimes you’ll want to use anchor text in a page, but you don’t want any old boring anchor scroll. The instant click-through to anchor links is devoid of any interesting flair, and that’s no longer a viable option in today’s Web landscape. Web 2.0 is all about having smooth effects to go with your buttons and bevels, and so maybe you want a cool scrolling effect for your anchor links on your site. Here’s a quick and easy way to get that on your page! Step 1: Create The Anchor Link You’re going to want this in the part you want to… View full post »

Is jQuery Right For Your App?

December 17th, 2012 Leave a comment
Is jQuery Right For Your App?

jQuery has taken over in the application-building world, and people have been using it left and right to build new applications, from hobbyist projects to large-scale, enterprise-level applications. There are, however, other toolkits like dojo out there that offer alternatives to jQuery: should you always use jQuery, or is there a reason to switch to one of those other toolkits when the need arises? First off, it’s always a safe bet to use what you know. If you’re familiar with the jQuery library, it’s almost certain that you’re going to do faster, better work with jQuery than you would with another… View full post »

5 More Useful PHP Snippets

December 14th, 2012 Leave a comment 1 comment
5 More Useful PHP Snippets

Given the success of our last PHP Snippets article, we’ve decided to go ahead and find a few more useful PHP snippets. Without further ado, here are some more useful (and a bit more complex) PHP snippets for use! 1. Generating CSV Many people have come up with their own functions for generating CSVs, but the problem is that many of them fail to take into account wayward quotation marks or apostrophes that will bring down their CSV and make it harder to parse later. A much better idea is to take those into account, like so: function make_csv(array $to_csv, $file = false)… View full post »

HTML5 vs. Native: What Should You Use In Your App?

December 2nd, 2012 Leave a comment 2 comments
HTML5 vs. Native: What Should You Use In Your App?

Mark Zuckerberg recently caused a new hubbub in the mobile Internet world when he declared that HTML5 had been a mistake for the Facebook mobile app. The HTML5 vs. native debate has been going on for some time now, with adherents on both sides claiming that each is the wave of the future. But which is right for your app? If you’re looking to develop a new app, should you be using HTML5 or go native? It’s a tricky question, and one that depends on a multitude of things. For example, it’s very heavily dependent on what platform you’re using. In… View full post »

Top 5 Best Practices For Building HTML5 Games

November 21st, 2012 Leave a comment
Top 5 Best Practices For Building HTML5 Games

HTML5 games have become quite popular in recent years, especially now that many of the major browsers like Chrome, Firefox, and IE9 have GPU support for gaming in the browser. Accelerated GPU support and the versatility of HTML5 ensure that games written for them can be high quality, enjoyable, and entertaining games- in fact, HTML5’s robust capabilities mean that it can have design complexity that rivals even some games written in more traditional game programming languages. Like any other development project, however, HTML5 games have best practices and recommendations that you can follow to make your game process easier and… View full post »