RE: Advice Sought for Web Programming
March 29, 2015 at 5:14 pm
(This post was last modified: March 29, 2015 at 5:31 pm by bennyboy.)
(March 29, 2015 at 12:19 pm)AFTT47 Wrote: bennyboy, some of what I'm doing is emotion-driven. I despise the direction Microsoft is moving and I would just as soon wash my hands of them. I also wonder about the future of asp.net. It doesn't seem like it's very popular.
On a side note, I'm studying javascript right now. I don't at all consider myself a programming chauvinist (I prefer VB to C#) but MAN, javascript is UGLY! I mean it's freaking HIDEOUS! The untyped variables will take some getting used to.
As long as you understand that javascript is (a) not Java; and (b) absolutely necessary to any and all internet programming, you're fine. Whatever IDE you use, I recommend always viewing the page source of the pages you. You'll see that your designer of choice adds a lot of javascript already: buttons, for example, get wired using Javascript. I can honestly say that the day I started using Javascript is the day I went from mucking around to being able to do really neat stuff. And the nice thing about learning Javascript is that you will use it no matter what language or framework you use for code-behind. It is pretty much guaranteed to be time well spent.
Example of Javascript that can be set up quickly:
1) Give a bunch of divs, buttons, or absolutely any kind of control the class name "hider"
2) Use jQuery like this $(".hider").hide();
Presto chango, all divs, buttons, whatever with that class name disappear from the page, with no postback to the mother ship. Awesomeness!
You can also add a "click" event to any control with a classname, even a div, and it's all client-side. It borders on cheating, it's so easy.
