Hacker News new | past | comments | ask | show | jobs | submit login

See, at the bottom of that link, I have three links that are supposed to solve my session problems:

- one is dead

- another is the raw Hackage page for a session library spun off from another project

- the last is a cute hello world for the framework that underpins Scotty.

No Node.js tutorial would finish without a working session manager.




Try using the Scotty inspired Spock[0] with Spock-auth[1] or consider using Snap[2] or Yesod[3].

Here is a Yesod example[4] that uses Auth.

Here is a Snap example[5] that uses Auth.

> No Node.js tutorial would finish without a working session manager.

Yeah, many Haskell library/framework writers tend to see end to end tutorials as hand holding or see something as Auth as so simple it needs no explanation.

It was a roadblock for me personally.

0: https://github.com/agrafix/Spock

1: http://hackage.haskell.org/package/Spock-auth

2: http://snapframework.com/

3: http://www.yesodweb.com/

4: http://www.yesodweb.com/book/blog-example-advanced

5: http://www.christopherbiscardi.com/2014/01/07/getting-starte...


Thank you!

I have a nice lil' prototype going on in Snap, I have Persistent running, and I'm this close to have auth working.

But in the meantime, I have lots of logs to parse ; )




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: