Giter Club home page Giter Club logo

Comments (4)

thekabal avatar thekabal commented on June 12, 2024

Can you elaborate a bit on this part: " This is something that also couldn't be template specific either since we would still need to all templates to confirm to specific functionality (cannot use AJAX, use multi-page submissions, etc.)."

I'm not sure I follow that bit.

from tki.

urbndecay avatar urbndecay commented on June 12, 2024

I've tried for like 20 minutes and like 5 different ways to explain why it wouldn't work, but its just too different. With the current system the 2nd page displays a template page, all the errors, and redirects you on success. With an AJAX based system a secondary page just sends/receives information. It's two totally different ways of doing something.

I mean we could continue to use the same new.php and new2.php pages and have two different ways of registering depending on if it was AJAX or not AJAX, or include a 3rd page, but that's just a bad way of doing it.

Basicaly the registration pages have to change and it can be AJAX, not AJAX, or badly both.

from tki.

thekabal avatar thekabal commented on June 12, 2024

I'm not opposed to the idea, in general, of using AJAX, and definitely supportive of moving away from new/new2 style pages.

That said, I'm closing in on trying to tackle adding a router to the game. I suspect that either effort would be easier to take on after that.

Lets keep this issue open and tackle it after the router issue, and #36 , I think they will all dove-tail together nicely.

from tki.

jakecleary avatar jakecleary commented on June 12, 2024

I think your best bet is to first work on encapsulating the game's core mechanics in an API (routing!) and then hooking up a front end that just interacts with the API via AJAX calls. This came is the perfect candidate for being a single page app using ember or the like, as you can create a much more fluid experience, vital for a game to not fell too clunky.

from tki.

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.