
On HTML and CSS best practices 11 December, 2011 Best practices are exactly that; best. Not ‘better’, not ‘good when…’ or ‘best if…’, just best. They’re always the best, no matter what. This is something I learned whilst undertaking the single biggest project of my career so far; the complete (and not-yet-live) rebuild of one of BSkyB’s most trafficked websites. For years I’d been working on medium-sized projects where I strove to use as few classes as possible, my CSS was so elegant and hand-crafted and everything used the cascade. I found my old approach isn’t best practice when working on a big site, therefore it’s not best practice at all… You can scale down the big site mentality to smaller builds, you can’t scale up small site mentality to bigger ones. I recently rebuilt my friend Sam’s design portfolio site. OOCSS is always best practice.DRY is always best practice.Efficiency is always best practice.Maintainability is always best practice.Flexibility is always best practice. Did you enjoy this?
Coding An HTML 5 Layout From Scratch - Smashing Coding Patternify | CSS Pattern Generator HTML / HTML5 / XHTML / WCAG / Section 508 / CSS / Links / Spelling Understanding aside Please note aside has been redefined since this post was written, please read the updated article. HTML 5 offers a new element to mark additional information that can enhance an article but isn’t necessarily key to understanding it. However, in the interpretation of <aside> there lies confusion as to how it can be used, and with that there is demand for the Doctor to step up and clear the air. In this article I will look at what <aside> was created for, including sample uses and how not to use this useful, misunderstood element. First, a look at how the HTML 5 specification defines <aside>: The aside element represents a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content. What can often trip-up someone reading the specification is the use of the word “sidebar”. How strict should this relationship be? Example Uses Incorrect use of <aside> Closing Thoughts
30 Must See Web Generator for Lazy Webmasters Here’s a list of 70 hand-picked, easy to use, and free web generators that will save you tons of time and energy. I have grouped these tools into 10 categories: Color Palettes, Robots.txt, Website Screenshots, Favicons, Web Backgrounds, Webpage Elements (buttons, tabs, etc), Memes, Forms, Logos, and Dummy Texts. The best part about these tools is that they are completely free (some need you to signup though). If you are looking ways speed up your work and channel more time and energy to new content ideas and marketing strategies, I believe the list is a must-bookmark. Category #1: Color Palettes Generator Functions/Details: To generate color palettes based on image input.Allow users to compare, review, and select color combination at ease. Palette Generator Palette Generator – click image to visit online. Pictaculous Pictaculous – click image to visit online. Kuler Kuler – click image to visit online. Kuler is a cloud-based application for making color themes using an iPhone or your browser.
HTML5 enabling script 7 Jan Since HTML5 is getting more attention by way of marking up our new pages, and the only way to get IE to acknowledge the new elements, such as <article>, is to use the HTML5 shiv, I’ve quickly put together a mini script that enables all the new elements. Download html5shiv.js and must be inserted in the head element (this is because IE needs to know about the element before it comes to render them – so it can’t sit in the footer of the page, i.e. below the elements in question). I’ve updated this post to link to Alexander Farkas’s version of the shiv – it’s the very latest and my simple one line script. The one I originally released was (I thought) beautifully small, but didn’t support print styles nor dynamic injection of HTML5 elements.
HTML5 and The Future of the Web - Smashing Coding Advertisement Some have embraced it1, some have discarded it2 as too far in the future, and some have abandoned a misused friend3 in favor of an old flame in preparation. Whatever side of the debate you’re on, you’ve most likely heard all the blogging chatter surrounding the “new hotness” that is HTML5. It’s everywhere, it’s coming, and you want to know everything you can before it’s old news. Things like jQuery plugins, formatting techniques, and design trends change very quickly throughout the Web community. When looking for some stability, we can usually turn to the code itself as it tends to stay unchanged for a long time (relatively speaking). In this article, I’m hoping to give you some tips and insight into HTML5 to help ease the inevitable pain that comes with transitioning to a slightly different syntax. Welcome to HTML5. What are the basics? The DOCTYPE When I first started researching HTML5 a few months ago, one of the main things I struggled to find was the doctype. Conclusion
40+ Must-Bookmark PHP Classes & Libraries For Developing Faster PHP, being the most popular scripting language, has lots of documentation, tutorials and resources about itself. And, as a feature-rich language, it is possible to accomplish many tasks by default from handling e-mails to images, PDFs to database connections, etc. However, there are high-quality and free PHP classes and libraries which helps you get more like: good looking chartsform validationparsing feedsbetter image or database handlingand more. Here is a collection 40+ totally free PHP classes and libraries that every PHP developer would love to bookmark: Content BackPress A complete library, that grew from WordPress, which offers the most common tasks for creating web applications like user management, HTTP transactions, logging, formatting and more. PHP User Class The class aims to ease the handling of user management tasks like registration, login, logout, etc. for PHP-MySQL applications. phpSEO Do you want to automate the process of generating keywords or meta tags from the content? Asido
28 Useful Front End Web Developer Cheat Sheets Advertisement Cheat Sheets are useful because web-developers need to remember more things. It is hard to memorize syntax for web developers and designers since they are always evolving and rising. In this process, Cheat Sheet is always come in handy. These cheat sheets are designed to be printer friendly and you can use as reference cards. Here is a collection of useful cheat sheet specially for front end web developer and manage effectively. Recommened Post : Best Photography Cheat Sheets to Make your Life Easier HTML Cheat Sheets HTML 5 Visual Cheat Sheet HTML5 Canvas Cheat Sheet HTML Cheat Sheet HTML Elements and Attributes HTML 5 Cheat Sheet HTML Character Entities Cheat Sheet Gosquared html help sheets XHTML 1.1 Cheat Sheet JAVA Scripts Cheat Sheets and JQuery jQuery 1.4 Cheat Sheet JavaScript Cheat Sheet JavaScript Cheat Sheet jQuery selectors W3C – Cascading Style Sheets, Current Work HTML Colors Cheat Sheet RGB Hex Colour Chart CSS Cheat Sheet CSS Shorthand Cheat Sheet Prototype Cheat Sheet
Flash Tutorials, Flash website creation tutorials.