Developing The Web
-
Upload
timoh -
Category
Technology
-
view
521 -
download
1
description
Transcript of Developing The Web
![Page 1: Developing The Web](https://reader035.fdocuments.us/reader035/viewer/2022062405/556a67f6d8b42ab0468b4a92/html5/thumbnails/1.jpg)
Developing the web
Web developers, web developers, web developers, web developers...
![Page 2: Developing The Web](https://reader035.fdocuments.us/reader035/viewer/2022062405/556a67f6d8b42ab0468b4a92/html5/thumbnails/2.jpg)
Developing the web
Lots of technology:PerlC#ASP.NETVB.NETPythonPHPASPCRubyJavaTclshLassoColdFusion
![Page 3: Developing The Web](https://reader035.fdocuments.us/reader035/viewer/2022062405/556a67f6d8b42ab0468b4a92/html5/thumbnails/3.jpg)
Which one to choose?
![Page 4: Developing The Web](https://reader035.fdocuments.us/reader035/viewer/2022062405/556a67f6d8b42ab0468b4a92/html5/thumbnails/4.jpg)
Which one to choose??
Let's make it simple!►PHP is for normal people
►Others are for women
But actually it really doesn't matter, it's just a bunch of 1's and 0's after all (at least in some point)
![Page 5: Developing The Web](https://reader035.fdocuments.us/reader035/viewer/2022062405/556a67f6d8b42ab0468b4a92/html5/thumbnails/5.jpg)
Javascript?
![Page 6: Developing The Web](https://reader035.fdocuments.us/reader035/viewer/2022062405/556a67f6d8b42ab0468b4a92/html5/thumbnails/6.jpg)
Javascript?
Slow! Patchy support for technology X Data manipulation on the client-side!
->unpredictable results
People hates it->www.ihatejavascript.com->NoScript
Rich user interface?->not your problem!
Just forget it!
![Page 7: Developing The Web](https://reader035.fdocuments.us/reader035/viewer/2022062405/556a67f6d8b42ab0468b4a92/html5/thumbnails/7.jpg)
What about CSS?!
Mysterious browser support! Spend a day to get the layout to work using
only CSS->give up and get the job done in 30 minutes using tables!
Print media is for detailed typography and desing, web media is not->have you seen a 12 year old kid publishing a news paper?->have you seen a 10 year old kid publishing a web page (most probably, at least if you are an experienced surfer)?!
![Page 8: Developing The Web](https://reader035.fdocuments.us/reader035/viewer/2022062405/556a67f6d8b42ab0468b4a92/html5/thumbnails/8.jpg)
Back to the server-side...
Cool people talks about caching What is it? Shall I cache?
![Page 9: Developing The Web](https://reader035.fdocuments.us/reader035/viewer/2022062405/556a67f6d8b42ab0468b4a92/html5/thumbnails/9.jpg)
Server-side cache...
Caches can get poisoned! Caches can get out sync! Caches require extra effort! DO NOT CACHE!!
Instead.......
![Page 10: Developing The Web](https://reader035.fdocuments.us/reader035/viewer/2022062405/556a67f6d8b42ab0468b4a92/html5/thumbnails/10.jpg)
...Client-side cache
Shift the problem to the client-side->ExpiresDefault "access plus 100 years"-><META HTTP-EQUIV="EXPIRES" CONTENT="Mon, 13 Jul 2200 11:00:00 GMT">
Just make sure you don't update your page too often
![Page 11: Developing The Web](https://reader035.fdocuments.us/reader035/viewer/2022062405/556a67f6d8b42ab0468b4a92/html5/thumbnails/11.jpg)
Other hippies
XML Json Ajax Unit's API's SOAP RSS EC2
![Page 12: Developing The Web](https://reader035.fdocuments.us/reader035/viewer/2022062405/556a67f6d8b42ab0468b4a92/html5/thumbnails/12.jpg)
Other hippies
API's break and unit's just keep growing,XML is probably invalid and Ajax is buggy,plus EC2 rudely pretends busy
Why you should be using them?!
![Page 13: Developing The Web](https://reader035.fdocuments.us/reader035/viewer/2022062405/556a67f6d8b42ab0468b4a92/html5/thumbnails/13.jpg)
Other hippies
Shush them away and be on the bright side!
![Page 14: Developing The Web](https://reader035.fdocuments.us/reader035/viewer/2022062405/556a67f6d8b42ab0468b4a92/html5/thumbnails/14.jpg)
SQL and pals
SQL implementations were originally average thin, but a bit goofy
(also has had the worst infection history ever!) ORM to the rescue!
►SQL got big bazookas!!
but also...
![Page 15: Developing The Web](https://reader035.fdocuments.us/reader035/viewer/2022062405/556a67f6d8b42ab0468b4a92/html5/thumbnails/15.jpg)
SQL and pals
...a huge bottom!! Servers got exhausted
SQL is for sissies anyway,dont' bother with it
![Page 16: Developing The Web](https://reader035.fdocuments.us/reader035/viewer/2022062405/556a67f6d8b42ab0468b4a92/html5/thumbnails/16.jpg)
Libraries
Libraries may holdstructured and wellorganized functionsto get the job done
![Page 17: Developing The Web](https://reader035.fdocuments.us/reader035/viewer/2022062405/556a67f6d8b42ab0468b4a92/html5/thumbnails/17.jpg)
Libraries
Too bad they arealways outdated
They introducedependencies
You'll never findwhat you arelooking for!
![Page 18: Developing The Web](https://reader035.fdocuments.us/reader035/viewer/2022062405/556a67f6d8b42ab0468b4a92/html5/thumbnails/18.jpg)
Tools
There are two types of interfaces in the world of development:►user interfaces►good interfaces
![Page 19: Developing The Web](https://reader035.fdocuments.us/reader035/viewer/2022062405/556a67f6d8b42ab0468b4a92/html5/thumbnails/19.jpg)
User interface
Tends to write bugs->produces outputs that do not have the right meaning
Constant crashes Screws up the
quoting
![Page 20: Developing The Web](https://reader035.fdocuments.us/reader035/viewer/2022062405/556a67f6d8b42ab0468b4a92/html5/thumbnails/20.jpg)
Good interface
![Page 21: Developing The Web](https://reader035.fdocuments.us/reader035/viewer/2022062405/556a67f6d8b42ab0468b4a92/html5/thumbnails/21.jpg)
The most solution of them all
Forget server-side calculations!->never worry about XSS again->never worry about CSRF again->applies to other weird short character combos also
Forget client-side operations! Plain texturize what you have to say and let a
web server serve it, keep it simple->if you are a coolio, enhance with images
![Page 22: Developing The Web](https://reader035.fdocuments.us/reader035/viewer/2022062405/556a67f6d8b42ab0468b4a92/html5/thumbnails/22.jpg)
Thanks for your time
Version 0.3.2c Final Gold, [email protected]
Images:http://www.latimes.comhttp://mooreslore.corante.comhttp://www.lostateminor.comhttp://groundspeak.comhttp://60sfurther.comhttp://www.cooperativeindividualism.orghttp://www.ccm.eduhttp://www.sprezzatura.me.ukhttps://www.enerhealthbotanicals.comhttp://www.slax.orghttp://media.photobucket.comhttp://flickr.com