learning Geddy and emberjs

61 views
Skip to first unread message

stargate

unread,
Feb 14, 2014, 12:32:34 AM2/14/14
to ged...@googlegroups.com
So I have been tinkering with Geddy and love the framework so far.  The only problem is when trying to change the routes using ember it doesn't render the view.  The git repo is here

https://github.com/kyoukhana/embergeddy

I am not sure how to fix this.

A test route with this application would be

http://localhost:4000/#/tester

Which calls the ember route.


Ben Ng

unread,
Feb 14, 2014, 3:41:37 AM2/14/14
to ged...@googlegroups.com
Hello!

Im a little confused here. There is no "tester" route in your geddy router config.

Geddy does not handle routes on the front end. That's ember's job.

Ben

Ben Ng


--
The official community discussion group.
website: geddyjs.org, source: https://github.com/mde/geddy, group: https://groups.google.com/d/forum/geddyjs?hl=en
---
You received this message because you are subscribed to the Google Groups "GeddyJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geddyjs+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

stargate

unread,
Feb 14, 2014, 7:36:37 AM2/14/14
to ged...@googlegroups.com

If you look public/js/app.js you will see a ember route defined called tester.  When you hit that route in the debug it will route to that but the problem is it isn't changing the view.   Any ideas as to why

Ben Ng

unread,
Feb 15, 2014, 2:35:53 AM2/15/14
to ged...@googlegroups.com
Hi,

I cloned your repo and geddy seems to be behaving correctly. There is no ajax request coming in from ember or anything like that.

This looks like an ember issue if anything, have you tried getting help from them?

Ben

stargate

unread,
Feb 15, 2014, 9:33:35 AM2/15/14
to ged...@googlegroups.com

Thanks for the help.

Open your console and visit the page

http://localhost:4000/

You will see the ember debug code

now type in

http://localhost:4000/#/tester

you will see transition to tester but the view doesn't change which is strange and doesn't render the ember template defined in

/public/js/templates

Matthew Eernisse

unread,
Feb 15, 2014, 5:30:36 PM2/15/14
to ged...@googlegroups.com
That definitely sounds like an issue with Ember. You'll probably have more luck asking people in the Ember community for help with this.


Matthew

Miguel Madero

unread,
Feb 15, 2014, 5:37:53 PM2/15/14
to ged...@googlegroups.com
I've experience with Ember. I'm not sure what you're expecting to see. The index and tester templates don't render anything: 


Keep in mind that once geddy serves the page, Ember takes over, the navigation to `tester` is done via Ember. I suggest having a look at the Routing Guide

Hope this help, 
Miguel

Vishi

unread,
Sep 23, 2014, 1:26:31 PM9/23/14
to ged...@googlegroups.com
Hi
Does anyone have any recommended workflow for using geddy with a frontend framework like ember? Thanks
Vishi 
Reply all
Reply to author
Forward
0 new messages