background preloader

Kod

Facebook Twitter

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. 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. It doesn’t matter if you’re building the next Facebook or if it’s just a site for the builder down the road; best practice is always best. The only person who cares how pretty your code is is you. Test run php code online, right here - WriteCodeOnline.com/PHP. Dirty Markup · Tidy and Beautify your HTML, CSS, and JavaScript code.

HTML / HTML5 / XHTML / WCAG / Section 508 / CSS / Links / Spelling. Free - List of freely available programming books. 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.

Good thing there are smarter folk than I! 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. 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 HTML Character Entities Cheat Sheet ASP/VB Script Cheat Sheet CSS 3 Cheat Sheet CSS Cheat Sheet SQL Cheat Sheet.

Flash Tutorials, Flash website creation tutorials. 5 Great Resources To Learn How To Code. However, more often than not, there seems to be a problem of actually finding good content online that can teach you to code. Experimenting with a language can only get you so far. To master it, you need to have proper guidance from people who actually know what they are talking about. So where can you find expert guidance without shelling out a fortune for it? You could start with checking out the websites below: Dream In Code Just taking a look at their logo ought to tell you that the community at Dream In Code isn’t something to mess around with.

You can browse their content for free, or you can sign up to become a permanent member. They have everything. They also have a video channel and links to developers’ blogs if you want to look deeper. W3Schools If what you want to master is a Web technology, you’ve got to give W3Schools a look. You can get tutorials ranging from plain-Jane HTML, right up to AJAX and the likes. Eloquent JavaScript TryRuby A Miscellany of HTML5 Tutorials. A Video Series Teaching Web Design To Anyone Who's Afraid Of Code | Co. Design. Anyone who has ever tried to build a website for the first time knows that awful feeling when confronted with lines of HTML, CSS, and PHP, languages as foreign as any known to man.

Well, never fear. Two graphic designers have begun releasing a series of video tutorials called "Don’t Fear the Internet" that explains how to perform the basics of web design without having to become an actual web designer. The videos, created by Jessica Hische (also the designer behind the “Should I Work for Free” flowchart and Daily Drop Cap) with her boyfriend Russ Maschmeyer, aren’t intended to be comprehensive guides. Instead, the process reflects a refreshing, stitched-together DIY sensibility. The two of them designed the title cards and interstitials in Illustrator (typeset in Brandon Grotesque by Hannes von Döhren), cut and pasted the audio using GarageBand, and slapped it all together in iMovie. But the real “fear removal” work is done by analogy, and specifically, how coding is like food.

Mixare Free Open Source Augmented Reality Engine. jScrollPane - cross browser styleable scrollbars with jQuery and CSS. Drupal Tutorials - How to Create KnockOut Drupal Websites - Learn How to Master Drupal in 6 Hrs. How JavaScript & HTML5 Are Remaking the Web. The Future Web Series is supported by Elsevier's SciVerse Application Marketplace and Developer Network. The SciVerse applications platform enables developers to build apps based on trusted scientific content. Learn more. HTML5 is no longer just a buzz word. It — along with JavaScript and CSS3 — is quickly helping reshape perceptions of what a web browser and web standards can achieve. With browsers implementing more HTML5 features across platforms and devices, developers are starting to integrate many of the new features and frameworks into their web apps, websites and web designs. Although HTML5 is its own standard, the power of HTML5 is really only best realized with the use of CSS 3 and JavaScript.

Graphics libraries like WebGL can extend JavaScript, allowing for the creation of interactive 3D graphics within the browser all while utilizing the plugin-free nature of the HTML canvas element. WebGL Brain Surface and Tractography Viewer Google Body Browser MathBoard Lost World's Fairs. 20 APIer på 20 minuter – min DrupalCamp presentation « API – Mashup.se. Idag har jag presenterat APIer på DrupalCamp Stockholm , jag hade 20 minuter på mig så jag klämde in en genomgång av 20 APIer. Det blev allt ifrån APIer som ger affärsnytta till APIer som bara är konstiga, det bör finnas något för alla. Här är en genomgång av min presentation, själva presentationen hittar ni längst ner i detta inlägg. Tack till alla som kom och lyssnade på min presentation och till alla som jag träffade på DrupalCamp! Cash Rules Everything Around Me Vi börjar med ett praktiskt API för att värma upp, nämligen Open Exchange Rates som ger tillgång till växelkurser mellan nästan alla världens valutor.

Det finns också ett bra javascriptbibliotek, money.js om man vill använda växelkurserna direkt i Javascript. Ett annat pengarelaterat API är Handelsbankens inofficiella API som Björn Sållarp har dokumenterat genom att sniffa trafiken till och från Handelsbankens iPhoneapp. Med APIer kommer man åt allt APIer för designers Storebror vet vem du är Telefontjänster Är” SOAP” en svordom? Essential tools for Blogger template design (Blogger Template Design Series) A test blog When building a completely customized template, I would strongly advise you to do this using a test blog. This way, you can always ensure your regular blog is available, features no mistakes and is always presentable! I always create and test new templates on a test blog, filled with dummy posts and sidebar widgets so I can easily see what needs to be changed, redesigned or altered without affecting my main blogs in any way.

I have written a full article about creating and using a test blog which I would advise you to read before you begin to create a custom template. Then once your design is complete, you can move this over to your main blog seamlessly; your readers will barely be affected by the changeover, and your blog will always be available to read! An image manipulation program This is one of the key tools used when designing Blogger templates. Why you need this To design a custom header image, backgrounds or perhaps headings for your sidebar. Resources A basic text editor. Har frilanseren opphavsretten på kode-delen av en webdesignjobb? | Webforumet.no Blogg. Skrevet av Atle Hansson den 17.09.2009 Artikkelen er skrevet av Atle Hansson fra Frilansinfo.no, og er et tilpasset utdrag fra håndboka “Frilans!”. Det hersker ulike oppfatninger om hvordan webdesignere skal forholde seg til opphavsretten til sitt eget arbeid. Vi spurte advokat Øystein Flagstad om å gi oss en innføring fra et juridisk standpunkt.

Har frilanseren opphavsretten på kode-delen av en webdesignjobb? Ja, ifølge advokat Øystein Flagstad, partner i advokatfirmaet Grette. Han har opphavsrett og IKT-rett som to av sine spesialfelt. Dataspråk som blir skrevet i sekvenser som kan utløse reaksjoner fra en datamaskin i samhandling med mennesker (puh!) – Opphavsretten til dataprogrammer oppstår hos den som foretar programmeringen.

Frembringelsen må ha verkshøyde for å ha vern. . – Kravet om verkshøyde utlegges gjerne som at frembringelsen må være preget av opphavsmannens individuelt skapende innsats. Kan man saksøkes for å ha kopiert kildekode fra nettsider og gjenbrukt dette i eget arbeid? Email Me Form™ - HTML Forms, Web Forms, PHP Forms.

Making a Custom YouTube Video Player With YouTube’s APIs. Martin Angelov Video presentations are a great addition to any product page. With a presentation you can showcase your product’s features without making the visitor read through long paragraphs of text. But apart from producing the video, you still need to manually convert it and find (or code) some sort of flash player that will display it on your site. The other possible path is that you upload it to a video sharing site such as youtube, but you are going to have a rough time trying to incorporate the player into your design. Luckily for us, YouTube does provide a solution to this problem – their chromeless player (a stripped down version of the regular embeddable player), which allow you to build and style your own custom controls. The Idea Today we are going to make a jQuery plugin which uses YouTube’s chromeless player, and creates our own set of minimalistic controls, which allows for perfect integration with your designs.

Using the plugin to embed videos is extremely easy: script.js. How To Code a Blog Theme Concept in HTML & CSS. Last week we went through the process of creating a clean blog theme layout in Photoshop. Now, let’s transform the visual concept into a working HTML/CSS prototype web page before finishing everything up as a complete theme next week. We’ll build the page structure with clean HTML, then style up as much as possible using CSS styling to create a lean website design that still replicates the original concept. If you missed last week’s tutorial, we created the homepage concept for a WordPress theme called Ticket Stub. It’s based on the idea of movie review, but the clean layout and basic styling keeps it generic enough to be used for any topic. View the Photoshop design tutorial We can recreate the majority of the design using pure CSS styling, but we’ll still need to export a couple of image files. The final list of images is made up of mostly icon png files. <!

The first portion of content in the design is the header. The main content area of the design is split into two columns. Useful HTML-, CSS- and JavaScript Tools and Libraries - Smashing Coding. Advertisement Front-end development is a tricky beast. It’s not difficult to learn, but it’s quite difficult to master. There are just too many things that need to be considered; too many tweaks that might be necessary here and there; too many details to make everything just right. Luckily, developers and designers out there keep releasing useful tools and resources for all of us to learn, improve our skills and just get better at what we do. Here at Smashing Magazine, we’re continuously searching for time-saving, useful HTML-, CSS- and JavaScript-resources for our readers, to make the search of these ever-growing tools easier. HTML and CSS Tools HTML Email BoilerplateThis website and its sample code creates a template of sorts, absent of design or layout, that will help you avoid some of the major rendering problems with the most common email clients out there.

InitializrThis tool creates a customizable template based on HTML5 Boilerplate. JavaScript Tools Grids Last Click Related Articles. PHP Advent 2010 / Everyone Loves PHP. A year ago today, I started at Facebook. I’ve been using PHP for the last twelve years, and before I got there, I thought I had seen most PHP-related problems. I had deployed software on all manners of systems, but since I’ve worked at Facebook, my appreciation for how important PHP is has changed. Earlier this year, another implementation of the PHP runtime emerged. This is nothing really new, as over the last few years, there had been several others — Quercus, Project Zero, Roadsend, and phc, to name a few. The main difference between them and HipHop for PHP is in the numbers. One of the reasons for writing HipHop was to improve performance. This isn’t an article about HipHop and how awesome it is, though.

One of the main reasons I think PHP has become so popular is the critical mass that it acquired while it was growing up, but what was the original cause of that? Another reason PHP has become so popular is the documentation, which is second to none. Contribute! A final thought. Cplusplus.com - The C++ Resources Network.

HTML 5

Javascript. Wordpress. App. CSS. If PHP Were British - Added Bytes Web Application Development. When Rasmus Lerdorf first put PHP together, he - quite sensibly, despite his heritage - chose not to write it in Greenlandic or Danish. Good job too - that would have been rather unpleasant to work with. He opted instead, being in Canada, for a more local tongue. No, not French. Not Canadian English either. No, he went for that bastard dialect of the Queen's English commonly referred to as "US English". PHP developers in Britain have been grumpy about this ever since. A Slap in the Face $variable_name $variable_name The first, but maybe the most important, of many changes that will allow PHP to achieve a more elegant feel is to remove that symbol so beloved by the US and replace it with something altogether more refined. £variable_name £variable_name Getting Started How many of today's British programmers have been put off at the outset by the brazen informality of this simple yet obscenely Americanised program, colloquially referred to as "Hello World"?

Abbreviations Eloquence Spelling Manners. XML Sitemap Generator, Editor + Keyword Analyzer - XML Sitemaps Online. 20+ New Apps and Websites for Designers Sep. 2010. Create a mobile site for your blog or website in minutes - MobStac. Adobe Flash Tutorials – Best of - Smashing Magazine. How to Display Wordpress Sidebar on Other (Non WP) Sites. Browserling - interactive cross-browser testing in your browser. 10 Cross-Browser Compatibility Tools For Designers. Bädda in ljudklipp - Funktioner i vår spelare - Support. 40 Online Generators for Web Designers Should Bookmark. Introduces SML™ (Social Markup Language) 11 Outstanding Online Resources for Web Developers.