6 ms·
Nextjs is most likely going to be the new Ruby on Rails. javascript all the way down, static rendering, PWA, server side rendering...everything baked in. This
by sandGorgon 7y ago
Nextjs is most likely going to be the new Ruby on Rails. javascript all the way down, static rendering, PWA, server side rendering...everything baked in.
This is a big backing for Next.
However rebranding to Vercel is bad.
- franky47 7y agoThat's the objective of Blitz.js [1]: build on top of Next.js for a rails-like experience, but made by an independent open-source community. [1] https://blitzjs.com/ https://blitzjs.com/ - https://github.com/blitz-js/blitz https://github.com/blitz-js/blitz
- k__ 7y agoPretty slick! I thought about making "higher level" frameworks by combining "lower level" frameworks myself. How did you do it? I mean, it's not just wrapping the libraries, but also the CLIs.
- deleted 7y ago[deleted]
- sandGorgon 7y agoThis is very cool. One suggestion - I highly recommend you mention that you're leveraging nextjs. There is a certain buy-in that nextjs has that would be hard elsewhere. In fact I would say that I would totally pay an annual subscription for this (even on "starter marketplaces" like themeforest).
- covidcovidcovid 7y agoI prefer to use other languages on backend something like C#, because JavaScript is too error-prone. You can't even just add two numbers (try (0.1 + 0.2) === 0.3) without some workarounds. and there are millions other issues with the language.
- acdibble 7y agoIt's not just JavaScript with that issue... https://0.30000000000000004.com/ https://0.30000000000000004.com/
- covidcovidcovid 7y agoNot if you use decimal type that is not available in JavaScript.
- SloopJon 7y agoI'm curious what you're comparing JavaScript to. Decimal is the native numeric datatype for the stored procedure language of the database I use. Otherwise, even in languages that have a decimal class in their standard library, it's usually pretty clunky to use; no better than, say, https://github.com/MikeMcl/decimal.js/ https://github.com/MikeMcl/decimal.js/ C# is perhaps the best among mainstream languages, although its implementation is a bit weird.
- covidcovidcovid 7y agoWhat is clunky about decimal type? You declare a decimal variable and then use it exactly like any other numeric type. Here is an example: https://dotnetfiddle.net/jjJHA6 https://dotnetfiddle.net/jjJHA6
- WJW 7y ago0.1 + 0.2 == 0.3 returns false in all the interpreters I have installed locally (Ruby, Python, NodeJS and Haskell), and you can't with a straight face pretend that Haskells type system is not strict enough. Because I was curious, I tested it out with C# on repl.it and behold, 0.1 + 0.2 == 0.3 returns false in C# as well: https://repl.it/repls/AdoredValidVirtualmachines https://repl.it/repls/AdoredValidVirtualmachines. Not very surprising of course, since that "error" is a result of the IEEE floating point spec and not of any language.
- zaiste 7y agoThat's also the objective of Kretes [1], a programming environment for TypeScript & Node.js (soon Deno) with built-in support for plain SQL and GraphQL [1]: https://kretes.dev/ https://kretes.dev/
- simplify 7y agoRuby on Rails is still the new Ruby on Rails. JS solutions still need another five years to catch up, unfortunately.
- JoshuaScript 7y agoWhat do you feel like JS solutions are still missing?
- cdeutsch 6y agoRuby on Rails is opinionated. JavaScript is the exact opposite. The data access layer in JS leaves a lot to be desired (especially compared to Rails) React almost felt like a winner for single page apps, but there was never a great "flux" pattern to use, and now they've completely ruined that ecosystem with Hooks. Also SPA's have become so big and bloated it's time to go back to something that you can build progressive web apps with like jQuery.
- jerrycruncher 7y agoAgreed. I've shipped projects in ASP.Net MVC, Rails, Django, Grails, and Express, and to paraphrase Alan Kay[1], NextJS is the first javascript server-side framework worth criticizing. [1] https://www.fastcompany.com/40435064/what-alan-kay-thinks-about-the-iphone-and-technology-now https://www.fastcompany.com/40435064/what-alan-kay-thinks-ab...