logo
Duncan Cragg on Declarative Architectures
A Blog About...
Duncan Cragg...
...has spent the last two decades finding ways to explain that programming needn't be limited to:
Threads, Message Queues, Client-Server, CORBA, Web Services, SOAs, Agents, Synchronous Architectures and Imperative Programming
...worked for ThoughtWorks UK from April 2002 to July 2007 and now works for the Financial Times as a Web Application Architect
...is writing a book called 'The Reality Web', about our digital future
...went to both UCL and Imperial College of the University of London (in the Eighties); specialising in Logic during his MSc.
...got hooked on the idea of 'microcomputers' nearly three decades ago, then designed and built one using the 1802 chip, 512 bytes of CMOS RAM, eight switches and eight LEDs
...supports the Open Rights Group, Open Source and Freedom generally
...wonders when his LinkedIn Account will be useful
...loves Django so much he built this blog on it
...has a phone-cam, and used it on himself once, just before his weekly shave:
Photo of Duncan Cragg
...can be contacted by
The Rebels vs. the Empire...
The enemy keeps changing. Bloated 'enterprise' technology has constantly changed form to try and outwit us. First DCE, then CORBA, next J2EE and now:

WS-Death-*
Posts tagged 'declarative' Atom Feed for Posts tagged 'declarative'
 
 
Content-Types and URIs | The REST Dialogues
February 16, 2008 23:44

In an exclusive nine-part dialogue with an imaginary eBay Architect, we present an accessible discussion of the REST vs. SOA issue.

Although eBay have what they call a 'REST' interface, it is, in fact, a STREST interface, and only works for a few of the many function calls that they make available via SOAP (GetSearchResults, GetItem, GetCategoryListings, etc).

In this dialogue series, I argue the case for eBay to adopt a truly REST approach to their integration API.

Part 6: Content-Types and URIs   ...

 
Google Micro Conference
October 5, 2007 11:22

Last night's Google London Open Source Jam (also here) was on the subject of the 'Web' (didn't they invent that? Oh no, that was Microsoft).

This event has been getting better and better each time I've attended. There were some very interesting lightning talks held together with a tight structure and plenty of chance to chat, drink cold Leffe and eat cold pizza. And nick [transatlantic translation: 'steal'] the Green & Black's chocolate.

An ideal Micro Conference...   ...

 
How Ruby can enable the Web 2.0 Platform
June 26, 2007 15:17

Web 2.0's definition includes seeing the Web as an application platform. Which means it is in competition with Java and .Net, and with SOA, for both local and widely distributed applications.

If the Web is going to be a platform, the skills you need to learn to program it are the core Web 2.0 technologies such as Ajax, JSON, Atom, Microformats and OpenID.

And Ruby. This language, that's capturing the hearts of many Web 2.0 programmers, is ideal for easing the transition from the Java and .Net platforms to the Web platform, as I will show.

Even if you're part of a big company that is generally immune to the latest trends, the marriage of Ruby and the Web-as-platform may be something to prepare for. It could even displace your SOA agenda...   ...

 
The Distributed Observer Pattern | The REST Dialogues
June 20, 2007 22:42

In an exclusive nine-part dialogue with an imaginary eBay Architect, we present an accessible discussion of the REST vs. SOA issue.

Although eBay have what they call a 'REST' interface, it is, in fact, a STREST interface, and only works for a few of the many function calls that they make available via SOAP (GetSearchResults, GetItem, GetCategoryListings, etc).

In this dialogue series, I argue the case for eBay to adopt a truly REST approach to their integration API.

Part 5: The Distributed Observer Pattern   ...

 
Inter-Enterprise REST Integration | The REST Dialogues
April 8, 2007 13:38

In an exclusive nine-part dialogue with an imaginary eBay Architect, we present an accessible discussion of the REST vs. SOA issue.

Although eBay have what they call a 'REST' interface, it is, in fact, a STREST interface, and only works for a few of the many function calls that they make available via SOAP (GetSearchResults, GetItem, GetCategoryListings, etc).

In this dialogue series, I argue the case for eBay to adopt a truly REST approach to their integration API.

Part 4: Inter-Enterprise REST Integration   ...

 
Lighter-than Wins in 2007
January 18, 2007 11:12

What do all the MAJOR Web 2.0 technologies of 2007 have in common?

Let me list them first:

    M.icroformats (including tags)
    A.jax (including Comet)
    J.SON (plus YAML)
    O.penID (plus SXIP, LID, Yadis)
    R.EST (including Atom, APP)

What these technologies have in common is that they're all lighter than their competitors:

Microformats

Lighter than the Semantic Web

Ajax

Lighter than Fat Client (!)

JSON

Lighter than XML

OpenID

Lighter than SAML/Liberty Alliance

REST

Lighter than SOA

  ...

 
Business Functions | The REST Dialogues
January 10, 2007 14:21

In an exclusive nine-part dialogue with an imaginary eBay Architect, we present an accessible discussion of the REST vs. SOA issue.

Although eBay have what they call a 'REST' interface, it is, in fact, a STREST interface, and only works for a few of the many function calls that they make available via SOAP (GetSearchResults, GetItem, GetCategoryListings, etc).

In this dialogue series, I argue the case for eBay to adopt a truly REST approach to their integration API.

Part 3: Business Functions   ...

 
eBay's Working Architecture
December 14, 2006 14:15

There were two things I knew about eBay's Architecture - that they use J2EE and that they seem to like SOA. Both are approaches I give, ahem, special mention to on all my pages at the bottom of the left-hand column.

So it was with some apprehension that I opened up this (PDF) slide pack from Dan Pritchett and Randy Shoup of eBay, presented at SD Forum 2006 recently. I was expecting my prejudices around the issues and techniques of scaling web sites to be challenged, at least.   ...

 
Setting Data | The REST Dialogues
November 15, 2006 23:37

In an exclusive nine-part dialogue with an imaginary eBay Architect, we present an accessible discussion of the REST vs. SOA issue.

Although eBay have what they call a 'REST' interface, it is, in fact, a STREST interface, and only works for one of the many function calls that they make available via SOAP (GetSearchResults).

In this dialogue series, I argue the case for eBay to adopt a truly REST approach to their integration API.

Part 2: Setting Data   ...

 
Getting Data | The REST Dialogues
November 14, 2006 00:05

In an exclusive nine-part dialogue with an imaginary eBay Architect, we present an accessible discussion of the REST vs. SOA issue.

Although eBay have what they call a 'REST' interface, it is, in fact, a STREST interface, and only works for one of the many function calls that they make available via SOAP (GetSearchResults).

In this dialogue series, I argue the case for eBay to adopt a truly REST approach to their integration API.

Part 1: Getting Data   ...

 
The Right Way to do Ajax is Declaratively
July 13, 2006 14:33

Don't write your interactive Web application in custom Javascript! The Web's Declarative nature needn't be broken just because you want two-way dynamic data instead of one-way documents on your site.

Instead, write Declaratively to generic Javascripts, plugins and browser features such as Hijax, hInclude, XForms, SVG, XBL, etc.   ...

 
Web 2.0 and our Digital Rights
June 23, 2006 17:58

Open Data .. has .. recently .. been.. all .. over .. the .. blog .. o .. sphere!

Openness is a classic Us-and-Them issue. Big, nasty Apple/MySpace/Flickr is trying to control what little me/SingleStatus/Zoomr can do with my/our own stuff.

Open Data vs. Closed; Open Source vs. Proprietary; P2P vs. DRM; privacy vs. surveillance. The battles between the freedom of the pioneer, the individual and the minority against the rules and stability of the establishment and the majority form the endless shape of human history.

Us beating Them is Hollywood's favourite subject on-screen - and ironically Them fighting Us Hollywood's favourite battle off-screen.

As an Us-and-Them issue, with Us less powerful than Them, it's also tempting to give up and to follow the crowd - to do what we're told, to not ask for or sieze the privacy and open data we feel entitled to.

However, at XTech 2006 recently, there was a set of talks on the subject with a more positive approach.   ...

 
The 2006 'What Now How' Awards for REST Protocols
June 15, 2006 00:30

It gives me great pleasure to announce the 2006 'What Now How' Awards for REST Protocols (or 'APIs') in the Read/Write Category.

All this year's awardees share the distinction of being truly worthy of the 'REST' label; these Read/Write Protocols are acknowledged here for their uncompromising adherence to the simple principles of the World Wide Web.   ...

 
Microformats Challenge Web Feeds and Web APIs!
June 7, 2006 19:10

Microformats are subversive: they not only challenge the approach of full-blown Semantic Web approaches, but even question fundamental Web 2.0 building blocks such as Web Feeds and Web APIs.

I recently attended XTech 2006, where there were a few talks related to Microformats.

After summarising these talks, I'll finish with my shocking revelations about the subversive nature of Microformats!   ...

 
STREST (Service-Trampled REST) Will Break Web 2.0
May 25, 2006 19:05

The vast majority of supposedly 'REST' Web APIs are simply abusing HTTP to carry function calls. I call these APIs 'Service-Trampled REST', or STREST.

STREST APIs come with specific costs which could stifle the two-way data Web (Web2.0) if allowed to propagate unchecked. Although 'mashability' is a supposed benefit of the current proliferation of APIs, true interoperability and scalability can only be guaranteed by true REST interaction.

This is not an academic, purist or aesthetic stance, but one based on practical consequences, as I will explain.   ...

 
Excuse me - did you say 'Web' Services?
May 17, 2006 00:27

Distributing an application over a network isn't just a case of splitting it down a natural line and putting a network in-between. What works in-process simply doesn't work so well across the wire.

And just calling such an Internet version of application and process interfaces 'Web' Services doesn't mean it has anything at all to do with the Web, or that it in any way shares the Web's scalability, flexibility and robustness.

Indeed, I claim that you cannot distribute without also 'inverting'; you have to face what I call the 'Imperative-to-Declarative Inversion', if you really want a successful, scalable, distributed application.

Declarative Architectures such as REST (i.e. the Web, and now 'Web 2.0') dominate the broader Internet.   ...

 
The "Imperative to Declarative Inversion": Open Data is OK!
May 11, 2006 21:36

There is something about the Internet that nurtures open data, and something about computers that nurtures closed. It is often necessary, but often painful, to make the jump from local, closed data to global, open data.   ...

 
Welcome to 'What Not How'
March 22, 2006 17:00

Declarative Architectures focus on the What, not the How, of programming. The How has dominated the field - perhaps 80% of programming is done in the traditional Imperative style, where we tell the computer How to do a task in explicit steps.

I'd like to show in this blog how Declarative Architectures and technologies are not just an interesting sideshow to the main Imperative attraction, but a complete and powerful programming alternative in their own right - indeed, one which has already dominated certain fields.

Imagine being able to simply express What we want the computer to do - to give it constraints and rules - then let it work out for itself How to achieve our goals.

I believe that saying What, not How, will become the dominant paradigm in programming.   ...

 
 
Recent Posts
Content-Types and URIs | The REST Dialogues
Google Micro Conference
How Ruby can enable the Web 2.0 Platform
The Distributed Observer Pattern | The REST Dialogues
Inter-Enterprise REST Integration | The REST Dialogues
Lighter-than Wins in 2007
Business Functions | The REST Dialogues
eBay's Working Architecture
Setting Data | The REST Dialogues
Getting Data | The REST Dialogues
The Right Way to do Ajax is Declaratively
Web 2.0 and our Digital Rights
The 2006 'What Now How' Awards for REST Protocols
Microformats Challenge Web Feeds and Web APIs!
STREST (Service-Trampled REST) Will Break Web 2.0
Tags
Feed These
feed Tim Bray
feed Sam Ruby
feed Mark Baker
feed Bill de hÓra
feed Mark Nottingham
feed Benjamin Carlyle
feed Pete Lacey
feed Jason Kolb
feed Mark Birbeck
feed Simon Willison
feed Danny Ayers
feed Robert Sayre
feed Joe Gregorio
feed James Snell
feed James Snell@IBM
feed Manageability: C Perez
feed Ryan King
feed Microformats
feed Loosely Coupled
feed David Megginson
feed Stefan Tilkov
feed Aristotle Pagaltzis
feed Henri Sivonen
feed Jon Udell
feed Hinchcliffe I
feed Hinchcliffe II: WS-2.0!
feed Web 2.0 Explorer
feed Many-to-Many
feed Planet Atom
feed Planet Web 2.0
feed TechCrunch
feed Read/Write Web
feed Mashable
feed TechMeme
feed Web 2.5!
feed 3PointD
feed Good Ole' Slashdot
feed Download Squad
feed Darknet
feed Open Rights Group
feed EFF
feed Greenpeace
feed Greenpeace Melt
Read These
O'Reilly on Web 2.0
REST Wiki
TimBL's Home
Zooko's Triangle
SEDA
Gartner's EDA
Multicellular Computing
Shirky.com
The Metaverse
A Declaration of the Independence of Cyberspace
Edgar: 1970
Tim: 1989