GraphQL is the new popular topic in the web development world: everybody’s speaking about it and everybody wants to give it a try. It’s no more the new kid in the block and it is very easy to setup even in small projects, thanks to an extensive documentation. Why do we need GraphQL? GraphQL is […]
It’s really easy to manipulate JSON with JavaScript. But what if we want to save it as a file on a LAMP server? Basically, what we want to achieve is to store our client-generated JSON on the server, except we don’t have an existing API to call. And since we suppose to be on a […]
While there are tons of libraries to manage forms and to handle input values, here’s a vanilla Javascript implementation of a function to create a JSON object mapping a form structure. The interesting thing about this implementation is that it can be applied to any form without any change and doesn’t require any additional markup: […]