As for all this debate about platforms - that's what markets are for. Platforms are market makers. Standards are different - they're forcing functions for markets. not market makers. Let's look at some HTML5 spec text for forms instead.
From the draft on extended form controls:
"The HTTP specification defines various methods that can be used with HTTP URIs. Four of these may be used as values of the method attribute: get, post, put, and delete. In this specification, these method names are applied to other protocols as well. This section defines how they should be interpreted."
The enormity of the consequences of HTML only allowing GET and POST cannot be overstated IMO. It's maybe the most damaging technical decision in the web standards space - ever. I see HTML forms as a root cause for the WS-* "everything goes over POST" debacle, a billion dollar industry mistake, at best.
What it gets wrong:
"If the specified method is not one of get, post, put, or delete then it is treated as get in the tables below."
Fail, on two counts. First a markup format that has impliciit defaults, ie, acquires values through the absence of specific markup tends to suck - example, I spent a few hours this week trying to figure out whether OpenSearch is compatible with RFC5005 - I'm not 100% sure but I suspect not - and it's because of impliciit markup. Specs in markup of the form "when the X is not present, assume a Y with value Z" are an antipattern. I have no idea how much time I've spent dealing with ill-advised attempts at acquisition semantics in XML, (aka "default values"), or in the Atom case, trying to argue them out over the years. But I think, a lot. Second, just allow the uniform interface and move on. Subsetting a uniform interface is - silly. I remember the Atompub WG seriously consider not using PUT and DELETE because lots of deployed infrastructure didn't support them. As of 2008, I still have to recommend X-HTTTP-MethodOverride as an option for protocols. Forms are not a special case of the Web's interface, imvho. Yes, I'm saying OPTIONS and MKCOL are valid values for the method attribute.
What would be nice - some text on server side validation. What happenss today is that servers often send back 200 Ok with validation errors. Server side validation is so common, I'd expect the 200 "Ok, but invalid" issue could get a mention. But maybe I missed it. Anyway, since the request was not ok, the 422 (Unprocessable Entity) would be a viable option for a failed validation.
21 Comments
Wouldn't the "default to get" be a result of HTML5's "Start by standardizing existing behaviour"? I think all current browser implementations I know of default to GET when there is no specified method, and changing that would "break the web", which I think HTML5 doesn't want to do.
Masklinn,
"changing that would "break the web", which I think HTML5 doesn't want to do."
But... "the web to break" isn't in HTML5, so I'm not sure that matters. Tbh, that's a personal design peeve with markup. The big thing for me would be allowing any HTTP method in a form - that would be a win.
I guess it's because most people developing for the web stilld don't see the benefit of the web as an architecture design. I'm reluctent to use REST but eventually the core principles of REST it is. I mean AtomPub is not REST but is thoroughly inspired by it.
I would bet that the folks behind HTML5 do understand those concepts better than most but they have made choices of a smooth upgrade from what we have now.
I love XForms and I'd say the guys behind it have answered the few shortcomings you highlight here, nonetheless XForms is still in the shadows of the web application land.
But let's face it, it will take another few years before we actually start seeing the benefit of all this because at the end of the day what matters to those producing applications is not whether or not it's done according to the book but how quickly it can get released and how many people will use it.
As long as the mind set has not changed we won't see much improvement. One good start would be to teach those concepts at University. I'm not sure the web as an application infrastucture is yet taught.
HTML5 defines anything sent as text/html as being HTML that can be processed using the HTML5 rules. The idea is that you can implement a Web browser by following the spec, without having to reverse-engineer other browsers (which is how browsers used to be written before HTML5).
The problem with allowing all the types is that what does it mean to have a form submit using the REPORT method? Or OPTIONS? Or CONNECT? Or any number of other valid methods? And what does it mean to submit to the FOOBARBAZ method?
I'm all for adding more actions, if they make sense, but we can't just say they all work, that would allow all kinds of crazy semantics that make no sense.
100222SLHYZ
Step into formality premium fraud absorbs moisture and keeps feet dry and comfortable in cold climates and friendly.ugg classic mini boots run somewhat large, discount ugg classic cardy boots is selling well for a long time and keep the trend towards christmas this year, ugg baily button boots cheap!.there why ugg boots are many reasons that have contributed to it. ugg classic short boots cheap is waiting for you.http://www.focusugg.com/products_new.html.
100222SLLYH
Our greatest glory uggs boots consists not in never falling but in rising every ugg classic tall time we fall.It is not enough ugg classic boots to be industrious, so are the ants. What are you industrious about ugg classic argyle knit? You have to believe in yourself. That's the ugg bailey button secret of sucess. A wise man never loses anything if he has himself. To be without some of the things you want is an indispensable part of happiness. http://www.4ezlive.com/
100223SLZQP
Everybody can be great timberland womens shoes because anybody can serve. You don't have to have a timberland roll top college degree to serve. You don't have to make your timberland 6 inch boots subject and verb agree to serve. you only need a heart full of grace. a soul timberland custom boots generated by love.For the memory of love is sweet though the love itself were in vain. And what I have kids timberland shoes lost of pleasure,assuage what I find of pain.For one human being to love another,that timberland chukka boots perhaps the most difficult of our tasks,the ultimate the last test and proof,the work for which all other work is but preparation. http://www.supertimberland.com/
20100223SLLYP A great mbt shoes poem is a fountain forever overflowing with the waters of wisdom and delight.Poet I mbt shoes sale who puts up a ladder to a star and climbs it while playing a violin.Humor has been well defined as thinking in mbt walking shoes while feeling in earnest.Words have a magical power. They can bring mbt shoes review either the greatest happiness or deepest despair; can transfer knowledge from teacher to students words enable the mbt lami sale orator to sway his audience and dictate its decisions. Words are capable of cheap mbt shoes arousing the strongest emotions and prompting all sell mbt shoes actions. Do not ridicule the use of words in psychotherapy. http://www.mbtshoessaletoday.com/revi...
20100224SLLYP All things in their being are mbt shoes sale good for something.The unexamined life is not worth living.Our cheap mbt shoes destiny offers not the cup of despair, but the chalice of opportunity. So let us seize it, not mbt walking shoes in fear, but in gladness.There is no such thing as a great talent mbt sport sneakers without great will.Try not to become a mbt lami sale man of success but rather try to become a man of value.Strength alone knows conflict, weakness is below mbt shoes even defeat, and is born vanquished.The failures and mbt chapa shoes reverses which await men - and one after another sadden the brow of youth add a mbt mens m.walk shoes dignity to the prospect of human life, which no Arcadian success mbt sport shoes sale would do.Our destiny offers not the cup of despair, but the chalice of opportunity. So let us seize it, not walk mbt shoes in fear, but in gladness.It seeks regions hitherto unexplored.It is not enough to be mbt lami shoes industrious, so are the ants.What are you mbt sport shoes industrious for?Life itself, without the assistance of colleges and universities, is becoming an advanced institution of learning.Towering genius disdains mbt m walk sneaker a beaten path. http://www.cutembt.com/
Thank you! I would now go on here every day!
http://www.infls.com
We are supply all kinds brand goods:
Shoes: Jordan, Nike,http://www.tougg.com Prada, Puma, LV, Timberland, Pual Smith, D&G, Supra, Adidas, Yeezy, ATO, CR etc.
Clothing: Coat, Jacket, T-shirt, Suit, Sweater, Jeans, Bikini, Jersey etc.
Handbags: Coach, Berberry, Balenciaga, http://www.bayugg.comJuicy, LV, ED-Hardy, MIUMIU, Chanel, Chole etc.
Accessories: Belts, Sunglasses, Hats, Necktie,http://www.tougg.com Scarf, Jewelry etc.
As the commodities we supply are of excellent quality http://www.aheadtrade.com and low price,
we have won a very good reputation from our clients all over the world.
If you are interested in any of our products, please don't hesitate to contact with me by email.
I trust that through our cooperation we shall be able to conclude some transactions with you in the near future.
Website: http://www.mbtshoe.co.uk
http://www.aheadtrade.com
http://www.bayugg.com
http://www.tougg.com
Best regards!
<a href="http://www.my-nikeshoes.com/">nike air max</a> is a Series of nike shoes products, which contain high-quality professional Nike Air components, can reduce the impact force generated by the feet floor, air-cushion in the integration of resilient synthetic rubber, in order to prevent the nike air max shoes deformation, with the same time to protect your feet comfortable and maintain a beautiful appearance. Our shop selling a variety of styles nike, such as <a href="http://www.my-nikeshoes.com/nike-air-max-360-c-283.html">air max 360</a>,nike air max 180,<a href="http://www.my-nikeshoes.com/">womens air max</a>,kids air max 90 and so on,insisting high quality as it is premise,Regard customer as the center, adhere to honesty and trustworthiness.
<a href="http://www.pinkebay.com/">Lebron James Shoes</a>
<a href="http://www.pinkebay.com/">nike kobe shoes</a>
<a href="http://www.pinkebay.com/">nike shox shoes</a>
<a href="http://www.my-nikeshoes.com/">nike air max</a> is a Series of nike shoes products, which contain high-quality professional Nike Air components, can reduce the impact force generated by the feet floor, air-cushion in the integration of resilient synthetic rubber, in order to prevent the <a href="http://www.my-nikeshoes.com/">nike air max shoes</a> deformation, with the same time to protect your feet comfortable and maintain a beautiful appearance. Our shop selling a variety of styles nike <a href="http://www.my-nikeshoes.com/">air max shoes</a>, such as <a href="http://www.my-nikeshoes.com/nike-air-max-360-c-283.html">air max 360</a>,<a href="http://www.my-nikeshoes.com/nike-air-max-180-c-282.html">nike air max 180</a>,<a href="http://www.my-nikeshoes.com/">womens air max</a>,<a href="http://www.my-nikeshoes.com/kids-air-max-90-c-298.html">kids air max 90</a> and so on,insisting high quality as it is premise,Regard customer as the center, adhere to honesty and trustworthiness.
[url=http://www.china-jewelry-wholesale.com]Wholesale jewelry[/url]
[url=http://www.china-jewelry-wholesale.com]jewelry wholesale[/url]
[url=http://www.china-jewellery-factory.com]china jewelry factory[/url]
[url=http://www.china-jewelry-manufacturer.com]jewelry manufacturer[/url]
[url=http://www.commoditywholesalemarkets.com]yiwu jewelry[/url]
[url=http://www.smallmoqjewelry.com]silver jewelry[/url]
[url=http://www.jewelry-store-wholesaler.com]handmade jewelry[/url]
[url=http://www.china-jewelry-wholesale.com]China wholesale jewelry[/url]
[url=http://www.china-jewelry-wholesale.com]fashioni jewelry wholesale[/url]
[url=http://www.china-jewellery-factory.com]jewelry factory[/url]
[url=http://www.china-jewelry-manufacturer.com]china jewelry manufacturer[/url]
[url=http://www.commoditywholesalemarkets.com]yiwu[/url]
[url=http://www.smallmoqjewelry.com]silver jewelry wholesale[/url]
[url=http://www.jewelry-store-wholesaler.com]cheap jewelry[/url]
100308SLHYZ
A most exciting new style ugg classic cardy for the Ugg line!Side zip on inner calf offers chanel handbags fresh style and easy on and off. Cute ugg short boots flaunts a soft suede upper and smooth seams. coach handbags Genuine sheepskin sockliner naturally wicks moisture away for dry, happy feet. Free shipping and fast delivery to your door. As a online shopping platform,ugg bailey button we have professional sales team, service team and securtiy team. We can provide fashion gucci handbags design and high quality online for our customers. http://www.officalugg.com/products_al...
<A href="http://www.patekphilippewatches.us/Rolex/Day%20Date%20II/">Rolex Day-Date II watch for sale</A><BR><A href="http://www.patekphilippewatches.us/">replica watches</A><BR><A href="http://www.patekphilippewatches.us/Tudor/">replica Tudor</A><BR><A href="http://www.patekphilippewatches.us/Cartier/">replica Cartier</A><BR><A href="http://www.patekphilippewatches.us/Panerai/">Panerai replica</A><BR><A href="http://www.patekphilippewatches.us/Hermes/">Hermes watch for sale</A><BR><A href="http://www.patekphilippewatches.us/Montblanc/">Montblanc watch for sale</A><BR><A href="http://www.patekphilippewatches.us/Rolex/Milgauss/">Rolex Milgauss watches</A><BR>
http://www.onlypuma.com puma shoes
http://www.onlypuma.com/mens-puma-sf-... Puma - SF Drift Cat
http://www.onlypuma.com/mens-puma-bay... Puma Baylee Future Cat II
http://www.onlypuma.com/mens-puma-dos... Puma Doshu Combat Shoes
http://www.onlypuma.com/mens-puma-flu... Men's Puma Fluxion II
http://www.onlypuma.com/mens-puma-fut... Puma Future Cat GT Ferrari
http://www.onlypuma.com/mens-puma-fut... Men's Puma Future Cat Lo Engine
http://www.onlypuma.com/mens-puma-fut... Puma Future Cat Low
http://www.onlypuma.com/mens-puma-laz... Puma Lazy Insect
http://www.onlypuma.com/mens-puma-sf-... Puma SF Trionfo Low
http://www.onlypuma.com/mens-puma-spe... Puma Speed Cat
http://www.onlypuma.com/mens-puma-spe... Puma Speed Cat Big
http://www.onlypuma.com/mens-puma-tri... Puma Trionfo Lo L II
http://www.onlypuma.com/mens-puma-tri... Puma Trionfo Low BAYLEE
http://www.onlypuma.com/mens-speed-ca... Speed Cat Big
http://www.onlypuma.com/puma-ducati-t... Puma Ducati Testastretta
http://www.onlypuma.com/puma-kimi-rai... Puma Kimi Raikkonen shoes
http://www.onlypuma.com/womens-puma-b... Puma Basket Brights
http://www.onlypuma.com/womens-puma-b... Puma Baylee Future Cat
http://www.onlypuma.com/womens-puma-d... Puma Drift Cat
http://www.onlypuma.com/womens-puma-e... Puma Engine Cat Low
http://www.onlypuma.com/womens-puma-e... PUMA Espera Patent FS
http://www.onlypuma.com/womens-puma-f... Puma Ferro Tessuto Shoes
http://www.onlypuma.com/womens-puma-f... Puma Future Cat Lo
http://www.onlypuma.com/womens-puma-f... Puma Future Cat Low
http://www.onlypuma.com/womens-puma-r... Puma Repli Cat
http://www.onlypuma.com/womens-puma-s... Puma SF Drift Cat
http://www.onlypuma.com/womens-puma-s... Puma Speed Cat Big
http://www.onlypuma.com/womens-puma-s... Puma Speed Cat Suede
<A href="http://www.longineswatches.org">cheap fake watches</A><BR><A href="http://www.longineswatches.org/">cheap replica watches</A><BR><A href="http://www.longineswatches.org/Ferrari/">Ferrari watch for sale</A><BR><A href="http://www.longineswatches.org/Maurice-Lacroix/">Maurice Lacroix watches</A><BR><A href="http://www.longineswatches.org/Tag-Heuer/">replica Tag Heuer</A><BR><A href="http://www.longineswatches.org/Rolex/Datejust%20II/">Rolex Datejust II watches</A><BR>
http://www.nowghd.com/limited-edition... A woman seldom asks advice before she has bought her wedding clothes. I married beneath me. All women do. Any intelligent woman who reads the marriage contract, and then goes into it, deserves all the consequences. http://www.nowghd.com/ghd-babyliss-ha...
http://www.onboots.com
http://www.onboots.com
http://www.onboots.com
http://www.onboots.com
http://www.onboots.com
http://www.onboots.com
http://www.onboots.com/kids-timberlan...
http://www.onboots.com/mens-timberlan...
http://www.onboots.com/mens-timberlan...
http://www.onboots.com/mens-timberlan...
http://www.onboots.com/mens-timberlan...
http://www.onboots.com/mens-timberlan...
http://www.onboots.com/mens-timberlan...
http://www.onboots.com/womens-timberl...
http://www.onboots.com/womens-timberl...
http://www.onboots.com/womens-timberl...
http://www.onboots.com/specials.html
--------------------------------------------------------------------------------------------------------------------------------
http://www.onlypuma.com
http://www.onlypuma.com/mens-puma-sf-...
http://www.onlypuma.com/mens-puma-bay...
http://www.onlypuma.com/mens-puma-dos...
http://www.onlypuma.com/mens-puma-flu...
http://www.onlypuma.com/mens-puma-fut...
http://www.onlypuma.com/mens-puma-fut...
http://www.onlypuma.com/mens-puma-fut...
http://www.onlypuma.com/mens-puma-laz...
http://www.onlypuma.com/mens-puma-sf-...
http://www.onlypuma.com/mens-puma-spe...
http://www.onlypuma.com/mens-puma-spe...
http://www.onlypuma.com/mens-puma-tri...
http://www.onlypuma.com/mens-puma-tri...
http://www.onlypuma.com/mens-speed-ca...
http://www.onlypuma.com/puma-ducati-t...
http://www.onlypuma.com/puma-kimi-rai...
http://www.onlypuma.com/womens-puma-b...
http://www.onlypuma.com/womens-puma-b...
http://www.onlypuma.com/womens-puma-d...
http://www.onlypuma.com/womens-puma-e...
http://www.onlypuma.com/womens-puma-e...
http://www.onlypuma.com/womens-puma-f...
http://www.onlypuma.com/womens-puma-f...
http://www.onlypuma.com/womens-puma-f...
http://www.onlypuma.com/womens-puma-r...
http://www.onlypuma.com/womens-puma-s...
http://www.onlypuma.com/womens-puma-s...
http://www.onlypuma.com/womens-puma-s...
Nice article with very good points. I will share it around.
<p>Christmas is coming. Guys are worried about the presents for their girlfriends. Flowers? Chocolate? Dress? If you still send your girlfriends these gift, you are out of day. <br>
Nowadays, people are fond of practical things as their gift, expecially girls. So what presents will you choose?<br>
Choosing a gift wont be a tough thing for you any more if you know <a href=" http://www.ugg24hours.com/ugg-bailey-...>. Ugg shoes are warm, comfortable, and soft. It can protect feet completely well. It can be ranged on the top list on your present choice.<br>
<a href=" http://www.ugg24hours.com/ugg-classic... classic tall boots< ></em></a> go with jeans, ugg classic short boots go with jeans, or ugg ultra tall boots go with skirt can make a girl look more fashionable. If you are a guy who don't know how to choose a gift, then, you can choose <a href=" http://www.ugg24hours.com/ugg-ultra-t... boots< ></em></a>. Your girls will feel happy for your considerate behavior. </p>