background preloader

Web Development

Facebook Twitter

50+ Extremely Useful PHP Classes & Libraries. ADOdb Database Abstraction Library for PHP (and Python) for MySQL, PostgreSQL, Microsoft SQL Server, Oracle, Firebird, Interbase, LDAP, Access, VFP, DB2 and many other databases. SEO: The Free Beginner’s Guide From Moz. Welcome to your SEO learning journey! You'll get the most out of this guide if your desire to learn search engine optimization (SEO) is exceeded only by your willingness to execute and test concepts.

This guide is designed to describe all major aspects of SEO, from finding the terms and phrases (keywords) that can generate qualified traffic to your website, to making your site friendly to search engines, to building links and marketing the unique value of your site. The world of search engine optimization is complex and ever-changing, but you can easily understand the basics, and even a small amount of SEO knowledge can make a big difference. Free SEO education is also widely available on the web, including in guides like this! (Woohoo!) Combine this information with some practice and you are well on your way to becoming a savvy SEO.

The Basics of Search Engine Optimization Ever heard of Maslow's hierarchy of needs? Here's what it looks like: Royalty Free Images websites without Attribution. Getting Started with Zend Framework 2 — Zend Framework 2 2.0.7 documentation. This tutorial is intended to give an introduction to using Zend Framework 2 by creating a simple database driven application using the Model-View-Controller paradigm.

By the end you will have a working ZF2 application and you can then poke around the code to find out more about how it all works and fits together. Some assumptions This tutorial assumes that you are running PHP 5.3.3 with the Apache web server and MySQL, accessible via the PDO extension. Your Apache installation must have the mod_rewrite extension installed and configured. You must also ensure that Apache is configured to support .htaccess files. This is usually done by changing the setting: to in your httpd.conf file.

The tutorial application The application that we are going to build is a simple inventory system to display which albums we own. We will also need to store our data into a database. PHPExcel - Home. File: SASS_REFERENCE — Sass Documentation. Sass is an extension of CSS that adds power and elegance to the basic language. It allows you to use variables, nested rules, mixins, inline imports, and more, all with a fully CSS-compatible syntax. Sass helps keep large stylesheets well-organized, and get small stylesheets up and running quickly, particularly with the help of the Compass style library. Features Fully CSS-compatible Language extensions such as variables, nesting, and mixins Many useful functions for manipulating colors and other values Advanced features like control directives for libraries Well-formatted, customizable output Syntax There are two syntaxes available for Sass.

The second and older syntax, known as the indented syntax (or sometimes just "Sass"), provides a more concise way of writing CSS. Either syntax can import files written in the other. . # Convert Sass to SCSS $ sass-convert style.sass style.scss # Convert SCSS to Sass $ sass-convert style.scss style.sass Using Sass gem install sass Rack/Rails/Merb Plugin or.

Code Snippets. WebPagetest - Website Performance and Optimization Test. YSlow for Chrome. Internet Tip - Royalty Free Images At No Charge. The 30 CSS Selectors you Must Memorize. Create a CSS Flipping Animation Example.


Filler Generator. Web Dev Tools. Wordpress. HTML 5 Tags. String and Regular Expression methods. String and Regular Expression methods The String object has four methods that take regular expressions as arguments. These are your workhorse methods that allow you to match, search, and replace a string using the flexibility of regular expressions: String Methods Using Regular Expressions Here are a few examples: var string1="Peter has 8 dollars and Jane has 15" parsestring1=string1.match(/\d+/g) //returns the array [8,15] var string2="(304)434-5454" parsestring2=string2.replace(/[\(\)-]/g, "") //Returns "3044345454" (removes "(", ")", and "-") var string3="1,2, 3, 4, 5" parsestring3=string3.split(/\s*,\s*/) //Returns the array ["1","2","3","4","5"] Delving deeper, you can actually use the replace() method to modify - and not simply replace- a substring.

<SCRIPT language="JavaScript1.2"> var objRegExp = /(\w+)\s(\w+)/; var strFullName = "Jane Doe"; var strReverseName = strFullName.replace(objRegExp, "$2, $1"); alert(strReverseName) //alerts "Doe, John" </SCRIPT> RegExp methods and properties. About conditional comments (Internet Explorer) Updated: September 2012 The following topics are discussed in this document. Terminology As you continue to learn about document compatibility, it's helpful to be familiar with the following terms.

Benefits of using conditional comments Here's a list of advantages that conditional comments have over scripting methods to determine the browser you're using. Low client-side impact.When a downlevel browser encounters a downlevel-hidden conditional comment, the browser skips over the HTML inside the comment, and the content elements aren't parsed, downloaded, or rendered. Syntax of conditional comments The HTML shown inside the syntax block in each of the conditional comments denotes any block of HTML content, including script. The conditional expression is formed from a combination of feature, operator, and/or value, depending on the feature. This table describes the operators you can use to create conditional expressions. Downlevel-hidden conditional comments <! <! Click to view sample. <! <! <! <!

<! <! Php - Numeric order when returning results from MySQL. JavaScript Shorthand Coding Techniques. This really is a must read for any JavaScript based developer. I have made this post as a vital source of reference for learning shorthand JavaScript coding techniques that I have picked up over the years. To help you understand what it going on I have included the longhand versions to give some coding perspective on the shorts. Update 05/05/2013 – There are now 19 strong keep em coming! :) Step 1 – Learn the JavaScript shorthand techniques.Step 2 – Save valuable coding time by keeping your code to a minimum.Step 3 – Impress your colleagues with your awesome new coding skillz!

It’s as easy as steps 1,2,3. Here they are. 1. This is a great code saver for when you want to do something if the test is true, else do something else by using the ternary operator. Var big;if (x > 10) { big = true;}else { big = false;} Shorthand: var big = (x > 10) ? If you rely on some of the weak typing characteristics of JavaScript, this can also achieve more concise code. Var big =(x >10); 2. Longhand: 3. 4. 5. 6.


ReCAPTCHA Mailhide: Free Spam Protection. Tired of spam? ReCAPTCHA Mailhide helps you protect your inbox by asking people to solve a reCAPTCHA before they can view your email address. The reCAPTCHA can only be solved by humans, so this stops spammers from gaining access to your email address through automated programs. Here is an example: john... Enter an email address and we'll give you HTML code that requires users to solve a reCAPTCHA before they can see the address. (We stop spam, we don't create it -- we won't share your address.) Are you running a web application that lists users' email addresses? Get an API Key. Writing Efficient JavaScript: Chapter 7 - Even Faster Websites. Today’s web applications are powered by a large amount of JavaScript code. Whereas early web sites used JavaScript to perform simple tasks, the language is now used to run the entire user interface in many places. The result can be thousands of lines of JavaScript code to execute every time a user interaction takes place.

Performance, therefore, is not just about how long it takes for the page to load, but also about how it responds as it’s being used. The best way to ensure a fast, enjoyable user interface is to write JavaScript as efficiently as possible for all browsers.[] This chapter covers some of the hidden performance issues in JavaScript and how to address them. When JavaScript code is being executed, an execution context is created. Each execution context has a scope chain associated with it, which is used for identifier resolution. During code execution, identifiers such as variable and function names are resolved by searching the scope chain of the execution context.