XML

Atom Publishing Protocol

พักนี้เจอชื่อ AtomPub หรือชื่อเต็ม Atom Publishing Protocol (APP) ค่อนข้างบ่อย เลยอ่านเสียหน่อย

AtomPub เป็นหนึ่งในสองมาตรฐานย่อยของ "Atom" อีกมาตรฐานหนึ่งใช้กันแพร่หลายพอสมควรคือ Atom Syndication Format (ถ้าไม่เคยเห็น ลองกดได้)

ตามชื่อที่ทำตัวหนาไว้

  • Atom Syndication Format เป็นฟอร์แมตของเนื้อหา
  • Atom Publishing Protocol เป็นโปรโทคอล (ที่ใช้รับส่งข้อมูลแบบ Atom Syndication Format)

มันเป็นส่วนเติมเต็มซึ่งกันและกัน เหมือน HTML กับ HTTP

Atom Syndication ออกมาสักระยะแล้ว (เคยเขียนถึงไปแล้วด้วย RSS 2.0 vs Atom 1.0) ส่วน AtomPub ออกมาตั้งแต่ปี 2006 ถึงจะยังไม่ดังมากแต่ก็มีคนใช้อยู่หลายราย ที่เด่นๆ ก็คือ Google Data API ซึ่งเป็น AtomPub + extension ของกูเกิลเอง

Keyword:

XML People

XML People - Tim Bray

I just know that, in the western world, my former (and first) boss is considered 'darkish' :D

James Clark Got Blog

Blogosphere seems to have some level of excitement after James Clark start blogging. Some even said that "the Blogosphere is a little smarter" because of this. His first entry, criticizing XML payload issue, receives a plenty of quotation throughout the XML community.

I have told him several times to start blogging. He, who was my first and former boss, just said to me that he was too lazy to write. Now I'm glad to know he changed his mind.

Element vs Attribute

ตอนเขียนเรื่อง EDXL เกิดคำถามว่าทำไมถึงใช้ element มากกว่า attribute

เคยอ่านมา (แบบลืมๆ) ว่าถ้าต้องการ order ของข้อมูลให้ใช้ element ถ้าไม่ต้องการก็อาจใช้ attribute ได้ แต่มันน่าจะมีคำตอบที่ดีกว่านี้สิ

ลองค้นดูก็พบว่านี่เป็นคำถามคลาสสิคของ XML (ย้อนไปถึง SGML) ที่ไม่มีคำตอบตายตัวซะด้วย

Keyword:

Etna, WYSIWYG RelaxNG Editor

Daniel Glazman คนเขียน Nvu หนีไปทำ Etna เป็น WYSIWYG Editor สำหรับ RelaxNG

นี่เป็นสาเหตุว่าทำไม Nvu มันแทบไม่พัฒนาต่อ ก็เพราะว่า Etna ทำแล้วได้เงินนินา (โครงการนี้ Rice University จ้างทำ)

คนไม่ได้อยู่ในสาย XML อาจไม่รู้จัก RelaxNG เนื่องจากว่ามันค่อนข้างใหม่ ให้อธิบายง่ายๆ มันเป็น schema language เหมือนกับ DTD หรือ XML Schema (XSD) เพียงแต่ RelaxNG ออกแบบมาแก้ข้อด้อยที่ XSD มันเขียนยาก และที่สำคัญเจ้านายผมเป็นคนสร้าง :D

Pages

Subscribe to RSS - XML