Fork me on GitHub
#om
<
2016-07-02
>
gary00:07:20

anyone currently working on an om.next template with figwheel configuration, routing, and other webapp basics already defined with placeholder code to get started? I guess I could try to add om to the luminous template so you can create a new luminous app with +om

anmonteiro00:07:44

@gary: there’s aemette, but I haven’t touched it in a while

anmonteiro00:07:08

and also probably not the way I would do routing today

gary00:07:31

@anmonteiro: i was just about to say, your template doesn't use your own routing library

anmonteiro00:07:21

@gary: aemette was something I put together in December

anmonteiro00:07:42

and I’ve only built Compassus in the beginning of June 🙂

anmonteiro00:07:21

I’ve been meaning to put together a template for a Compassus app, but I’ve been too busy lately

gary00:07:39

Yeah, I've just started using Compassus. Being new to om and having an enterprise java background, it's all so new and bewildering

gary00:07:41

One thing I haven't seen anyone address is security and protected routes in SPAs

amashi00:07:28

@gary: While I don;t have that much Om experience I have quite a lot of SPA experience, though more in hybrid apps than in browser apps.

amashi00:07:05

The thing is that access to sensitive data can;t be controlled by the client.

amashi00:07:27

So it's a seperate concern from routes.

amashi00:07:50

Exactly how you handle auth is specific to how you do auth, of course, but....

amashi00:07:13

Of course your flow should keep unauthenticated users from getting to places that require auth, but... that's user experience, not security.

gary00:07:27

well I'm working one of the best kinds of webapps ever invented, an ecommerce app https://github.com/gdeer81/om-commerce

gary00:07:30

a robust ecommerce app cuts across a lot of different concerns so writing an om app will force me to deal with a lot of problems versus just donig dev card examples or a todo mvc app

afhammad02:07:36

@gary Thats a good approach, I also prefer to test out libs/frameworks with larger scale projects that go beyond todoMVC and “counter” apps. I have attempted building the same application in meteor.js (in its early days), angular, react/flux/redux, om (old), reagent, reframe and now om.next. With each, once you get past the simplicity of a todoMVC demo both in terms of screens and data schema, you start to the see the cracks and steep architecture hill you need to climb before you can even start to focus on the actual business problem. I am still on my quest to find the most productive and clean approach to building larger SPAs but I think CLJS followed by om.next have the most promising foundation to getting me there.

gary02:07:25

@afhammad: yeah I agree

amashi04:07:01

ki9090909090909090909090909090909090909090909090909090909090909090909090909090bnbnbnbnbnbnbnbnbnbnbnbnbnbnbnbnbnbn

gary04:07:32

your cat walked on your keyboard

amashi06:07:47

\\\\\\\\\\\\\\\\\\\\\\\\\\\];[p'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''-00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

anmonteiro14:07:59

@cmcfarlen: whenever you get a chance, try compassus master to see if it fixes your issue with re-reading keys