On Wed, Apr 30, 2008 at 5:02 PM, Ashish Shukla आशीष शुक्ल <
[EMAIL PROTECTED]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> >>>>> "Puneet" == Puneet Lakhina <[EMAIL PROTECTED]> writes:
>
>    Puneet> I read this a lot, "should adhere to web standards". What are
> and where are
>    Puneet> these standards?
>
> W3C[1] does web standards.


>
>    Puneet> The simplest case, take the XMLHttpRquest object in
>    Puneet> javascript. There isnt a standard way of obtaining
>    Puneet> it.
>
> W3C has a working draft on XMLHttpRequest[2].
>
> [1] - http://www.w3.org/
> [2] - http://www.w3.org/TR/2007/WD-XMLHttpRequest-20070618/
>
> HTH


The thing in browser world is, the innovation comes from the browser
companies which is then replicated in other browsers in different ways.
Hence a lot of code gets written(habits get built), before the standard
document comes around. So the average web developer always has to write
something like this for completeness.

if(firefox) {
//do firefoxy way
}else if(IE6) {
//do IE6 way
}
 ..and so on

You can say M$ flouts standards but it does do good stuff also like the
XMLHttpRequest object itself. Moreover even if IE isnt standards compliant,
it is the browser of 90% of your visitors. So ignoring it for standards isnt
an option any web dev has.

These references are good, but as long as the compliance isnt consistent, ul
see code like above, and a hall of shame.


> - --
> Ashish Shukla आशीष शुक्ल
> http://wahjava.wordpress.com/
> ·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFIGFjfHy+EEHYuXnQRAvBeAKDabnmmYW+QZepuz2+du99auEJNKwCdHEXN
> 8oONxDAsxBhG9W27WhVzspM=
> =hcwA
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> ilugd mailinglist -- [email protected]
> http://frodo.hserus.net/mailman/listinfo/ilugd
> Next Event: http://freed.in - February 22-24, 2008
> Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
> http://www.mail-archive.com/[email protected]/
>



-- 
Puneet
http://sahyog.blogspot.com/
Latest Post: javac -g
_______________________________________________
ilugd mailinglist -- [email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22-24, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[email protected]/

Reply via email to