|
|
One of the more cool things Microsoft recently announced is the ability to deploy your applications directly from your git repository (using git push) and straight to your Azure hosted website. It loads your master branch, compiles everything and upload the whole thing automatically. Pretty sick! Now you may think "Cool story bro, but I host my own IIS!" - Well, no problem! David Fowler and David Ebbo are the creators of Project Kudu - the engine behind automated deployment via Git on Azure. These guys did an awesome job by not limiting this project to Azure, making us able to use it on IIS. Now time to grok it! Kodu + git + IIS = awesome!
|
|
|
|
|
Useful.
(And on page #3!)
Bill Gates is a very rich man today... and do you want to know why? The answer is one word: versions.
Dave Barry
Read more at BrainyQuote[ ^]
|
|
|
|
|
Believe it or not, there are a lot of people who strongly dislike JavaScript. For one reason or another, they simply can't stand the perceived lack of security and structure within the language. One of those perceived weaknesses is lack of the private designations for variables within structures. They have a point; if you stick a property on an object, or create d global variables, it's fair game for anyone. There is, however, a few very simple patterns you can use within JavaScript to keep access to a given object or variable private! A gentleman doesn't code and tell.
|
|
|
|
|
I think JavaScript is an abomination. It just happen to be the winner for Web development. To indicate the weaknesses, just think about why there is a book called JavaScript, the Good Parts (.http://www.amazon.com/JavaScript-Good-Parts-Douglas-Crockford/dp/0596517742/ref=sr_1_1?ie=UTF8&qid=1342561408&sr=8-1&keywords=JavaScript%2C+the+Good+Parts[^]). It is primarily used with C type languages, but, although it looks a lot like C (or C# or Java), it is quite different. WOuld have been much better to have it act more like a C language. In addition it does not play nice with HTML. If you have a language that is to be used in web pages, doesn't it make sense to make if pretty much HTML friendly. It should be possible to just paste the code into HTML and have it work, not require changing a whole bunch of characters to make it work within HTML, and then if you pull the code out, you have to change those characters back.
|
|
|
|
|
Clifford Nelson wrote: It is primarily used with C type languages ? ? ? ? ?
Clifford Nelson wrote: It just happen to be the winner for Web development Now what could that possibly mean? Maybe that a scillion web-developers (other than yourself) have found it rather useful and friendly. The javaScript seems to play nicely with its friends php and html. At least on the HTML/javaScript/php/SQL-ish webpages I make.
Admittedly, it all works a whole lot better in browsers other than IE, but that's to be expected: these web-languages are not under M$ control.
But they all seem to work rather well, together, and better all the time.
P.S.: I saw that book some time ago - and wasn't very impressed. Kinda reminded me of a VB hack complaining about C++ being to difficult, with indirection and strong typing and all that other nonsense.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "As far as we know, our computer has never had an undetected error." - Weisert | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
W∴ Balboos wrote: I saw that book some time ago - and wasn't very impressed. Kinda reminded me of
a VB hack complaining about C++ being to difficult, with indirection and strong
typing and all that other nonsense.
Did you read the book though? The title is misleading in that the book aims to teach how to use JavaScript effectively, by focussing on the best parts. It teaches you the ins and outs of things like == and ===. It's not an attack on JavaScript, and it shouldn't be taken so.
|
|
|
|
|
Pete O'Hanlon wrote: Did you read the book though? I spotted through it - which in most cases turns up some interesting stuff - but this one didn't. The complaints I enumerated (... complaining about ...) were not meant to be references to book content, but as an example of criticism. I'd have better served my point if I used an analogy of complaining about a free doughnut because it has a whole in it.
Stuff like '==' vs '===' operators are part of the language: I always tend to familiarize myself with a language's components, especially operators, before starting to use it. When I see anything odd (like '==='), I take a good look at it.
Possibly our perspectives differ in that I'm one of those people who read the instructions manual when I buy something. I will admit, however, that php also has the '===' operator, so I'd some familiarity with it.
Are there thing's I would fix? Sure - the DOM access sends me back to the references often enough. That, however, is often the result of how the DOM is laid out - not javaScript's fault.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "As far as we know, our computer has never had an undetected error." - Weisert | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
I don't want to drag on the === v == thing, but it is an example of how the language got some things wrong. The key thing is that people coming to JavaScript from languages like C or C++ tend to be confused by this, for instance, because they have an assumption that an operator that they are familiar with behaves in the same way. I'd either have made == behave the same, or dropped it altogether.
The thing about this book is that it encourages people to write JavaScript. It lays out arguments as to why certain features are good, and it shows practical examples on how to use those features. OK it doesn't really equip you to write JavaScript that manipulates the DOM (as an example), but it gives you enough of the foundations that when you start working with the DOM, you concentrate on manipulating the DOM rather than on language constructs.
|
|
|
|
|
Pete O'Hanlon wrote: I'd either have made == behave the same, or dropped it altogether. When learning the difference in .php, I had to think about it for a while - but it makes sense in the context of these very weakly typed languages. A change I wouldn't mind adding to javaScript is adoption of .php's '.' concatenation operator. This would leave the '+'operator unambiguously for arithmetic.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "As far as we know, our computer has never had an undetected error." - Weisert | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
I can't comment on php as I've never learned it (and no, I'm not going to start bashing php - I've just never really had the time or inclination to learn it; if the clients need it, that's when we'll invest in it).
|
|
|
|
|
Don't I love it, some a**hole decided to go through 3 of my comments (and all on different subjects) and downvote. Even programmers can be a**holes.
|
|
|
|
|
Looks like you ticked someone off. Ho hum.
|
|
|
|
|
And he did it again. Some people.
|
|
|
|
|
This post isn’t going to tell you that you should use MVC to structure your application. It isn’t going to tell you which framework to use. It’s not going to tell you to use CoffeeScript or MongoDB. But I’m going to talk about some small helpful things you can do to your Javascript application to make easier to develop and maintain. Too big to fail whale.
|
|
|
|
|
Not much information. Generic stuff should do in most any app.
|
|
|
|
|
Don't I love it, some a**hole decided to go through 3 of my comments (and all on different subjects) and downvote. Even programmers can be a**holes.
|
|
|
|
|
And he did it again. Some people.
|
|
|
|
|
Honza stated: there doesn’t seem to be a good way to manage dependencies
Shameless plug: Managing Your JavaScript Library in ASP.NET. That's a pretty good method if you are using ASP.NET Web Forms. There's another recent article for doing similar using ASP.NET MVC.
Though, including dependencies in a code comment at the top of the file, as Honza states, sounds like a good practice too (especially if you're working with pure HTML/JavaScript).
|
|
|
|
|
For each natural number n, we draw a periodic curve starting from the origin, intersecting the x-axis at n and its multiples. The prime numbers are those that have been intersected by only two curves: the prime number itself and one. The sum of all nerds.
|
|
|
|
|
It seems that we have come to a point where "Unix" has become synonymous with "Linux", and we're losing a significant in-depth understanding of how the Unix-family of operating system works. Our servers are being dumbed down... How can students learn about the history and flavors of Unix if the world has settled on Linux?
|
|
|
|
|
Terrence Dorsey wrote: How can students learn about the history and flavors of Unix if the world has
settled on Linux?
How can students learn about the history of operating systems if the world has settled on Unix?
How can students learn about computer architecture if the world has settled on the Intel 8086 family of chips?
They cannot. But they don't need to.
They can get a piece of paper called a diploma from some trade school that calls itself the Computer Science Department of a University and start coding in HTML.
|
|
|
|
|
Google's (former) VP of search products and user experience -- now stepping up to the CEO spot at Yahoo! -- shares the rules that gives the search company its innovative edge. Let's look back at some great 2008 advice from "Double M." It seems to have worked well for her.
|
|
|
|
|
The Telstar 1 satellite, which became the world's first active communications satellite, launched on July 10, 1961 from Cape Canaveral, Fla. Two days later it made history by transmitting the first global television signal from the Andover Earth Station in Maine to the Pleumeur-Bodou Telecom Center in Brittany, France. Happy birthday Telstar!
|
|
|
|
|
When we began planning how touch and new types of PCs might work on Windows 8, we recognized the need to provide an effective method for text entry on tablets and other touch screen PCs. Since Windows XP SP1, which had Tablet PC features built in, Windows has included a touchable on-screen keyboard. But those features were designed as extensions to the desktop experience. For Windows 8, we set out to improve on that model. The quick brown fox jumps over the Surface screen.
|
|
|
|