4 ms·
We built some custom inputs just for handling number formatting (currency, percentages and separators) using AngularJS (directives) and I can say from experienc
by lucisferre 13y ago
We built some custom inputs just for handling number formatting (currency, percentages and separators) using AngularJS (directives) and I can say from experience it is much harder than anyone would imagine. The basic concepts are simple, it's always the implementation details, edge cases, browser quirks that will eat up your time.
Bottom line, saving money vs. time isn't a good reason not to buy this.
I still wouldn't be surprised if someone goes and builds an FOSS version of this anyways. FOSS people have far more than just "a weekend" for things like this, and it actually looks like a fun thing to build. Also a buggy prototype could probably be whipped up in a weekend if you leverage a good JS framework like Angular or Ember. Perhaps not but I'm sure someone will try.
- alixaxel 13y agoSkeuocard (http://kenkeiter.com/skeuocard/ http://kenkeiter.com/skeuocard/) was on the top page of HN a couple of months ago.
- svckr 13y agoImmediately thought of this. I especially love how you can select the whole credit card number with Ctrl+A, even though it's spread through 4 boxes.
- patio11 13y agoOSS and credit cards have existed for every single day of the last ten years. Did the community just not notice that taking credit cards on websites is done by substantially every business transacting on the Internet? Or were they just hiding their well-tested well-designed decent-UX commercially-supported OSS options on localhost until someone tried to commercialize the niche, to now be unleashed on Github with great fanfare? People have higher-expectations-than-are-warranted for "Some OSS developer (who is not me)" deciding to bite off a project on their behalf. The threat of this is routinely invoked to scare developers into not releasing software commercially. It's almost invariably overblown. Crikey, people told me 8 years ago that BCC was commercially non-viable because there existed OSS (with XML output for linking to an upcoming multimedia engine [+]) that was going to eat its lunch "as soon as it was marketed." + Seriously not making that up. http://sourceforge.net/projects/bingo-cards/ http://sourceforge.net/projects/bingo-cards/
- rhubarbcustard 13y agoPatrick, do you think the target audience for this JS product versus BCC makes a difference? BCC is presumably bought mostly by non-technical people whereas it is fairly likely that a JS library such as this one would be chosen by a developer and presented to management as a solution to their "smooth checkout" requirement? As we've seen in the comments here, developers are way more likely to go for the open-source/free alternative. I guess the marketing of the JS library would make a real difference: aim for management rather than developers?