com
Pgina 1 de 14
Home (http://www.catswhocode.com/blog)
19400+
RSS READERS
9300+
FOLLOWERS
(http://feeds.feedburner.com/catswhocode) (http://www.twitter.com/catswhocode)
Web developers always have to update their knowledges and learn new technologies if they want to stay tuned with todays coding. Today, Im going to show you 7 recent web development techniques that you should definitely learn, or improve if you already know them.
http://www.catswhocode.com/blog/7-new-techniques-every-web-developer-should-know
20/04/2013
Pgina 2 de 14
(http://stats.buysellads.com/click.go? (http://stats.buysellads.com/click.go? z=1238342&b=291287 z=1238342&b=336134 code.com/? utm_source=catswhocode.com&utm_medium p2h) utm_source=Cats% 2BWho% 2BCode&utm_medium=banner_bsa&utm_campaign=generic)
More info: Create an adaptable website layout with CSS3 media queries (http://www.catswhocode.com/blog/create-an-adaptablewebsite-layout-with-css3-media-queries)
Me gusta
Latest posts
Hacks and snippets to enhance WordPress search engine (http://www.catswhocode.com/blog/hacks-andsnippets-to-enhance-wordpress-search-engine)
http://www.catswhocode.com/blog/7-new-techniques-every-web-developer-should-know
20/04/2013
Pgina 3 de 14
AddTypetext/cachemanifest.manifest
Once done, you can create a file named, for example, offline.manifest , with the following directives:
Cross browser compatible HTML5 videos (http://www.catswhocode.com/blog/crossbrowser-compatible-html5-videos) Super useful jQuery plugins for responsive web design (http://www.catswhocode.com/blog/superuseful-jquery-plugins-for-responsive-webdesign) Ultimate list of WordPress resources (http://www.catswhocode.com/blog/ultimate-listof-wordpress-resources) HTML5 code snippets to take your website to the next level (http://www.catswhocode.com/blog/html5-codesnippets-to-take-your-website-to-the-next-level)
Advertise Here
<htmlmanifest="/offline.manifest">
Thats all, and your page will now be cached if the client browser supports this technology. More info: How to create offline HTML5 web apps in 5 easy steps (http://www.catswhocode.com/blog/how-tocreate-offline-html5-web-apps-in-5-easy-steps)
(http://stats.buysellads.com/click.go? z=1239978&b=245330
Server-side JavaScript
Since the mid-90s, JavaScript has been a very popular client-side language for web developers. But nowadays, JavaScript is becoming more and more used on the server side. Why? Because now we have powerful server-side JavaScript environments such as Jaxer (http://www.jaxer.org/), Node.js (http://nodejs.org/) and Narwhal (http://narwhaljs.org/). The code belows demonstrate how to create a simple Hello World using Node.js.
CatsWhoCode.com is hosted by VidaHost. Use our exclusive coupon CATSWHOCODE to get a 10% discount on hosting! (http://is.gd/vidahostcwc)
varsys=require("sys"); sys.puts("HelloWorld!");
Search
More info: Learning Server-Side JavaScript with Node.js (http://net.tutsplus.com/tutorials/javascript-ajax/learningserverside-javascript-with-node-js/)
http://www.catswhocode.com/blog/7-new-techniques-every-web-developer-should-know
20/04/2013
Pgina 4 de 14
Thanks to new technologies such as HTML5, the web is becoming more and more user-friendly. Now, it is possible to easily implement drag and drop on your web pages. This is very useful, for example for a shopping basket. In order to make an element draggable, you simply have to add it the draggable="true" attribute, as shown in the example below:
Of course, after you made an element draggable, you have to use some JavaScript to control what it should do. Im not going to explain how to do it (This may be a full article!) so you definitely have a look there (http://www.html5rocks.com/en/tutorials/dnd/basics/) if youre interested in the topic. Quick tip: If you want to prevent the text contents of draggable elements from being selectable, simply apply the following CSS rules:
Blogroll
cheap bridesmaid dresses (http://www.dressfirst.com/Bridesmaid-Dresses-c7/) Custom Logo Design (http://www.logobee.com/) Custom Logo Design Services (http://www.LogoDesignGeek.com) festklnningar (http://www.amormoda.se/Festklanningarc20/) For Custom InfoGraphic Design Services Click Here (http://www.InfoGraphicDesignTeam.com)
http://www.catswhocode.com/blog/7-new-techniques-every-web-developer-should-know
20/04/2013
Pgina 5 de 14
<form> <labelfor="rangeslider">Slider</label> <inputtype="range"name="rangeslider"i d="rangeslider"class="slider"min="0"max="20" step="1"value="0"> <labelfor="numericspinner">Numericspin ner</label> <inputtype="number"name="numericspinne r"id="numericspinner"value="2"> <labelfor="datepicker">Datepicker</lab el> <inputtype="date"name="datepicker"id= "datepicker"value="20101006"> <labelfor="colorpicker">Colorpicker</l abel> <inputtype="color"name="colorpicker"i d="colorpicker"value="ff0000"> <labelfor="textfield">Textfieldwithp laceholder</label> <inputtype="text"name="textfield"id=" textfield"placeholder="Insertyourtexthere"> <labelfor="urlfield">Urlfield</label> <inputtype="url"id="urlfield"name="ur lfield"placeholder="http://net.tutsplus.com/"r equired> <labelfor="emailfield">Emailfield</lab el> <inputtype="email"id="emailfield"name ="emailfield"placeholder="contact@ghinda.net"r equired> <buttontype="submit"class="uibuttonui widgetuistatedefaultuicorneralluibutton textonly"role="button"ariadisabled="false"> <spanclass="uibuttontext">Submitform< /span> </button> </form>
Free Website Templates by Wix (http://www.wix.com/website/templates) Logo Design Service (http://www.LogoNerds.com) prom dresses (http://www.jjshouse.com/Prom-Dresses-c18/) Rencontre Vgtarien (http://vegan-rencontres.fr/) robe de demoiselle d Honneur (http://www.jennyjoseph.com/fr/Robe-De-Demoiselle-DHonneur-c7/) Stock Photos (http://www.123rf.com) Visiter le Qubec (http://www.visiter-le-quebec.com/) Visiter New York (http://www.visiter-newyork.com) Web Hosting (http://www.inmotionhosting.com)
CSS animations
Most modern browsers are now supporting CSS animations. Yes, CSS are now allowing you to create some simple animations, without the help of a client-side programming language such as JavaScript.
http://www.catswhocode.com/blog/7-new-techniques-every-web-developer-should-know
20/04/2013
Pgina 6 de 14
The following example shows how to make a background color change. As you can see, we have (for now) to use some proprietary properties such as -moz-keyframes .
#logo { margin: 15px 15px 0 15px; background: red; float: left; /* Firefox 4+ */ -moz-animation-name: colour-change; -moz-animation-timing-function: linear; -moz-animation-iteration-count: infinite; -moz-animation-duration: 30s; /* Webkit */ -webkit-animation-name: colour-change; -webkit-animation-timing-function: linear ; -webkit-animation-iteration-count: infini te; -webkit-animation-duration: 30s; } @-moz-keyframes colour-change { 0% { background: red; } 33% { background: green; } 66% { background: blue; } } @-webkit-keyframes colour-change { 0% { background: red; } 33% { background: green; } 66% { background: blue; } }
http://www.catswhocode.com/blog/7-new-techniques-every-web-developer-should-know
20/04/2013
Pgina 7 de 14
Awesome web tools to simplify front-end development (http://www.catswhocode.com/blog/awesome-web-tools-to-simplify-front-enddevelopment) Making a website responsive in 3 easy steps (http://www.catswhocode.com/blog/making-a-website-responsive-in-3-easysteps) Practical tips to save bandwidth and reduce server load (http://www.catswhocode.com/blog/practical-tips-to-save-bandwidth-and-reduceserver-load) Tips and best practices to develop responsive websites (http://www.catswhocode.com/blog/tips-and-best-practices-to-developresponsible-websites) Super useful online tools to work with images (http://www.catswhocode.com/blog/super-useful-online-tools-to-work-withimages)
15 0
http://www.catswhocode.com/blog/7-new-techniques-every-web-developer-should-know
20/04/2013
Pgina 8 de 14
(http://www.catswhocode.com/blog/7-newtechniques-every-web-developer-shouldknow#comment-498194) Thanks for the tips. I hope to dive into Html5 and CSS3 soon! Reply (/blog/7-new-techniques-every-webdeveloper-should-know? replytocom=498194#respond)
David Hancock (http://davgothic.com) said: September 19, 2011 at 12:44 pm (http://www.catswhocode.com/blog/7-newtechniques-every-web-developer-shouldknow#comment-498202) Thanks for the post, I hadnt heard of the REM unit so thanks for enlightening me. Reply (/blog/7-new-techniques-every-webdeveloper-should-know? replytocom=498202#respond)
Abdulhakim Haliru (http://www.leproghrammeen.com) said: September 19, 2011 at 3:24 pm (http://www.catswhocode.com/blog/7-newtechniques-every-web-developer-shouldknow#comment-498330) Thanks for this. i think the caching page tip will come in very handy. Cheers.
D.Eg. said: September 19, 2011 at 3:52 pm (http://www.catswhocode.com/blog/7-newtechniques-every-web-developer-shouldknow#comment-498346) Been using css animations and transitions for while now, cant get enough of it makes the web sooo much prettier! Cant belive I have to use rems now oh well. Reply (/blog/7-new-techniques-every-webdeveloper-should-know? replytocom=498346#respond)
http://www.catswhocode.com/blog/7-new-techniques-every-web-developer-should-know
20/04/2013
Pgina 9 de 14
techniques-every-web-developer-shouldknow#comment-498366) I wonder why it is colour-change and not color-change Reply (/blog/7-new-techniques-every-webdeveloper-should-know? replytocom=498366#respond)
l2aelba (http://l2aelba.com/) said: September 20, 2011 at 6:49 am (http://www.catswhocode.com/blog/7new-techniques-every-webdeveloper-shouldknow#comment-499104) He is from UK, maybe ? Reply (/blog/7-new-techniquesevery-web-developer-shouldknow? replytocom=499104#respond)
Jan (http://www.janskovgaard.dk) said: September 21, 2011 at 1:48 am (http://www.catswhocode.com/blog/7-newtechniques-every-web-developer-shouldknow#comment-499924) Nice post had not heard about the REM unit before. Sounds very nice Reply (/blog/7-new-techniques-every-webdeveloper-should-know? replytocom=499924#respond)
Jasmine (http://www.100webhosting.com) said: September 22, 2011 at 5:00 am (http://www.catswhocode.com/blog/7-newtechniques-every-web-developer-shouldknow#comment-501143) Great web development techniques. I like the caching thingy, since it will surely make pages load much quicker! Reply (/blog/7-new-techniques-every-webdeveloper-should-know? replytocom=501143#respond)
http://www.catswhocode.com/blog/7-new-techniques-every-web-developer-should-know
20/04/2013
Pgina 10 de 14
techniques-every-web-developer-shouldknow#comment-501398) Good post. Thanks for sharing these tips. Reply (/blog/7-new-techniques-every-webdeveloper-should-know? replytocom=501398#respond)
Greg (http://gregpettit.ca) said: September 26, 2011 at 1:06 pm (http://www.catswhocode.com/blog/7-newtechniques-every-web-developer-shouldknow#comment-504943) Did not know about rems either! Im used to working with ems now, but rems are a great solution for people who are more accustomed to working in px. The switch will make a lot more sense to them. Reply (/blog/7-new-techniques-every-webdeveloper-should-know? replytocom=504943#respond)
Marty (http://www.broadbandspeed.co.uk) said: September 28, 2011 at 11:47 am (http://www.catswhocode.com/blog/7-newtechniques-every-web-developer-shouldknow#comment-506778) Nice tips, thanks! Google have used CSS animations on their homepage on occasion. Downside is it can increase CPU load. Reply (/blog/7-new-techniques-every-webdeveloper-should-know? replytocom=506778#respond)
Ryan Carson (http://www.refreshcreations.co.uk/) said: October 7, 2011 at 9:46 am (http://www.catswhocode.com/blog/7-newtechniques-every-web-developer-shouldknow#comment-513714) So, are these IE8 compatible then? Reply (/blog/7-new-techniques-every-webdeveloper-should-know? replytocom=513714#respond)
http://www.catswhocode.com/blog/7-new-techniques-every-web-developer-should-know
20/04/2013
Pgina 11 de 14
Jamie Murphy (http://www.webdeveloperblog.co.uk) said: November 11, 2011 at 3:42 am (http://www.catswhocode.com/blog/7-newtechniques-every-web-developer-shouldknow#comment-552580) All of these new features are great but I would like to know what kind of browser adoption they have before I start using them for my probjects? Reply (/blog/7-new-techniques-every-webdeveloper-should-know? replytocom=552580#respond)
Mike (http://mikeavello.com) said: November 21, 2011 at 11:39 am (http://www.catswhocode.com/blog/7-newtechniques-every-web-developer-shouldknow#comment-569018) Some nice snippets here. I will need to check some of them out and make use of the ideas where applicable. As for the equal columns. I made a plugin that does this that also accept a few options if you want to check out: https://github.com/mikeadesign/matchHeights I am open to any suggestions for improvements. Reply (/blog/7-new-techniques-every-webdeveloper-should-know? replytocom=569018#respond)
Federico Bucchi (http://www.federicobucchi.com) said: November 21, 2011 at 7:21 pm (http://www.catswhocode.com/blog/7-newtechniques-every-web-developer-shouldknow#comment-569659) Good snips.. I did know some of it but there are you that I didnt know.. Now Im trying if it works on all browsers. Reply (/blog/7-new-techniques-every-webdeveloper-should-know? replytocom=569659#respond)
http://www.catswhocode.com/blog/7-new-techniques-every-web-developer-should-know
20/04/2013
Pgina 12 de 14
techniques-every-web-developer-shouldknow#comment-569748) Looking forward to learning more about HTML5. Great info. Reply (/blog/7-new-techniques-every-webdeveloper-should-know? replytocom=569748#respond)
Jack Sam White (http://outsource.techndu.com/) said: January 16, 2012 at 11:39 pm (http://www.catswhocode.com/blog/7-newtechniques-every-web-developer-shouldknow#comment-661612) Although the entire post is really useful for any web designer, but I just liked the last point: CSS Animation. I dont know before about it and now I am ready to do some experiment by applying suggested method. Thanks for this wonderful post. Reply (/blog/7-new-techniques-every-webdeveloper-should-know? replytocom=661612#respond)
NetDesignPlus (http://www.netdesignplus.net) said: May 18, 2012 at 3:54 am (http://www.catswhocode.com/blog/7-newtechniques-every-web-developer-shouldknow#comment-795649) While HTML5 is a very promising technology, it still seems that it will take some time for the final standard version to be released and, after, to be followed by browser support. One of the most common mistakes in nowadays websites is when developers run after HTML5 without paying attention to proper fallback support if the browser visiting the page is not HTML5 ready yet. I believe this is an important technique that every web developer should know as well. It does not only apply to HTML5 though, but to any technology that is not completely controlled by the developer. Reply (/blog/7-new-techniques-every-webdeveloper-should-know? replytocom=795649#respond)
http://www.catswhocode.com/blog/7-new-techniques-every-web-developer-should-know
20/04/2013
Pgina 13 de 14
dave (http://www.converthtmltowordpress.co.uk) said: January 16, 2013 at 7:21 am (http://www.catswhocode.com/blog/7-newtechniques-every-web-developer-shouldknow#comment-1121345) Definitely need to start reading up on HTML 5 very soon! Reply (/blog/7-new-techniques-every-webdeveloper-should-know? replytocom=1121345#respond)
John (http://www.jsmanandvansurrey.co.uk) said: March 19, 2013 at 2:23 am (http://www.catswhocode.com/blog/7-newtechniques-every-web-developer-shouldknow#comment-1191402) Yes would be very interested to see how this all fits in with IE when designing any news on this ? Reply (/blog/7-new-techniques-every-webdeveloper-should-know? replytocom=1191402#respond)
Leave a Reply
Your email address will not be published. Required fields are marked * Name *
Email *
Website
Comment
http://www.catswhocode.com/blog/7-new-techniques-every-web-developer-should-know
20/04/2013
Pgina 14 de 14
Please respect the following rules: No advertising, no spam, no keyword in name field. Thank you!
http://www.catswhocode.com/blog/7-new-techniques-every-web-developer-should-know
20/04/2013