topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 3:48 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Make your javascript a Windows .exe  (Read 5853 times)

app103

  • That scary taskbar girl
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 5,884
    • View Profile
    • Donate to Member
Make your javascript a Windows .exe
« on: September 13, 2009, 12:29 AM »
These days an average web developer needs to have a broad matrix of skills in order to do his/her job. HTML, CSS, JavaScript, AJAX, XML, some server side language, some linux skills, some apache, some database skills, standards, accessibility, SEO, the list goes on. Parts of the list are also multiplied by (or raised to the power of?) the number of browsers you want to support. Crazy, isn't it? We're such optimists trying to make stuff work in such an environment.

There's gotta be an easier way to write code that does something meaningful! Yes, there is, it's called JavaScript. You learn JavaScript, you learn it well, and you don't need to learn anything else. Isn't that cool? JavaScript is, practically, everywhere. Learn JavaScript and you can:

    * create rich and powerful web applications (the kind that runs inside the browser)
    * write server-side code such as ASP scripts or for example code that is run using Rhino (A JavaScript engine written in Java)
    * create rich media applications (Flash, Flex) using ActionScript which is based on ECMAScript, which is JavaScript
    * write scripts that automate administrative tasks on your Windows desktop, using Windows Scripting Host
    * write extensions/plugins for a plethora of desktop application such as Firefox or Dreamweaver
    * create web applications that store information off-line on user's desktop, using Google Gears
    * create Yahoo!, or Mac, or dunno-what-type-of widgets
    * create Windows apps (those that end in .exe) and libraries (.dll)

I'm sure the list above is not even complete.

OK, it's a joke that with one programming skill only you'll be employed for life, but it's a fun thought anyway. Off to the main topic of the post.

JScript

This is Microsoft's version of JavaScript (yep, the thing that annoys us *sometimes* in IE) and can also be used to create server side pages (ASP, ASP.NET) or desktop applications. Apparently JScript is now called JScript.NET and can be compiled to create .exe files. Let's see how.


mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Make your javascript a Windows .exe
« Reply #1 on: September 13, 2009, 08:16 AM »
Nice find  :up: