Comments (4)
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.
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.
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.
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)
- All SQL calls should have logging
- All PDO SQL calls should use named parameter binding
- Session security improvement - user agent
- What are your plans for the codebase? HOT 5
- Should we use PDO datatype Constants in queries using bindParams (and bindValues)? HOT 2
- Config file/DB and languages / localization ideas HOT 1
- Track composer support for web-install alternative to composer install
- setup_info.php cookie test fails HOT 1
- setup_info.php smarty path test fails HOT 1
- Beacons need a revamp
- New Scheduler
- Create universe on step 30 with existing install triggers errors HOT 1
- Add strict typing to all files
- Eliminate die() in class files (replace with try/catch and thrown exceptions) HOT 1
- Better "lack of SSL" error handling
- All PDO fetch calls need to specify the fetch style/type
- Add extension loaded check HOT 1
- lost files HOT 3
- Lrscan erorrs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tki.