News for hackers. Stuff that matters.
Re:Pickadate.js by seldo on Tuesday November 20, 2012 @05:22PM (#4811677)
A javascript date picker? Is HN being very expertly trolled?
Re:Pickadate.js by electic on Tuesday November 20, 2012 @05:25PM (#4811686)
No. DatePickers, along with Forms, are the bane of my existence. More choices that are brought to light, the better.
Re:Pickadate.js by ilink on Tuesday November 20, 2012 @09:53PM (#4812538)
Agreed! I had no idea how many bad ones there were until I needed one for a project.
Re:Pickadate.js by easytiger on Wednesday November 21, 2012 @04:07AM (#4813465)
And yet you keep us in suspense...
Re:Pickadate.js by ergo14 on Tuesday November 20, 2012 @06:16PM (#4811901)
There you go - this will make your life easier then:

http://dojotoolkit.org/reference-guide/1.8/dijit/form.html#d...

Re:Pickadate.js by hadem on Tuesday November 20, 2012 @10:58PM (#4812684)
Please, never use the Dojo Toolkit. I was forced to use it on a project and working with it was reinventing the wheel while pulling out hair. It was overly complicated for something that needed to be straightforward and simple.
Re:Pickadate.js by moonlighter on Wednesday November 21, 2012 @04:23AM (#4813495)
Amen to that. The doc for it sucks too (not that there's enough there, but most doc for it found by google et al is obsolete/deprecated. And last but not least... the plugin ecosystem for dojo sucks even worse, and whatever widgets/dijits actually exist for it, usually look like @ss. The only one who seems to be committed to dojo is...IBM.
Re:Pickadate.js by nobleach on Wednesday November 21, 2012 @01:21PM (#4815487)
ESRI the top worldwide provider of GIS software is also sold on Dojo and Dijits. I agree that their digits are uglier than Android Cupcake. I have had to use Dojo on several projects now and I also agree on how abysmal their docs are. They provide tiny little code snippets but aren't even clear of the context. "Ok, fine... where do I PUT this snip... isn't this a TUTORIAL???!!??" I've been much happier with the look and feel of ExtJS but its documentation is even worse.
Re:Pickadate.js by ergo14 on Wednesday November 21, 2012 @07:52AM (#4814019)
Out of curiosity - what did you had to reinvent? The whole point is so that you could use existing components provided to you.
Re:Pickadate.js by electic on Tuesday November 20, 2012 @06:24PM (#4811919)
Too bulky in my opinion. I don't need 90 percent of the things in that sdk.
Re:Pickadate.js by electic on Tuesday November 20, 2012 @06:47PM (#4811984)
I should add, I also feel like these big frameworks have all the components and dont do a good job of each component. I rather use something that is by itself but the author is passionate about the widget and it is the best it can be.
Re:Pickadate.js by ergo14 on Wednesday November 21, 2012 @07:54AM (#4814029)
It should not be a matter of "feeling", but testing things out. Usually frameworks like Jquery UI, YUI, dojo toolkit do a very good job, jquery doesn't provide any widget infrastructure, but still it does a good job afaik.
Re:Pickadate.js by nobleach on Wednesday November 21, 2012 @01:24PM (#4815497)
I don't really like Dojo, but their system is so modular, you don't have to include 90% of stuff. Kinda like jQuery-ui, you can choose not to include all the other cruft.

Now with Dojo AMD (1.7+) it's even better and cleaner. You only require what you need and then build.

Re:Pickadate.js by ergo14 on Tuesday November 20, 2012 @06:40PM (#4811965)
so dont require them, you only use/build what you want. Its AMD and everything is nicely separated
Re:Pickadate.js by corford on Tuesday November 20, 2012 @05:38PM (#4811749)
Amen to that
Re:Pickadate.js by thecosas on Tuesday November 20, 2012 @06:05PM (#4811869)
Preach!