Simon Wistow (deflatermouse) wrote,
Simon Wistow

AJAXy vs RESTian

There is, it seems, a Soloman-esque dilemma that faces those who wish to be buzzword compliant.

Obviously a meaningful RESTian URL is important. EventQueue already has this

    # Show a year 
    # Show a month
    # Show a day
    # Show an event

However certain aspects of navigation - moving between days, weeks and months and years would certainly benefit from some AJAX which would leave the url inconsistent with the display.

Week in particular would benefit from the ability to slide left and right by one day.

I suspect, however, that a meaningful URL is more important.

One solution, from Tom Insam, is to have

etc and parse the parts in Javascript which seems a bit icky but might just work. Especially since it will allow the same URL to be shared whether the handler is mod_perl or cgi without the need for mod_rewrite.

Tags: ajax, benefit, buzzword, cgi, dilemma, esque, faces, icky, inconsistent, javascript, meaningful url, mod perl, moving, navigation, obviously, parse, soloman

  • The clock ticks life away

    In a burst of insomnia last night I finished off my personal calendar refactoring and uploaded it to CPAN. I'm actually pretty pleased with the…

  • All Tomorrow's Parties

    After my last bit of Calendar fiddling I was left slightly disgusted by the state of the code. In my defence it was written over the course of a…

  • How Soon Is Now?

    I like calendars. I've been using a hand-rolled web based solution - called, cheesily, ourCal - for about 5 or 6 years now. I hacked it up over an…

  • Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.