which famous package for famous-views?
which is the right famous package to use with famous views? raix:famono is not working for me with famous-views. when I use raix:famono the examples will not work. when I use mjn:famous instead it will work but I cant change between views via a href="{{pathFor ''myview}}" because its reloading the page (even e.preventDefault reload dont work here)
the whole thing is a very confusing. there are only out of date examples out there and I cant find some tutorials for the current versions (meteor, ironrouter, famous)
which is the package to choose that it will work?
Hey, which examples are out of date / don't work?
Famous-views supports both mjn:famous and raix:famono. I did try now setting up both from scratch as per the Quick Start page, and both work. iron-router was working fine, no reload issues. I also tested the "Super Quickstart" (also on the Quick Start page), and that was working too... like it says, it "comes pre-baked with all the recommendations in this page, iron-router integration, and optional templates for CoffeeScript and Jade".
Page reloads seems like an iron-router issue... we do very little in famous-views that could interfere with how iron-router works regularly (besides the user needing to make sure he doesn't put raw HTML in a famous container, or famous stuff inside of a surface/HTML). If you were using iron-router < 1.0 previously, note that some stuff as changed.
I think to find one tutorial that covers meteor and iron-rotuer and famous all together is quite a big ask.... although I'm sure someone will do one eventually. For now there are plenty of tutorials which cover Meteor and iron-router at various levels. As for famous-views, people have until now been getting by with what's on the site, and we have something akin to Famo.us university coming soon. Note that Famo.us is still pretty low level and still at an early release, I'd definitely still put all this in the category for "early adopters".
Note also that a lot of the code snippets on the site are demonstrative only, they are not the full code... which is why at the bottom of most pages there's also a link to the full source. Specifically, we don't explain how to setup template helpers, get stuff from the database, basic Session stuff, etc, in the pages themselves... but since all the examples are working demos, the full page source does of course, give the full code.
thx for your reply.
I just played around with famousviews but I´m stuck when I will test it on mobile devices (native IOS App not just browser).
Problem 1:
When I use mjn:famous the app is working like expected in the browser (also the demo codes from your site are working) but when I run the build via „meteor run ios-device“ and start the app with xcode I have the problem that my links (a href) reload the page. also preventDefault is not working.
Note: I found out that a long tap links to my other templates. short taps reloads the page. strange.
So I decided to use raix:famono instead.
but
Problem 2: when I use the exact same code and just use raix:famono instead of mjn:famous my templates are completly broken. even the code from your site is not working for me. e.g.
when I use the HeaderFooterLayout code this will work with mjn:famous. With raix:famono the HeaderFooterLayout looks broken.
the only other package I´ve installed is iron:router
Am 03.02.2015 um 21:24 schrieb Gadi Cohen [email protected]:
Hey, which examples are out of date / don't work?
Famous-views supports both mjn:famous and raix:famono. I did try now setting up both from scratch as per the Quick Start page, and both work. iron-router was working fine, no reload issues. I also tested the "Super Quickstart" (also on the Quick Start page), and that was working too... like it says, it "comes pre-baked with all the recommendations in this page, iron-router integration, and optional templates for CoffeeScript and Jade".
Page reloads seems like an iron-router issue... we do very little in famous-views that could interfere with how iron-router works regularly (besides the user needing to make sure he doesn't put raw HTML in a famous container, or famous stuff inside of a surface/HTML). If you were using iron-router < 1.0 previously, note that some stuff as changed.
I think to find one tutorial that covers meteor and iron-rotuer and famous all together is quite a big ask.... although I'm sure someone will do one eventually. For now there are plenty of tutorials which cover Meteor and iron-router at various levels. As for famous-views, people have until now been getting by with what's on the site, and we have something akin to Famo.us university coming soon. Note that Famo.us is still pretty low level and still at an early release, I'd definitely still put all this in the category for "early adopters".
Note also that a lot of the code snippets on the site are demonstrative only, they are not the full code... which is why at the bottom of most pages there's also a link to the full source. Specifically, we don't explain how to setup template helpers, get stuff from the database, basic Session stuff, etc, in the pages themselves... but since all the examples are working demos, the full page source does of course, give the full code.
— Reply to this email directly or view it on GitHub https://github.com/gadicc/meteor-famous-views/issues/211#issuecomment-72727007.
just wanted to double check with famono that you inserted the code at the bottom of http://famous-views.meteor.com/start.
unfortunately i don't have any ios device to test on, but haven't heard of this before... if it's working in famono but not mjn:famous, it kind of reminds me of https://github.com/gadicc/meteor-famous-views/issues/89, but that's not really your problem. does a non-famous app work properly with iron-router in cordova? i know there are some special settings you need, i think to do with the hash bang.
I can re-produce the exact same issue...
-
iron router seems to re-load every page "white flash" when switching pages - i can confirm that long taps do not cause a refresh - whilst short taps refresh the entire page.
-
when running: meteor run ios (simulator) the application works.
when running meteor run ios-device (device) the application does not work (blank white screen with nothing rendered"
Bit stuck at this point.
I am using the mjn: famous package.
@rlech did you ever manage to get this fixed?