Better HN
topnewbestaskshowjobs
Log inSign up

justinbmeyer

54 karma · joined May 14, 2008 (18y ago) · 29 submissions

JS Developer for Bitovi.
Submissions

comment 2y ago · link · parent

I created this after reading https://erikbern.com/2019/04/15/why-software-projects-take-l... a few years ago.

I was tired adding up time-related estimates to arrive at a due date. Now I ask teams for their time-related estimate (story points, weeks, etc) and a confidence on their estimate.

This tool runs 5k simulations to create a probabilistic roadmap. I hope others find it useful. Let me know if you have any suggestions!

2.

Open Source Monte Carlo AutoScheduler for Jira(github.com ↗)

3 points · by justinbmeyer · 2y ago · 1 comment

3.

CanJS Debugging Tutorial(bitovi.com ↗)

5 points · by justinbmeyer · 8y ago · discuss

4.

CanJS 5: tree shaking, webpack, model and component improvements(bitovi.com ↗)

6 points · by justinbmeyer · 8y ago · discuss

5.

CanJS 4.0 Released(bitovi.com ↗)

12 points · by justinbmeyer · 8y ago · discuss

6.

How to Integrate Other Libraries Using Symbols (and an Expanded Reflect API)(bitovi.com ↗)

6 points · by justinbmeyer · 9y ago · discuss

7.

How to Reduce the Impact of Stateful Code(bitovi.com ↗)

2 points · by justinbmeyer · 9y ago · discuss

8.

How to Manage Code Across Many Independent Repositories(bitovi.com ↗)

3 points · by justinbmeyer · 9y ago · discuss

comment 10y ago · link · parent

> thunks, shouldComponentUpdate, per-component redraws, etc

I'm not sure how those would deal with the scenarios focused on in the article. The only one I'm familiar with is per-component redraws which wouldn't apply.

comment 11y ago · link · parent

As the lead author of JMVC, CanJS, StealJS, etc, let me try to address some of the criticisms of this article. I didn't write it, but I reviewed it.

Yes, this is a blatant advertisement. We worked hard on these open source project, believe they are great, and were trying to argue for their use from a commonly overlooked perspective. It should surprise no one that an article on our site advocates for one of our open source projects. I don't think arguing for something you benefit from should disqualify the argument. Instead, it should make any claims we make fall under more intense scrutiny.

Now about longevity, there really isn't a fair comparison. JavaScriptMVC is far older then Backbone, Knockout, Angular and React. They, for the most part, haven't even had to evolve. Their technology is, for the most part, still pretty modern. We'll see how they do.

Here's how JavaScriptMVC evolved:

JavaScriptMVC started on PrototypeJS. It did almost everything a Backbone + RequireJS + Karma + DocJS setup does today. Except much worse! It used:

- PrototypeJS (jQuery had only first released)

- RhinoJS (the only viable server-side JS runtime)

- EJS for templates like `<%= foo %>`

- Steal syntax for loading scripts `steal(dependencies)`

- Selenium for test driving

It had the only working "event delegation" system. This was one of its big features. It also had:

- basic modeling

- basic routing

Since that time, we've probably done more then anyone else to adapt and evolve the tools and technology so a reasonable person could upgrade. Some of my favorite highlights:

1. We updated StealJS to support AMD/CJS/ES6 syntaxes while still supporting the old steal syntax. We also migrated its build system from RhinoJS to NodeJS.

2. We swapped out Prototype for a compatibility layer that runs on jQuery / Zepto / Dojo / Mootools / YUI 3. I helped jQuery add event delegation so we could drop it from JMVC in jQuery 1.4.

4. We added live-binding EJS templates.

5. We added live-binding Handlebars-like templates. And then re-wrote that again to be 2x faster.

6. We added custom elements, two-way bindings.

7. I'm currently rewriting how we do data-connection: http://connect.canjs.com/, while still providing a backwards compatible version: http://connect.canjs.com/doc/can-connect%7Ccan%7Cmodel.html

8. Live-reload technology

9. A progressive bundling algorithm.

10. Migrated documentjs from Rhino to NodeJS, make it support multi-versioned docs.

If this article had come out 3-4 weeks from now you'll see we added:

1. Server-side rendering (Isomorphic / Universal JavaScript)

2. Worker-thread rendering with virtual dom merges.

We started when JavaScript was in its infancy and managed to evolve our tools and technology to keep pace with innovation constantly happening in our space. I really don't think there's another project that's undergone such a transformation.

When Angular was released, people thought putting click handlers back in a template was silly. Same with React's Virtual DOM approach. Those things have turned out to be great. We've added them (or are just about to).

We've tried to keep changes as small as possible between major versions. I think we've walked the line well between change and backwards compatibility.

So in the end, we're very proud of these accomplishments. We believe they are unique and mean something. That's what this article was about.

Btw, I give a free weekly JS training tomorrow. Its got open Q+A at the end if anyone wants to discuss more, you can join it here: https://plus.google.com/u/1/b/117481170193954630503/events/c... Open QA will be at approx. 12:45 CST.

11.

Web Application Theory(bitovi.com ↗)

10 points · by justinbmeyer · 12y ago · discuss

comment 12y ago · link · parent

A free vacation.

13.

CanJS 1.1 - Mustache, AMD, computed values, batched events(bitovi.com ↗)

8 points · by justinbmeyer · 13y ago · discuss

comment 14y ago · link · parent

It is by no means masquerading as a better version of jQuery. No where does it say this. It only states it's a collection of jQuery plugins.

comment 14y ago · link · parent

Of the 3 that add performance improvements:

animate - probably wouldn't make sense until CSS is better supported.

styles - I've suggested adding it, but waiting on the "go ahead".

fastfix - I've suggested adding, but jQuery said it wasn't interested. I don't think they realize that although fix in its current state is fast, it's called all the time, making it important.

comment 14y ago · link · parent

Yes, there are several, but not many can be used with delegate / on in the same way these events can. This makes it extremely useful for frameworks that use declarative event bindings.

comment 14y ago · link · parent

Yeah, that article was on our initial work. I'll fix the benchmark soon.

comment 14y ago · link · parent

For fast fix:

http://bitovi.com/blog/2012/04/faster-jquery-event-fix.html

There's a JS benchmark.

For styles, there's a demo: http://donejs.com/docs.html#!jQuery.styles

comparing jQuery's height vs one implemented with reading multiple properties. I can get a benchmark for this soon.

As far as animate, that's tricky. There's nothing to measure but framerate I suppose. It does in fact use CSS animations and if you assume they are faster (which what's the point if not) ... then you can assume animate is faster.

comment 14y ago · link · parent

Brilliant, but I'm biased.

comment 15y ago · link · parent

Jmvc supports coffee script.

21.

JavaScriptMVC 3.0 Released(jupiterjs.com ↗)

2 points · by justinbmeyer · 15y ago · discuss

comment 15y ago · link · parent

Yep. It uses JavaScriptMVC. Looks like it's model, view, and controller.

comment 16y ago · link · parent

Why did you find JavaScriptMVC a bit heavy? The Srchr app was 37.8 KB (Gzipped and Compressed). Which is pretty good considering it packages jQuery (24KB) and all of the MVC parts. So JMVC, plus the app only was 13KB.

Further, if you read the article, that is exactly what is happening. It's producing custom search events.

Please re-evaluate JMVC, it's really a bunch of low-level libs that provide just a little more power to jQuery.

24.

Organizing A jQuery Application with JavaScriptMVC(jupiterjs.com ↗)

24 points · by justinbmeyer · 16y ago · 3 comments

25.

Delegate-able Drag/Drop events for jQuery(jupiterjs.com ↗)

5 points · by justinbmeyer · 16y ago · discuss

comment 16y ago · link · parent

JMVC doesn't provide packaged widgets (though it is starting to). It's about providing a middle layer (above jQuery, less than customizable widgets) to build customized apps that are as light as possible.

comment 18y ago · link · parent

JavaScriptMVC also uses event delegation, which can really help performance and code organization.

comment 18y ago · link · parent

How about JavaScriptMVC along with one of these frameworks. It will really help you organize and maintain your project.

comment 18y ago · link · parent

Why not make a JavaScript API instead of Processing?