Re: Best Scripting Environment Ever. Best Desktop Technology Ever.
Mike <[email protected]>
| Newsgroups | gmane.comp.windows.off-topic |
|---|---|
| Message-ID | <[email protected]> |
The fact that JavaScript is always present is indeed huge. But the amazing thing about that is that it also happens to be a fun, dynamic, semi functional language. If we had had to ask permission to install and use it in a typical .NET enterprise shop, that permission would never be granted. But we actually HAVE to use it. How lucky is that? Node.js is on my radar. I have never tried to access the DB with JavaScript, but will be needing to in the future. Apparently it is not hard: http://stackoverflow.com/questions/857670/how-to-connect-to-sql-server-database-from-javascript Also, there are ways to stop the annoying ActiveX warnings using registry settings. JavaScript/HTML/CSS makes for a great desktop app, which is a surprise to me as well, though it shouldn't have been. Mike On Wed, Apr 6, 2011 at 10:42 AM, Ryan Heath <[email protected]> wrote: > > > Have you heard about the nodejs.org project? > This application of js is a great example of shifting from the browser to > the server/desktop. > > // Ryan > > On Wed, Apr 6, 2011 at 3:10 PM, Alan Baljeu <alanbaljeu-/[email protected]> wrote: > >> >> >> I thought JavaScript was limited to browsing activities. It would be >> terribly unsecure if a script off the web could access your computer. >> >> Alan Baljeu >> >> ------------------------------ >> *From:* Kim Gräsman <[email protected]> >> *To:* [email protected] >> *Sent:* Wed, April 6, 2011 1:11:49 AM >> *Subject:* Re: [OT] Best Scripting Environment Ever. Best Desktop >> Technology Ever. >> >> >> >> Synchronicity. I just used JavaScript with WSH the other day to do >> some shell + automation scripting. Then again, I think it's nice >> mostly in the sense that it's always available on Windows boxes, I >> never have to worry about prerequisites. >> >> - Kim >> >> On Wed, Apr 6, 2011 at 01:27, Mike <[email protected]> wrote: >> > IE (even as far back as 5.0) + HTML + JavaScript + >> > Scripting.FileSystemObject on Windows. >> > >> > It has been right under our noses all these years. Just like AJAX was. >> > >> > I used to do ASP.NET, but now I do a lot of work on very walled off, >> > locked down systems, and am often in need of a scripting language. >> > Usually I end up doing something "creative". But recently I had the >> > good fortune of being truly checkmated. I had only a very walled off >> > Windows 2003 machine to work with. But this turned out to be great >> > because instead of loading Powershell or Visual Studio, it forced me >> > to try writing a utility using JavaScript and HTML. It was >> > outstandingly productive. Is there any simpler *desktop* UI >> > technology than HTML in a browser? And any more powerful scripting >> > language than JavaScript? How could I have missed this all these >> > years? >> > >> > It is amazing how far backwards we went with ASP.NET, WPF etc. >> >> > >