Giter VIP home page Giter VIP logo

Comments (5)

okofish avatar okofish commented on July 16, 2024

I don't really see a way to combine the two - they both tackle the same problem, just in different ways. The abstracted state management is quite appealing, but I was able to implement a similar system in a recent skill with minimal overhead, by setting and clearing session attributes dynamically.

from alexa-app.

tayzlor avatar tayzlor commented on July 16, 2024

@okofish i'd come to the same conclusion. Have you got any sample/example code where you've implemented said similar system?

from alexa-app.

matt-kruse avatar matt-kruse commented on July 16, 2024

Right, these are two solutions to the same problem. I created alexa-app long before the alexa-sdk ever existed.

from alexa-app.

okofish avatar okofish commented on July 16, 2024

@tayzlor Here's a skill I just published with alexa-app, using rudimentary state tracking. I didn't bother to abstract it at all; it's just calls to request.session() to check the state and response.session() to set it - see lines 35 and 116 for example. Hopefully this helps you!

from alexa-app.

tayzlor avatar tayzlor commented on July 16, 2024

Thanks for the responses. Going to close this one.

from alexa-app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.