Sammy.js Just Too Classy?

To be honest I don’t fully comprehend Sammy.js. I wandered in looking for an in-page router I could splice in and it looked simple enough. In fact, I’ve got Sammy.js integrated with Knockout.js in a simple example that I blogged about here recently.

Earlier I started talking about the challenge of routing the particular app I’m designing. I’ve got it mostly worked out in my head at this point but damn it if I can get the Sammy routes to run reliably. I know I’ve messed something up. But it’s proving time consuming to find out what.

So I went out looking and found this great blog post: http://squirrel.pl/blog/2012/11/29/js-routing-sammy-vs-flatiron-director/

https://github.com/flatiron/director#readme looks like exactly what I need actually.

I don’t want much more from the router than an easy to use set of low-level primitives I can build on top of.

Postscript: Director documentation is excellent. Nice job http://flatironjs.org/

Advertisements

About Chris Russell

http://www.chrisrussell.net
This entry was posted in Internet, Software and tagged , , , . Bookmark the permalink.

Comment on this article

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s