Routing anyone?

70 views
Skip to first unread message

Luis Gonzalez

unread,
Jan 29, 2013, 10:54:03 PM1/29/13
to agil...@googlegroups.com
I know that Agility is a minimal solution for the MVC paradigm in the client side, and that it doesn't care much about routing or the back button.

However, I wonder what you guys use when you need to create a multi page app with Agility.
A third party library? Roll your own solution?

Can anyone suggest a solution?
I've been playing a little bit with Davis.js, which looks like a good match, but I really don't know how well it plays with Agility.

Any comment would be highly appreciated...
Thanks!

Tom Lackner

unread,
Jan 30, 2013, 12:06:46 AM1/30/13
to agil...@googlegroups.com
I've used page.js + agility in the past. It's alright.. I had some trouble with the project but that may have been my mistake. It ultimately got out the door.




--
You received this message because you are subscribed to the Google Groups "Agility.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilityjs+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.





--
Thomas Lackner * 305-978-8525

Luis Gonzalez

unread,
Jan 30, 2013, 10:09:45 AM1/30/13
to agil...@googlegroups.com
Hi Thomas,

Yes, I saw your older comment mentioning pages.js already.
I ask about routing because I don't know much about html5 history, Apis, and all the nuances of hashtags, push state, bookmarkable links, etc...

This is actually the least interesting aspect of web development to me, so I wonder if there was a comprehensive solution to this problem.

Pages look extremely simple, but does it solve all the aspects involved in routing?
What were the problems you experienced while using it?

I played a little bit with Davis.js, and I got tired of figuring out how it works. For example, the back and forward buttons worked, but if I refreshed the page, the app didn't work at all...
Is this the kind of trouble you had with pages?

Joel Davey

unread,
Jan 30, 2013, 11:23:31 AM1/30/13
to agil...@googlegroups.com
Hey Luis,

I've not utilised the router fully myself but if you after something simple this example provides something you could expand on and understand how it works.

Luis Gonzalez

unread,
Jan 30, 2013, 4:59:48 PM1/30/13
to agil...@googlegroups.com
Thanks for the link!
I don't want to roll my own router, but it's a good resource to learn about routing and get a better understanding of it's supposed to do and how...
Reply all
Reply to author
Forward
0 new messages