- Showcase a prototype where the end-to-end feel and UI is the most important factor to business.
- Put together an end-to-end prototype while ONLY implementing it in the client Javascript code WITHOUT backend involvement.
- At the lowest level of your Javascript client-side code, implement the concept of stubbed API calls that your upper level Javascript code would invoke
- This low-level Javascript client-side code that emulates an API/microservice would have the minimal logic that would typically exist in a backend API/microservice and it should use cookies as a NoSQL database in order to allow continuity and persistency.
- Since the cookie size limit is only 4096 bytes, you would need to develop a function that splits the JSON text into multiple cookies with some prefix and the "get" function would need know how to stitch back the data and return a complete JSON object back to the top level Javascript code that would use it to drive the UI behavior.
The above is relatively simple to implement. Once you modularize this little prototyping template/framework, then you can use it for all your prototypes.
Thank you for reading this short article. Keep geeking out!