Code Monkey home page Code Monkey logo

Comments (2)

tonupold avatar tonupold commented on August 16, 2024

Protokolli laiendatavuse mõistmiseks võib improviseerida mida sellega teha tahetakse:

  • Praegu on spetsifitseeritud puhtalt peer-to-peer saatmine. Kas võiks tekkida vajadus keerukama hajusa saatmismudeli jaoks ? Kui on, siis võib see tingida täiendavate "custom header" tüüpi väljade kasutamise, mis määravad ruutimise/puhverdamise vms lisainfo. Lisaks kas need "header" väljad spetsifitseerida X-tee request headerina või DHX sendDocuments SOAP teenuse väljadena?Vahendamine juba klassfitseerub keerukama saatmismudeli alla ja seal vahendatava kood on üks selline ruutimise väli. Ehk siis küsimus: kas üldistada vahendamise loogikat?
  • Kas soovitakse saata midagi muud kui DVK kapsel? Kui on näha vajadust, siis sendDocuments teenuses peaks spetsifitseerima "mime-type" tüüpi või sarnase loogikaga välja. Kapsel ise on hetkel XML ja Kapslile endale hetkel mime-type defineeritud ei ole (mis eristaks seda teistest XML-idest).
  • Kas soovitakse saata täiendavat tehnilist või ärilist lisainfot, sellist mida kapsel hetkel ei võimalda saata? Hetkel on näha et üks selline täiendav info on "kaust" (see on pigem ruutimise tüüpi info, mitte äriline). Kas on veel midagi? Kas peaks üldistama lisainfo väljade defineerimise (XML extensible moel)?

from dhx.

tonupold avatar tonupold commented on August 16, 2024

XML Extensibility kohta:
https://msdn.microsoft.com/en-us/library/ms950793.aspx

The Difference Between Versioning and Extensibility
An XML format should be both backward and forward compatible. It should be backward compatible in that the new versions of the format should also be valid instances of older versions of the format, and thus not break any consumers of the original format. It should be forward compatible in that older versions of the format should also be valid instances of newer versions of the format, so old producers can work with consumers of the new format.

Versioning differs from extensibility in two broad ways. The first major difference is that versioning mechanisms must support change in a linear fashion, while extensibility mechanisms support change in a concurrent fashion. A versioning mechanism must define a mechanism to create a version 1, a backward compatible version 2, a backwards compatible version 3, and so on.

http://www.xml.com/lpt/a/2003/12/03/versioning.html

from dhx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.