Your SlideShare is downloading. ×
0
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Semantics In Declarative Systems
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Semantics In Declarative Systems

2,225

Published on

The presentation I gave at the 2007 Semantic Technology Conference. Declarative programming” has become the latest buzzword to describe languages that abstractly define systems requirements (the …

The presentation I gave at the 2007 Semantic Technology Conference. Declarative programming” has become the latest buzzword to describe languages that abstractly define systems requirements (the what) and leave the implementation (the how) to be determined by an independent process. This makes the semantics (meaning) of declarative data elements even more critical as these systems are shared between organizations. This presentation: (1) Provides a background of declarative programming (2) Describes why understanding the semantic aspects of declarative systems is critical to cost-effective software development.

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,225
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • Dan McCreary is a consultant from Minneapolis. This is his third year at SemTech. Last year he presented on using the NIME for K-12 data.
  • Transcript

    1. Semantics in Declarative System The Evolution of Business Unit Empowerment Dan McCreary Dan McCreary & Associates Wednesday, 5/23/2007 8:00 AM - 9:00 AM Level: Business/Strategic M D Metadata Solutions
    2. Presentation Summary <ul><li>“ Declarative programming” has become the latest buzzword to describe languages that abstractly define systems requirements (the what ) and leave the implementation (the how ) to be determined by an independent process. This makes the semantics (meaning) of declarative data elements even more critical as these systems are shared between organizations. This presentation: </li></ul><ul><ul><li>Provides a background of declarative programming </li></ul></ul><ul><ul><li>Describes why understanding the semantic aspects of declarative systems is critical to cost-effective software development </li></ul></ul>Note: All opinions stated in this paper are solely those of the author.
    3. Presentation Summary (cont) <ul><ul><li>Discusses declarative and semantic aspects of common development systems such as; XHTML, CSS, XForms, XML transforms, XML Schemas, OWL, metadata registries, web services, composition, service-oriented architectures (SOA) and the enterprise service bus (ESB) </li></ul></ul><ul><ul><li>Discusses how social networking software and Wikis are used to quickly build consensus on precise semantics </li></ul></ul><ul><ul><li>Presents ten specific recommendations to lower costs of agile information systems </li></ul></ul>
    4. Presentation Includes <ul><li>Definitions of declarative systems and contrasts with them with traditional procedural systems and stand-alone declarative languages </li></ul><ul><li>A critical analysis of semantics in declarative systems </li></ul><ul><li>Case studies using XForms, Wikis and other collaborative software </li></ul><ul><li>The role of social networking systems, reputation and trust in the development of semantically precise declarative frameworks </li></ul><ul><li>Specific recommendations of how organizations can be more effective by integrating semantics and declarative systems into their software development processes </li></ul>
    5. Evolution Metaphors <ul><li>Specialization of Languages </li></ul><ul><li>Generalization of Languages </li></ul>
    6. Evolution: Specialization <ul><li>Darwin’s Galapagos Finches </li></ul><ul><li>Beaks are highly adapted to different food sources </li></ul><ul><li>Finches adapted to specific ecological &quot;niches“ over millions of years of isolated evolution </li></ul><ul><li>Similar to domain-specific declarative languages </li></ul>See Wikipedia &quot;Darwin's Finches&quot;
    7. Evolution: Generalization <ul><li>Generalization: The Raccoon </li></ul><ul><ul><li>The world has a higher population of raccoons today due to their ability to quickly adapt to changing urban environments </li></ul></ul><ul><ul><li>Similar to highly adaptive procedural languages </li></ul></ul>
    8. Computer Science Abstractions time Higher abstractions Assembly 1010001010 Fortran FOR I = 1 TO 10 DO Structured Function(A, B) Object Class MyClass( Method MyMethod Declarative <xf:input> <xf:label>
    9. The Software Development Process <ul><li>Requirements are about “What” </li></ul><ul><li>Design and Build is about “How” </li></ul>Requirements (BA) Design (Architect) Build (Programmer) Test (QA Staff) Declarative Languages
    10. A Declarative “System” Is… <ul><li>A software development system, tailored to a specific domain (such as web applications), used to capture precise business requirements within the context of a problem domain (the implicit context) </li></ul><ul><li>Declarative systems do not specify how requirements are implemented to build working systems. Declarative systems only define the requirements </li></ul><ul><li>Declarative systems document requirements in specialized vocabularies and can be used to generate entire working systems including user interfaces, persistence and test data </li></ul><ul><li>Declarative systems specifically omit some assumed requirements (such as system availability, performance, reliability, security etc) </li></ul><ul><li>A Declarative system is a set of &quot; little languages &quot; with precise semantics that fit together like a puzzle to solve a problem </li></ul>
    11. Computer Science Definition <ul><li>Do not confuse a “Declarative System” with the computer science language taxonomy “Declarative Language” </li></ul><ul><li>“ Declarative languages&quot; are used to describe a group of programming languages and to contrast them against imperative languages. </li></ul>Declarative Languages Functional Languages Logic Languages Constraint Languages Have sub-types See Wikipedia “Declarative Programming”
    12. Declarative Systems and Context <ul><li>Declarative Systems are specialized languages for capturing requirements within a specific domain </li></ul><ul><li>Just as the word “play” connotes meaning based on context* (i.e. theater vs. a playground), a given vocabulary has the ability to capture requirements based on the current problem </li></ul><ul><li>The vocabulary for capturing electronic form requirements (XML Schema) may not be appropriate for expressing your build process (Apache Ant) </li></ul>* See: http://wordnet.princeton.edu
    13. HTML, CSS and SQL <ul><li>HTML, CSS, XQuery and SQL are declarative languages using these definitions </li></ul><ul><li>The semantics or “meaning” of each tag in the file is determined by an external organization </li></ul><ul><li>The syntax does not have to be XML </li></ul><?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?> < html xmlns =&quot; http://www.w3.org/1999/xhtml &quot;> < head > < title > Declarative Systems </ title > </ head > < body > < h1 > Introduction to Declarative Systems </ h1 > < p class =&quot; author &quot;> Dan McCreary </ p > < p class =&quot; date &quot;> April 2007 </ p > </ body > </ html > HTML /* global CSS used by all web pages */ body { font-family : Arial, Helvetica, sans-serif; font-size : 75%; margin : 0; padding : 0; width : 1000px; } h1 { color : blue ; padding : 0 15px; } CSS -- Old expensive books SELECT title, author, price, pubyear FROM books WHERE price > 100 AND pubyear BEFORE ‘1960’ ORDER BY title SQL xquery version &quot;1.0&quot; ; < html >< body > < h1 > Old Expensive Books </ h1 > < ul > { for $book in doc ( &quot;books.xml&quot; )//book order by $book /title return < li > { $book /title}, { $book }/author}, { $book }/price}, { $book }/pubyear} </ li > } </ ul ></ body ></ html > XQuery http://www.w3.org/TR/REC-html32#body
    14. XML Schema Sample <ul><li>Screen capture of Altova XML Spy </li></ul><ul><li>30 minutes to learn graphical notation </li></ul>See: http://www.altova.com/products/xmlspy/graphical_xml_schema_editor.html
    15. Use Case: Electronic Forms <ul><li>User fills out a web-based form </li></ul><ul><li>Typical requirements may include listing of data to be gathered, data types, validation codes and data repetition patterns </li></ul><ul><li>Examples: </li></ul><ul><ul><li>HTML Forms </li></ul></ul><ul><ul><li>XForms </li></ul></ul><ul><ul><li>InfoPath™ </li></ul></ul>
    16. Forms Players <html> <head> <xf:model> <xf:/model> <head> <body> <xf:input> </xf:input> </body> </html> My-XForm.xhtml See Wikipedia “XForms” Rendered Form XForms “Players” XForms Extension Mobile Client Forms Server Netfront Mobile
    17. What Is Declarativeness for A Context? <ul><li>Efficiency at capturing the testable business requirements in a semantically precise and concise manner </li></ul><ul><li>Example: Is a field optional? Will validation of the data fail if the field is missing? </li></ul><ul><li>Ability of each data element to have precise meaning over time and within organizations </li></ul>Schema Drawing Tool XML Schema File (.xsd) XForms xf|input:required {font-weight: bold;} xf|input:required .xf-value {background-color:#fff6af;} *:required::after {font-weight:bold; font-size:1.5em; content: &quot;*&quot;; color: red; } XForms CSS tags
    18. Declarative Spectrum <ul><li>For any given context different “languages” have different levels of “declarativeness” </li></ul><ul><li>General purpose languages are less abstract but can solve a wide variety of problems </li></ul><ul><li>Declarative languages have a more narrow purpose and target a specific problem like styling a web page or selecting data </li></ul>HTML Java Assembly Language C C++ JavaScript C# CSS XSL XML Schema Apache Ant XForms XQuery XQuery Update SQL XPath Ruby perl Groovy Python XUL Narrow Purpose More Abstract General Purpose Less Abstract
    19. Middle-Tiers Remain Procedural <ul><li>When the interface is consistent, declarative languages flourish </li></ul><ul><li>Middle tiers tend to have the most variation </li></ul><ul><li>Wikipedia lists over 200 web application frameworks </li></ul><ul><li>CMSMatrix.org lists over 700 content management systems </li></ul>user database declarativeness Presentation/style (client tier) Data definition, insert, selection and update (persistence tier) Business Logic (middle tier) See: http://en.wikipedia.org/wiki/List_of_web_application_frameworks and http://www.cmsmatrix.org
    20. The Application Development Puzzle Semantics Constraints Presentation Build Publish Transform Workflow Query Update Forms
    21. Filling In Each Piece With A Declarative Language XMLSchema CSS HTML Apache Ant Metadata Registry Cocoon XSL BPEL XQuery XQuery Update XForms
    22. Semantically Precise Vocabularies See: http:// en.wikipedia.org/wiki/Category:XML-based_standards XML Business Reporting Language XBRL US Department of Justice (registry) GJXDM School Interoperability Framework SIF OpenTravel Alliance (Travel industry) OTA National Information Exchange Model (registry) NIEM Mortgage Industry MISMO Healthcare (now using XML) HL7 Banking (Financial Information eXchange) FixML Financial Products Markup Language FpML Insurance Industry Forms Data ACORD Syndication/Notification Atom/RSS Domain Standard
    23. Metadata Shopping Tools <ul><li>You don’t need to know about 100,000 SKUs to purchase 10 items from a grocery store </li></ul><ul><li>Sub-schema generation tools give you exactly what you need and nothing more </li></ul>Phone Address FirstName See http://niem.gtri.gatech.edu/iepd-ssgt/SSGT-SearchSubmit.do
    24. Criteria for Semantic Precision <ul><li>Is there a published standard? </li></ul><ul><li>Are there ISO/IEC 11179 definitions? </li></ul><ul><ul><li>concise, precise, non-circular, distinct </li></ul></ul><ul><li>Are people using it? </li></ul><ul><ul><li>Do a Google search </li></ul></ul><ul><ul><li>> 100,000 and you are safe </li></ul></ul><ul><ul><li>< 10,000 and you should be concerned </li></ul></ul>Examples: filetype:owl, filetype:xsd See “Metadata publishing” Wikipedia
    25. If You Use Industry Standards… You Could Be Almost Done… <ul><li>If you use industry standards… </li></ul><ul><ul><li>and these standards publish their documents in XML Schema format… </li></ul></ul><ul><ul><li>and these standards have been transformed from XML Schema to XForms… </li></ul></ul><ul><ul><li>and you use native XML databases to store and XQuery to report on the data… </li></ul></ul><ul><li>… then sample applications have been created and do not require additional procedural code </li></ul><ul><ul><li>just change the constraints in the XML Schema and rerun the transforms </li></ul></ul>See also: http:// www.alphaworks.ibm.com/tech/purexml See: http:// www.exist-db.org
    26. Accessibility Lower costs by moving routine logic maintenance to lower levels in the pyramid Business Analysts SMEs and GUI Tools Users <ul><li>Precisely specify business requirements </li></ul><ul><li>Requires data stewardship training </li></ul>Procedural Programmers <ul><li>Extend declarative vocabularies and provide web service “glue” </li></ul>IT Strategists <ul><li>Architecture and Strategy </li></ul><ul><li>(prevent unnecessary procedural code) </li></ul>
    27. Java Libraries 10,000 class and 100,000+ methods available … but which ones are relevant to your business problem?
    28. “ Less is More” <ul><li>XForms 1.1 has only 21 XML elements </li></ul><ul><li>Much of the presentation of XForms is deferred to CSS </li></ul><ul><li>Event management is deferred to the XML Events </li></ul><ul><li>XML binding is deferred to the XBL standard </li></ul>See Wikipedia “Minimalism” Mies van der Rohe Reconstruction of the German Pavilion in Barcelona
    29. Learning XForms Vocabulary <ul><li>Bind </li></ul><ul><li>Case </li></ul><ul><li>Input </li></ul><ul><li>Instance </li></ul><ul><li>Group </li></ul><ul><li>Help </li></ul><ul><li>Hint </li></ul><ul><li>Label </li></ul><ul><li>Load </li></ul><ul><li>Output </li></ul><ul><li>Message </li></ul><ul><li>Model </li></ul><ul><li>Repeat </li></ul><ul><li>Secret </li></ul><ul><li>Select </li></ul><ul><li>Select1 </li></ul><ul><li>Switch </li></ul><ul><li>Submission </li></ul><ul><li>Submit </li></ul><ul><li>Textarea </li></ul><ul><li>Trigger </li></ul>Source: W3C XForms Quick Reference http://www.w3.org/MarkUp/Forms/2006/xforms-qr.html
    30. Recognizing XForms Structures <ul><li>Bind </li></ul><ul><li>Case </li></ul><ul><li>Input </li></ul><ul><li>Instance </li></ul><ul><li>Group </li></ul><ul><li>Help </li></ul><ul><li>Hint </li></ul><ul><li>Label </li></ul><ul><li>Load </li></ul><ul><li>Output </li></ul><ul><li>Message </li></ul><ul><li>Model </li></ul><ul><li>Repeat </li></ul><ul><li>Secret </li></ul><ul><li>Select </li></ul><ul><li>Select1 </li></ul><ul><li>Switch </li></ul><ul><li>Submission </li></ul><ul><li>Submit </li></ul><ul><li>Textarea </li></ul><ul><li>Trigger </li></ul>Color coding limited vocabularies can increase the speed of pattern matching. Look for advanced text editors to provide custom element coloring.
    31. The New Semantics of &quot;Nutshell&quot; <ul><li>The 1.4 release of Java 2 Standard edition increases the size of the platform by 50%, to 2,757 classes in 135 packages </li></ul><ul><li>1.5 and 1.6 add additional classes </li></ul>nutshell : something of small size, amount, or scope in a nutshell : in a very brief statement 992 pages
    32. Procedural Programming is Not “Poison” <ul><li>It would be a mistake to tell all your procedural programmers that the programs they are creating are fundamentally evil </li></ul><ul><li>The relevant questions are: </li></ul><ul><ul><li>How closely does it fit the problem domain? </li></ul></ul><ul><ul><li>Can BAs, SMEs and other non-programmers maintain the business rules? </li></ul></ul><ul><ul><li>What are the chances that others will be able to maintain it in future years? </li></ul></ul><ul><ul><li>How good are the development tools for your system? </li></ul></ul>
    33. Popular Language Have Better Tools <ul><li>Editor </li></ul><ul><ul><li>Syntax coloring </li></ul></ul><ul><li>Debugger </li></ul><ul><ul><li>Set breakpoints </li></ul></ul><ul><ul><li>View internal state variables </li></ul></ul><ul><li>Refactoring tools </li></ul><ul><ul><li>Can recognize reoccurring patterns and suggest alternatives </li></ul></ul><ul><li>Performance </li></ul><ul><ul><li>Code profiling </li></ul></ul>demand Limited supply curve $ quantity Limited resource cost curve Whuffie curve Whuffie is a reputation based currency. Prices drop as demand increases. The higher demand for a good debugger, the better open-source products will become.
    34. If You Give a Kid a Hammer… <ul><li>People solve problems using familiar tools </li></ul><ul><li>People develop specific Cognitive Styles * based on training and experience </li></ul><ul><li>What are we teaching the next generation of developers? </li></ul>* Source: Shoshana Zuboff: In the Age of the Smart Machine (1988) … the whole world becomes a nail
    35. Use Case: Build Scripts <ul><li>Instructions for compiling source code or transforming data </li></ul><ul><li>Vocabulary includes terms such as build, compile, transform, copy or clean </li></ul><ul><li>Examples: </li></ul><ul><ul><li>Apache Ant </li></ul></ul><ul><ul><li>Apache Maven </li></ul></ul><ul><ul><li>UNIX™ make </li></ul></ul>
    36. Use Case: Data Selection With XQuery <ul><li>Ways to specify what data you want to extract from a data set </li></ul><ul><li>Typical tasks include selecting attributes (columns), filtering, restricting results and changing sort order </li></ul><ul><li>Examples </li></ul><ul><ul><li>Structured Query Language (SQL) </li></ul></ul><ul><ul><li>XQuery (w3c standard) </li></ul></ul><ul><ul><li>FLOWR </li></ul></ul>
    37. Semantics <ul><li>The science of meaning </li></ul><ul><li>What you mean when you say “cat” </li></ul><ul><li>How do you associate meaning with symbols (verbal, physical, textual) </li></ul><ul><li>How do we know if we both mean the same thing when we use a word? </li></ul><ul><li>What if a word has multiple meanings? </li></ul>Reference: WordNet
    38. Semantic Triangle <ul><li>Symbols can only link to referents through concepts </li></ul><ul><li>You can not link directly from a symbol to a referent </li></ul>referent concept symbol “ cat” Wikipedia: Semiotic triangle
    39. Communication <ul><li>Communication involves exchanging symbols that describe common attributes </li></ul><ul><li>A one-to-one match of attributes that describe a common symbol match implies a high precision match </li></ul>“ cat” <ul><li>Domestic feline </li></ul><ul><li>House pet </li></ul><ul><li>Has fur </li></ul><ul><li>Has whiskers </li></ul><ul><li>Sometimes has fleas </li></ul><ul><li>Chases mice </li></ul><ul><li>Domestic feline </li></ul><ul><li>House pet </li></ul><ul><li>Has fur </li></ul><ul><li>Has whiskers </li></ul><ul><li>Sometimes has fleas </li></ul><ul><li>Chases mice </li></ul>
    40. Same symbol – different meaning <ul><li>Little match of common attributes </li></ul><ul><li>Low precision semantic match </li></ul>“ customer” <ul><li>First name </li></ul><ul><li>Last name </li></ul><ul><li>Home address </li></ul><ul><li>E-mail </li></ul><ul><li>Cell phone number </li></ul><ul><li>Gender </li></ul><ul><li>Company name </li></ul><ul><li>Home office address </li></ul><ul><li>Branch office address </li></ul><ul><li>CEO name </li></ul><ul><li>Web site </li></ul><ul><li>Industry code </li></ul>
    41. High and Low Precision <ul><li>The ideal is to have a precise standard and to use the data elements exactly as they were intended </li></ul>vague standard vague usage Not-so-good precise standard vague usage better precise standard precise usage best
    42. Semantic Precision <ul><li>Semantic mappings are relative in time and between groups of people (organization) </li></ul><ul><li>Semantic variability over time </li></ul><ul><ul><li>Something that has precise meaning to you today may not have the same precise meaning a year from now </li></ul></ul><ul><ul><li>Our memories are imperfect and change over time </li></ul></ul><ul><li>Semantic variability across organizations (project and organization) </li></ul><ul><ul><li>A “customer” to one organization may denote a person but to another organization it may denote a company </li></ul></ul>
    43. Semantics of an XML Data Element <ul><li>A developer puts an XML data element in an xml file </li></ul><ul><li>The tag has some meaning and the data within the tag has some meaning when it was created by the developer </li></ul><ul><li>What is the probability </li></ul><ul><ul><li>That the developer will know the same meaning of the code 47 one year later </li></ul></ul><ul><ul><li>That another project that opens file will understand and be able to use the meaning of the tag </li></ul></ul><ul><ul><li>Vague standards often trigger vague interpretations of the meaning of data </li></ul></ul>< code > 47 </ code >
    44. Semantic Precision in Space and Time time space: (projects, organizations) Small Semantic Footprint (rapid prototype) Large Semantic Footprint (long lifetime systems) weeks months years 10+ years person team dept. world enter- prise
    45. DRY Coding, XSL and MDA <ul><li>If developers can’t quickly transform it… </li></ul><ul><ul><li>… they will copy it. </li></ul></ul><ul><li>DRY: Don’t Repeat Yourself </li></ul><ul><li>Documentation </li></ul><ul><ul><li>Is always kept up to date? </li></ul></ul><ul><ul><li>Do developers communicate their intent? </li></ul></ul><ul><ul><li>JavaDoc – generated from the source code </li></ul></ul><ul><li>The tendency to copy and paste is just too common </li></ul><ul><ul><li>Developers must be diligent </li></ul></ul><ul><ul><li>Budgets must be adequate </li></ul></ul><ul><ul><li>Time must be sufficient </li></ul></ul><ul><li>You can promote Model-Driven Architecture (MDA) by reducing the effort of transformation from specifications captured in declarative languages </li></ul>
    46. Use Procedural “Glue” <ul><li>XForms uses a REST interface to send XML to a server </li></ul><ul><li>Some XML databases (DB2 v9) sill use JDBC interfaces to insert XML documents </li></ul><ul><li>Use procedural glue to build custom interfaces between systems with incompatible interfaces </li></ul>Procedural “Glue” XQuery Update (JDBC) XForms XML (REST)
    47. How Quickly Can We Create New Declarative Languages? <ul><li>Configuration files are really just small languages </li></ul><ul><li>Configuration files are easy to parse, validate data using XML tools and build custom forms to use </li></ul><ul><li>Easy to teach non-programmers to graphically build XML Schemas to validate XML files </li></ul><ul><ul><li>Answer – About a week </li></ul></ul>
    48. How Quickly Can We Create Consensus? <ul><li>Example: XForms standard </li></ul><ul><ul><li>Work started in 2001 </li></ul></ul><ul><ul><li>XForms 2.0 is still a two to three years away </li></ul></ul><ul><li>How can we accelerate this consensus building process? </li></ul>What factors impact the rate that species evolve? What impact does life span have on a species? How are design ideas exchanged between species?
    49. Solution: Wikis and Collaboration <ul><li>How long does it take to build consensus on the semantics of a new data element? </li></ul><ul><li>How many people might use this declarative language? </li></ul><ul><li>The larger the stakeholder group, the longer it takes </li></ul>
    50. Parker Projection Time Source: Jason Parker, Minnesota Department of Revenue, November 2006 100% Relative Code Base Procedural code (Java, JavaScript, VB, C#, C++) Declarative code (XHTML, CSS, XSLT, XForms)
    51. Top 10 Recommendations <ul><li>Use semantically-precise declarative systems over procedural systems when the business problem is in the right context </li></ul><ul><li>Aggressively promote data stewardships within business units </li></ul><ul><li>Use controlled vocabularies and metadata shopping tools to allow non-programmers to select data elements from lists </li></ul><ul><li>Separate semantics (leaf elements) from constraints (branches) </li></ul><ul><li>Leverage the pattern matching portion of the brain using graphical development tools and element-based syntax coloring editors </li></ul><ul><li>Train programmers on ways to extend declarative vocabularies using technologies such as XML Binding Language (XBL) </li></ul><ul><li>Use procedural code to build interfaces between incompatible systems </li></ul><ul><li>Isolate procedural by providing XML/REST service wrappers code behind semantically precise web services </li></ul><ul><li>Don’t expect your procedural programmers to jump on the declarative bandwagon without some training </li></ul><ul><li>Use social networking tools (voting, wikis) to rank and find appropriate tags and extensions </li></ul>
    52. Unanswered Questions <ul><li>How will declarative systems evolve? Will there be a few or many? </li></ul><ul><li>How quickly will declarative languages evolve? Will they continue to specialize? </li></ul><ul><li>Can we deliver entire working systems without ever leaving a single family of standards? (see XForms/eXist and w3c example) </li></ul><ul><li>What will be the impact of semantic wikis and micro-formats? </li></ul><ul><li>Can individual tags stand alone or do they need to be integrated into larger standards to be accepted? </li></ul><ul><li>Will metadata shopping tools and graphical constraint tools make the process of building entire systems accessible to mere mortals? </li></ul><ul><li>Will declarative systems halt overseas out-sourcing of procedural software developers? </li></ul><ul><li>Will there be a large increase in the demand for staff that can extend declarative systems? </li></ul><ul><li>Will declarative systems allow applications to run anywhere a “Forms Players” can run? </li></ul><ul><li>Will vendors used to locking customers into proprietary APIs be forced to compete by having more robust and more reliable execution platforms? </li></ul>
    53. Selected References <ul><li>Evolution </li></ul><ul><ul><li>Charles Darwin, Origin of the Species </li></ul></ul><ul><ul><li>Richard Dawkins, The Blind Watchmaker </li></ul></ul><ul><li>Cognitive Styles </li></ul><ul><ul><li>Shoshana Zuboff: In the Age of the Smart Machine (1988) </li></ul></ul><ul><li>Building Trust </li></ul><ul><ul><li>Succeeding with Objects: Decision Frameworks for Project Management , Adele Goldberg and Kenneth S. Rubin </li></ul></ul><ul><li>XML Data Standards </li></ul><ul><ul><li>NIEM Concept of Operations at NIEM.gov </li></ul></ul><ul><ul><li>ISO/IEC 11179 (wikipedia) </li></ul></ul><ul><li>XForms </li></ul><ul><ul><li>XForms.org, wikipedia </li></ul></ul><ul><li>Domain Specific Languages </li></ul><ul><ul><li>Niel Ford, Language Oriented Programming </li></ul></ul><ul><ul><li>Martin Flowler </li></ul></ul><ul><ul><ul><li>http://www.infoq.com/presentations/domain-specific-languages </li></ul></ul></ul>

    ×