{"id":528,"date":"2017-09-07T11:00:32","date_gmt":"2017-09-07T11:00:32","guid":{"rendered":"http:\/\/www.remotedevelopment.co.uk\/cms\/?page_id=528"},"modified":"2017-09-07T11:05:29","modified_gmt":"2017-09-07T11:05:29","slug":"serialising-a-form-in-vuejs","status":"publish","type":"page","link":"https:\/\/www.remotedevelopment.co.uk\/cms\/methods\/how-we-operate\/ideas\/serialising-a-form-in-vuejs\/","title":{"rendered":"VueJS: Serialising a form"},"content":{"rendered":"<h2>jQuery Serialization<\/h2>\n<p>Something jquery users have a command to render a JSON serialization of a form. Really simple way to flash a submission to a database or NoSQL in theory. Must try it out.<\/p>\n<h2>NoSQL data<\/h2>\n<p>Maybe when I have a very successful website getting millions of hits I will need the raw speed of NoSQL but unless you build it they will never use it &#8211; is also an important principle when producing a show and it applies to software production. Learn the best tool once, and use it until there is a better one. The best NoSQL for large datasets may be Mongo DB or Cassandra. I am not fazed by saying that I do not have time to know about that unless a customer needs it but a customer will never ask for something that I can not do, so when I start to blow Redis&#8217;s limits or MySQL stores blobs too slowly (with rapid key access in Redis), then there is no advantage with an average site having a massive data set.<\/p>\n<h2>Big data<\/h2>\n<p>Big data is an exception, and I have worked on a big data project. It used a highly effective but simple network design with Javascript promises creating its very necessary asynchronicity.<\/p>\n<h2>The Philosophy of Needs<\/h2>\n<p>This is an argument for if you are going to need it, build it in. If you are never going to need it, do not even learn it but certainly try to use it if you actually understand it. \u00a0Learn new products when you may need them.<\/p>\n<h2>Needs are not always met<\/h2>\n<p>In a career spanning decades, I have worked on one big data project. Every other project coped perfectly well with the speed that current tools provide.<\/p>\n<h2>Need to serialize a form?<\/h2>\n<p>When using VueJS you may want to serialise a form. This is as simple as this:<\/p>\n<pre>JSON.stringify(this.dataForm)<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>jQuery Serialization Something jquery users have a command to render a JSON serialization of a form. Really simple way to flash a submission to a database or NoSQL in theory. Must try it out. NoSQL data Maybe when I have a very successful website getting millions of hits I will need the raw speed of &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.remotedevelopment.co.uk\/cms\/methods\/how-we-operate\/ideas\/serialising-a-form-in-vuejs\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;VueJS: Serialising a form&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":515,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"jetpack_post_was_ever_published":false,"footnotes":""},"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/P8yghz-8w","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":695,"url":"https:\/\/www.remotedevelopment.co.uk\/cms\/methods\/how-we-work\/product-guide\/","url_meta":{"origin":528,"position":0},"title":"Product Guide","author":"Nicholas","date":"October 24, 2017","format":false,"excerpt":"Product types We offer clients three distinct products delivery paths: CMS: Content Management System websites for those who want to update their own content CMS and Intro packages E-commerce package Full Stack Development to implement your online business application or idea. Microservices architecture CMS products are based on Wordpress with\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":505,"url":"https:\/\/www.remotedevelopment.co.uk\/cms\/methods\/how-we-operate\/software-architecture\/predictable-software-design\/","url_meta":{"origin":528,"position":1},"title":"Predictable Software Design","author":"Nicholas","date":"August 27, 2017","format":false,"excerpt":"People may want simple off the shelf application builds and the Wordpress CMS is a very good way to do this, with API links to a smart business services API. Smart businesses who can sense a good deal and want to setup an independent and brand new project. They did\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.remotedevelopment.co.uk\/cms\/wp-json\/wp\/v2\/pages\/528"}],"collection":[{"href":"https:\/\/www.remotedevelopment.co.uk\/cms\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.remotedevelopment.co.uk\/cms\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.remotedevelopment.co.uk\/cms\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.remotedevelopment.co.uk\/cms\/wp-json\/wp\/v2\/comments?post=528"}],"version-history":[{"count":2,"href":"https:\/\/www.remotedevelopment.co.uk\/cms\/wp-json\/wp\/v2\/pages\/528\/revisions"}],"predecessor-version":[{"id":535,"href":"https:\/\/www.remotedevelopment.co.uk\/cms\/wp-json\/wp\/v2\/pages\/528\/revisions\/535"}],"up":[{"embeddable":true,"href":"https:\/\/www.remotedevelopment.co.uk\/cms\/wp-json\/wp\/v2\/pages\/515"}],"wp:attachment":[{"href":"https:\/\/www.remotedevelopment.co.uk\/cms\/wp-json\/wp\/v2\/media?parent=528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}