Earlier quoted context omitted.
HTML, css, JS (jquery) have stable APIs, when new developers come they don't have to learn something new. If your code degrade over time, sorry to tell you, a framework won't solve the problem. If you have coders that don't care about maintainability of code correction, code organization in whatever technology, they won't care about what you wish. As usual, they won't take the time to learn the frameworks, will diver…
Well I think we'll just have to disagree here. I think you are patently wrong if you really believe you can keep up maintainability of a largish codebase by appealing to craftmanship in a real-world company. This is all nice and well in academics and start-ups but some years down the road, your code is going to be a mess. Frameworks, especially opinionated frameworks are a tremendous help. Coding in jQuery or native…
Show HN: My new JavaScript MVC framework
161–167 of 167 posts
Re: Show HN: My new JavaScript MVC framework
#162Here are my thoughts, but you won't like them. Stop with the frameworks. Learn Javascript. Learn CSS. Learn HTML. You'll find pretty quickly that what you need are libraries , not frameworks. Things like jQuery, underscore, etc...
A developer I worked with several companies ago told me the same type of thing about learning OO "Its not necessary just learn to code better". The fact of the matter is large code bases need to be supported over time by diverse groups of people and frameworks help enforce standards that get people up to speed quickly. That developer I knew, he has been chronically unemployed for the last 5 years because he lacks the…
I'll add an addendum to my post that frameworks can be the right tool for the job. But 99% of the time they're used the wrong way and for the wrong purpose.
Re: Show HN: My new JavaScript MVC framework
#163Earlier quoted context omitted.
That's similar to my viewpoint. Stop with all the frameworks - what new, powerful functionality will it provide your users that existing things can't do (ie JQuery, raw JS)?
the point of a framework is speedy development. less lines of code for results. the tradeoff is often bloat, which one should (ideally) refactor out later. Angular can get overwhelmingly slow if you're not careful with your code, but gosh dang, you sure can whip an app up pretty fast
How do you refactor out bloat from a framework without throwing away the framework?
This is my whole point about not using frameworks. They're a siren that WILL eat you in the end.
Re: Show HN: My new JavaScript MVC framework
#164Earlier quoted context omitted.
When I saw the link title, my first thought was "why do we need yet another new MVC Javascript framework"?
That's sort of like the tone Microsoft took after releasing ie6. Landscapes change. Every single js framework in existence today will be unfit for purpose in 10 years. So we enhance the frameworks we have and try out new ones so in 10 years time we don't find ourselves stuck with tools that don't work anymore.
Re: Show HN: My new JavaScript MVC framework
#165Aside from templates, this is the same as https://github.com/moot/riotjs
Re: Show HN: My new JavaScript MVC framework
#166Earlier quoted context omitted.
But DOM is separate from JavaScript.
DOM is separate from Ecmascript, but is actually one of the 3 components of Javascript (along with Ecmascript and the BOM). This is at least according to Professional Javascript for Web Developers (you can see it on 'page 3' in the Amazon preview).
Re: Show HN: My new JavaScript MVC framework
#167I really like dform's flexibility. I have been able to add every HTML elements that I've needed with the same syntax for every one, making it very simple to stick them into PHP loops to generate the elements based on the query results. I've learned a lot about writing jQuery functions while using it.
FusionCharts is very specific in what it does, and is compatible with many languages. I have actually learned to use it's classes in both PHP and JavaScript so that I can create any part of the chart I please in either language, and it is capable of transmitting data in both JSON and XML even though it uses XML internally. I've briefly taught myself the differences between the formats and have gone from manually creating XML, to learning that JSON is way better, to automatically converting my arrays into JSON data.
I feel that I've kept my project quite lean indeed, and was actually worried about not accomplishing a lot, not being complex enough. But I have intentionally been trying to avoid complexities so that I can make it easy to pick up and use, just include jquery, dform, and the FusionCharts.js/.php (and source code).