|
perkiset
|
 |
« on: November 20, 2009, 01:49:22 PM » |
|
Man what an awesome day. Met a lad, 1/2 my age, easily twice my JS-fu. Spun my head and showed me how I'm an asshat for not being deep jQuery as well, even without binding myself to visuals that can ALSO come with it, but are hardly required. Not often totally blown away, it was great. Invited him to come lurk, hopefully he will. An extraordinary reminder to not be impressed by my own cleverness and that as fast as I can go, there's always lots more faster. Yes, those of you already knee deep may laugh and point. Although feeling cockily like I'll come up to speed quickly, please take advantage of calling me an idiot while I still am. Just remember, I'll be laughing down at you from the chairlifts when it's YOUR turn...  So, best to ramp up now. I'm off to buy some Advil, gonna be that kind of week I think. Anyone need anything while I'm there? 
|
|
|
|
|
Logged
|
It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
|
|
|
|
isthisthingon
|
 |
« Reply #1 on: November 20, 2009, 02:55:37 PM » |
|
Love the title! Sounds like something in the Onion: "Area Perks with ass in hand, rejoicing" Congrats on the head spinning! I've not had much more than a casual relationship with jQuery but it looks like a slick way to make your sites special. Have you looked at Flex? I've been playing with RoR and also Flex. Flex gives you insanely cool application-like browser apps. Our front-end at my company is using it and you can tell instantly that it's definitely not a standard website. Yep - grab me some Advil too 
|
|
|
|
|
Logged
|
I would love to change the world, but they won't give me the source code.
|
|
|
|
perkiset
|
 |
« Reply #2 on: November 20, 2009, 03:04:15 PM » |
|
Actually what really did me today was not GUI things or widgets or any of the like ... it was traversing and manipulating the DOM and the potentiality for creating my own widgets. As you of all people know, I'm not one to bind myself to others' frameworks, but used in the way I saw today it can be an excellent tool to essentially increase my relationship to the DOM and expand my OO development - sort of a language expander rather than a GUI trapset.
"DOM: The Missing Methods" might well be another way of looking at it.
That, and JS Closures, which is also (as far as today's peabrain can wrap) quite strong. Some serious grokking to do.
|
|
|
|
|
Logged
|
It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
|
|
|
|
isthisthingon
|
 |
« Reply #3 on: November 20, 2009, 03:23:58 PM » |
|
sort of a language expander rather than a GUI trapset. Cool man. I'm more of a controller focused developer than view. Code + markup has always seemed a bit hackey to me but there's no way to avoid it these days. So if I can find a way to do it in a class, or server methods in general, I usually choose it over scripting. Maybe this is because I don't mind maintaining OO code but dislike maintaining markup - especially someone else's. But when I find and/or build good reusable view components that tie in nicely to my server code, Ima happy itto. For "floating" view components that never touch the server I keep them commented cut-n-paste style and pretend they don't exist  After your Advil session(s) I'd love to hear more about jQuery! 
|
|
|
|
|
Logged
|
I would love to change the world, but they won't give me the source code.
|
|
|
|
perkiset
|
 |
« Reply #4 on: November 20, 2009, 03:27:19 PM » |
|
After your Advil session(s) I'd love to hear more about jQuery!
It'll be done. Just did the total old-guy thing and next-day'd me some Amazon books on it - the juiciest don't even look to be released yet. But I figure by Thanksgiving weekend I should have a reasonable grasp. Going to Meadview with my machine ... lots of open air and not a lot to do. Should be good.
|
|
|
|
|
Logged
|
It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
|
|
|
|
KaptainKrayola
|
 |
« Reply #5 on: November 20, 2009, 03:37:33 PM » |
|
Idiot.
jQuery FTW. I'm sure I've barely scratched the surface of it's awesome but i do know that it REALLY makes my life easy for doing both UI stuff and other simple things like manipulating form elements, doing ajax requests, etc. loves me some jQuery.
|
|
|
|
|
Logged
|
We can't stop here, this is bat country. 
|
|
|
|
perkiset
|
 |
« Reply #6 on: November 20, 2009, 03:46:12 PM » |
|
Oh yeah? Well you just used JQuery because you're not he-man enough to use DOM functions natively. Heh. So there. Pie eater.  <serious> I din't like the look of it at all because of my aforementioned arrogant proclivities. But watching it in action today for DOM traversal was awesome. The guy I worked with understood completely the way that I hand roll location/manipulation of DOM elements and entities (triangulation, structured hierarchical blocks and nesting, simple ID uniqueness and name munging) so he was able to demonstrate a clear conversion path for me. Really really smart young man. Very impressive. I'm really looking forward to digging deep quickly. I think there're some things I've been doing that are more work than they need to be. This could be the start of a beautiful relationship. </serious> In any case, fuck off. I was kidding about the "idiot" part. 
|
|
|
|
|
Logged
|
It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
|
|
|
|
isthisthingon
|
 |
« Reply #7 on: November 20, 2009, 03:51:11 PM » |
|
Cool!! Give em a squeeze for me! @amazon  I do the same sht meng. It just feels more serious to have a laminated book in hand than reams of binder-clipped printouts from the web  Speaking of books, I'm having a damn cloudgasm with this one: http://www.amazon.com/Behind-Cloud-Salesforce-com-Billion-Dollar-Company/dp/0470521163. It's so so so so good, so far Marc Benioff - my hero. He was one of the first assembly language programmers at Apple, which I thought was interesting. Salesforce.com was the 1'st ".com" on NYSE, and throughout the years of dot-bomb failures and tremendous pressure to drop dot-com from the name, they kept it. But the guerrilla marketing stories and distilled wisdom is totally priceless. He idolizes Apple, Oracle, and Microsoft for the things they do well. And though he says that Oracle's internal slogan is "we eat our young," he speaks highly of his brilliant mentor Larry Ellison, from a humble Buddha-like perspective. 
|
|
|
|
|
Logged
|
I would love to change the world, but they won't give me the source code.
|
|
|
|
KaptainKrayola
|
 |
« Reply #8 on: November 20, 2009, 04:09:46 PM » |
|
In any case, fuck off. I was kidding about the "idiot" part.  You should totally know better by now than to give me ideas like that on a Friday 
|
|
|
|
|
Logged
|
We can't stop here, this is bat country. 
|
|
|
|
perkiset
|
 |
« Reply #9 on: November 20, 2009, 04:31:06 PM » |
|
You should totally know better by now than to give me ideas like that on a Friday  What, you're kidding, right? I was HOPING you'd come see that and bust my chops meng. 
|
|
|
|
|
Logged
|
It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
|
|
|
|
nutballs
|
 |
« Reply #10 on: November 20, 2009, 04:35:17 PM » |
|
Whats JQuery?
jk
|
|
|
|
|
Logged
|
I could eat a bowl of Alphabet Soup and shit a better argument than that.
|
|
|
|
|
|
nop_90
|
 |
« Reply #12 on: November 20, 2009, 05:27:27 PM » |
|
Don't reinvent the wheel. Big thing about jQuery is its simple API, it is cross browser, and it adds in the missing JS functions from other browsers like IE. Prototype does similar stuff. My main complaint about prototype is it attempts to make JS classes (if there is such a thing per say) into python/C++ style classes. I think you are better off to figure out how JS objects work but my 2 cents. If you are going total "widgets", qooxdoo might be worth looking at. http://demo.qooxdoo.org/current/playground/#Hello_WorldBasically its attitude is fuk html/css and use a GUI approach.
|
|
|
|
|
Logged
|
|
|
|
|
perkiset
|
 |
« Reply #13 on: November 20, 2009, 05:34:00 PM » |
|
I have no problem with JS objects, but could be stronger. I'm just now reading up on Closures and find holes in my understanding.
prototype itself and the entire mechanism is a drag IMO, but it's what we've got for the language. If they'd wanted to go after C++ classes they'd have implemented a very different methodology and syntax. Dunno about Python.
I'm not going total widgets - but what I saw today was a way of creating web apps where "widgetizing" certain components of an app to make development and "skinning" an app a lot easier.
But again, the part of jQuery that I am most intrigued by is using/traversing the DOM, which is *always* kludgy, particularly if you have any kind of complex data coming back from an AJAX request. Seems like I am reinventing the wheel everytime I create a new graphical metaphor for data ... so I am hoping that this might simplify my data interchange and presentation.
|
|
|
|
|
Logged
|
It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
|
|
|
|
nutballs
|
 |
« Reply #14 on: November 20, 2009, 05:38:50 PM » |
|
Nah. I'm still not covinced this Ajax thing will ever catch on.
|
|
|
|
|
Logged
|
I could eat a bowl of Alphabet Soup and shit a better argument than that.
|
|
|
|