At this point, you are probably tired of hearing how HTML5 is changing everything. Everything in web applications and even mobile applications are changing. HTML5 even lets you create a web application that works almost like a desktop application. Yes, there is a lot of hype about HTML5, especially when you consider that the specification is not entirely complete. However, there is a lot of information that is fairly stable, and this is driving much of the hype.
So, what is HTML5? Actually, it is not just HTML. It is a family of technologies that includes new HTML tags, CSS3, and some new APIs. The new tags and css are really helpful, but the APIs are the parts of the specification that are the source of the hype.belwo are some key features about HTML5:
Semantics
HTML5 adds new tags for defining the structure of your pages. Tags like , , , and help put meaning into the structure of your documents. The addition of RDFa, microformats and microdata, add more programmatic accessibility and meaning to your content.
Offline & Storage
Offline access and storage is the most volatile section of the specification. The App Cache and Local Storage APIs are stable, and will prove very helpful to application developers looking to extend their reach and allow usage when not connected. Other APIs that are also being developed are the Indexed DB and File APIs.
Device Access
One of the more talked about aspects of this category is the Geolocation API, which gives web developers access to a user’s location similar to what many mobile applications have. There is access to other local device features (microphones and cameras) and data (contacts and events).
Connectivity
Quite possibly the most interesting piece of HTML5 is the WebSockets API. This allows the web application to make calls to a server without hacking together various AJAX requests or worrying about polling the server constantly. Additionally, the Server-Sent events (or push notifications) further the communications between the client and the server.
Multimedia
HTML5 adds several new audio and video tags that enable developers to add multimedia without the use of Flash. This becomes more important when dealing with the various mobile devices, especially those that are not Flash-enabled, like the iPhone.
3D, Graphics & Effects
There are a lot of features that have been added but the new Canvas has received all of the talk. CSS 3D effects have been implemented in browser-specific extensions. SVG has also been used for quite some time, as well as the WebGL specification. So, it makes sense that Canvas gets all of the attention, it is the only real new feature in the category.
Performance & Integration
People have been using AJAX for years, but the new specification has improvements in XMLHttpRequest 2. More interesting is the new WebWorkers specification, a new API that will help application developers develop background processes.
ที่จุดนี้คุณอาจจะเหนื่อยจากการได้ยินวิธี HTML5 มีการเปลี่ยนแปลงทุกอย่าง ทุกอย่างในการใช้งานเว็บและแม้กระทั่งการใช้งานโทรศัพท์มือถือมีการเปลี่ยนแปลง html5 แม้กระทั่งช่วยให้คุณสร้างโปรแกรมประยุกต์บนเว็บที่ใช้งานได้เกือบจะเหมือนโปรแกรมคอมพิวเตอร์ ใช่มีเป็นจำนวนมาก hype เกี่ยวกับ HTML5 โดยเฉพาะอย่างยิ่งเมื่อคุณพิจารณาว่าข้อมูลยังไม่สมบูรณ์อย่างสิ้นเชิง อย่างไรก็ตามมีจำนวนมากของข้อมูลที่มีเสถียรภาพค่อนข้างและนี้คือการขับรถมากของ hype.
ดังนั้น HTML5 คืออะไร? อันที่จริงมันไม่ได้เป็นเพียงแค่ HTML มันเป็นครอบครัวของเทคโนโลยีที่มีแท็กใหม่, CSS3, และบาง APIs ใหม่ แท็กใหม่ css และจะเป็นประโยชน์จริงๆ แต่ APIs เป็นส่วนหนึ่งของข้อกำหนดที่เป็นแหล่งที่มาของ hype.belwo มีบางคุณสมบัติที่สำคัญเกี่ยวกับ HTML5:
ความหมาย
HTML5 เพิ่มแท็กใหม่สำหรับการกำหนดโครงสร้างของหน้าเว็บของคุณ แท็ก , , , และ ช่วยให้ความหมายที่ใส่ลงไปในโครงสร้างของเอกสารของคุณ นอกเหนือจากการ RDFa, microdata microformats และเพิ่มการเข้าถึงการเขียนโปรแกรมมากขึ้นและมีความหมายกับเนื้อหาของคุณ.
เก็บ&ออฟไลน์
เข้าถึงแบบออฟไลน์และการเก็บรักษาเป็นส่วนที่มีความผันผวนมากที่สุดของคุณสมบัติ แคช app และ API สำหรับจัดเก็บในท้องถิ่นมีความเสถียรและจะพิสูจน์เป็นประโยชน์กับนักพัฒนาโปรแกรมที่ต้องการขยายการเข้าถึงของพวกเขาและช่วยให้การใช้งานเมื่อไม่ได้เชื่อมต่อ APIs อื่น ๆ ที่ยังมีการพัฒนาเป็นฐานข้อมูลการจัดทำดัชนีและ API ไฟล์.
เข้าถึงอุปกรณ์
หนึ่งในการพูดคุยเพิ่มเติมเกี่ยวกับลักษณะของประเภทนี้คือ API geolocation ซึ่งจะช่วยให้การเข้าถึงเว็บนักพัฒนาตำแหน่งของผู้ใช้ที่คล้ายกับสิ่งที่ใช้งานโทรศัพท์มือถือจำนวนมากมี มีการเข้าถึงคุณสมบัติอื่น ๆ อุปกรณ์ท้องถิ่น (ไมโครโฟนและกล้อง) และข้อมูล (รายชื่อและเหตุการณ์).
การเชื่อมต่อค่อนข้างเป็นไปได้ชิ้นส่วนที่น่าสนใจที่สุดของ HTML5 คือ API WebSocketsนี้จะช่วยให้โปรแกรมประยุกต์บนเว็บที่จะทำให้โทรไปยังเซิร์ฟเวอร์โดยไม่ต้องแฮ็คร่วมกัน ajax หน้าต่างๆหรือกังวลเกี่ยวกับการลงคะแนนเลือกตั้งเซิร์ฟเวอร์อย่างต่อเนื่อง นอกจากนี้เซิร์ฟเวอร์ที่ส่งเหตุการณ์ที่เกิดขึ้น (หรือการแจ้งเตือนผลักดัน) ต่อการสื่อสารระหว่างลูกค้าและเซิร์ฟเวอร์.
มัลติมีเดียHTML5 เพิ่มเสียงใหม่ ๆ และแท็กวิดีโอที่ช่วยให้นักพัฒนาในการเพิ่มมัลติมีเดียโดยไม่ต้องใช้แฟลช นี้จะกลายเป็นความสำคัญมากขึ้นเมื่อต้องรับมือกับอุปกรณ์มือถือต่างๆโดยเฉพาะอย่างยิ่งผู้ที่ไม่ได้เปิดใช้งานแฟลช, เช่น iPhone.
3d, กราฟิกผล&
มีจำนวนมากของคุณสมบัติที่ได้รับการบันทึก แต่ผ้าใบใหม่ที่ได้รับเป็น ทั้งหมดของการพูดคุยผล 3d css ที่ได้รับการดำเนินการในส่วนขยายของเบราว์เซอร์ที่เฉพาะเจาะจง SVG ยังได้ถูกนำไปใช้สำหรับค่อนข้างบางเวลาเช่นเดียวกับข้อกำหนด WebGL ดังนั้นมันทำให้รู้สึกว่าผ้าใบได้รับทั้งหมดของความสนใจมันเป็นเพียงคุณลักษณะใหม่จริงในประเภท.
ประสิทธิภาพการทำงานบูรณาการ&
คนได้ใช้ความ Ajax ปี แต่สเปคใหม่มีการปรับปรุงใน XMLHttpRequest 2ที่น่าสนใจคือสเปคใหม่ webworkers, API ใหม่ที่จะช่วยให้นักพัฒนาโปรแกรมประยุกต์ในการพัฒนากระบวนการพื้นหลัง.
การแปล กรุณารอสักครู่..