Slashdot Mirror


Office 15 Development To Go JavaScript, HTML5 For Extensibility

mikejuk writes "Programmers have had to put up with Microsoft dithering over Office development for a long while. The macro language VBA has been on its way out ever since .NET was introduced and yet it is still the only macro language available. Now it looks as if Microsoft plan to put JavaScript and HTML5 into Office 15. And how do we know this? By reading job ads to discover what projects Microsoft is hiring for."

21 of 117 comments (clear)

  1. Re:A programming language inside documents? by xombo · · Score: 4, Insightful

    HTML pages are documents. JavaScript is a full-blown programming language inside documents. It makes good sense.

  2. I know the web is cool... by Haedrian · · Score: 2

    And everything, but isn't this a bit too much?

    Remember when Windows tried to 'integrate' with the web - I think it was Windows 98...

    Is HTML and JS really the best tool for this job? Is it the best tool for all the jobs MS is intending it to be used for?

    1. Re:I know the web is cool... by realmolo · · Score: 2

      HTML and JS probably *are* the best tool for *this* job. Which is basically scripting.

      JS and HTML are familiar and easy. And they're powerful enough.

      What would you prefer? PERL? Python? Those would be good, too, but let's face it- JavaScript integrates better with most things that you would do with an Office document. It's almost the unofficial scripting language of Windows.

    2. Re:I know the web is cool... by DocHoncho · · Score: 2

      It sure beats the hell out of VBA... only Microsoft could impose such an abomination on an unsuspecting world. And the documentation... dear gods, to delve into that abyss is as likely as not to destroy any sanity a man has left.

      If Microsoft can, for once, provide a well documented macro language for their Office products that doesn't derive from the Loins of the Devil (aka VB)... well, it'll be a cold day in hell, who am I kidding?

      --
      Celebrity worship is a poor substitute for Deity worship and costs more to boot.
    3. Re:I know the web is cool... by DocHoncho · · Score: 2

      You mean like they are apparently doing with VBA? What retard came up with that "solution"?

      --
      Celebrity worship is a poor substitute for Deity worship and costs more to boot.
    4. Re:I know the web is cool... by deniable · · Score: 2

      Actually, JScript is one of the official scripting languages for Windows. Apart from some of the OLE stuff being painful, I much prefer it to VBScript with WSH.

    5. Re:I know the web is cool... by BitZtream · · Score: 2

      You do realize that integration is tighter now than ANYTHING Win98 had? ActiveDesktop has been renamed, but its still available, even in Win7, which is really what you're referring too. Works just fine now that they've got the bugs out and fixed a lot of the security issues.

      Windows HELP is still HTML based. So basically every app has a browser built into it if it uses the standard system help features, like any proper app would.

      'integrating the web' happened a long time ago, you just missed it, I could go on for hours about the various ways the integration is far tighter now than anything you would have even thought of in Win98, but I'm far too lazy.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    6. Re:I know the web is cool... by gbjbaanb · · Score: 2

      I'm not so sure. Think about WPF. It's a XML-based markup language for document layout that you bind code to written in C#.

      HTML+js is pretty much exactly the same thing (ie different flavours of the same concept) so they're really replacing something they already use. I can see them extending HTML+js of course, and adding many new features, but did we expect anything different? Hopefully it'll be extended in the way jQuery "extended" javascript programming, and we'll all be happy.

  3. Re:A programming language inside documents? by PCM2 · · Score: 2

    Why does anyone need a programming language embedded in documents? Seems like that would be ripe for potential security/privacy violations, viruses, etc.

    Office already has reasonable security controls over VBA macros. They aren't executed automatically if a document came from an untrusted source. Like so many things, if you're going to willfully execute malicious code, nobody can help you. But the problem of Word macro viruses and the like has been around for a long time and has largely been addressed by a combination of modern antivirus software and Office's own security controls.

    That said, if I want to write macros to make my use of Office more efficient, who are you to say it's a bad idea? I'm not going to write macros that violate my own security or privacy. I have VBA macros that I use every time I open Word. I've written macros for Photoshop as well -- the difference being, those are written in JavaScript. I'd be more than happy to translate my VBA macros away from that rather shoddy and awkward language into a language that I use all the time for all sorts of things.

    --
    Breakfast served all day!
  4. Re:A programming language inside documents? by Low+Ranked+Craig · · Score: 2

    Link to an external JS or not, the fact of the matter is that when the page ends up in the browser they both / all reside within the same DOM. Your ivory tower view of how things should be is commendable, but not workable in the real world.

    --
    I still cannot find the droids I am looking for...
  5. Re:A programming language inside documents? by Co0Ps · · Score: 4, Insightful

    You would be surprised how much business logic companies tend to squeeze into office documents, especially excel documents. I'd go as far as saying most of the world runs on excel sheets + VBA. Horrible but true.

  6. Re:Good, maybe. by wsxyz · · Score: 4, Insightful

    You probably didn't know that Tools > Macros >Visual Basic Editor is the world's most popular IDE.
    There are full blown Win32 applications that run out of Excel spreadsheets.
    Crazy, but true.

  7. Re:A programming language inside documents? by mvar · · Score: 2

    You would be surprised how much business logic companies tend to squeeze into office documents, especially excel documents. I'd go as far as saying most of the world runs on excel sheets + VBA. Horrible but true.

    This is so horrible and yet so true, I've seen excel documents being used for an insane variety of purposes, from simple event monitoring to full CRM & Payroll

  8. Re:A programming language inside documents? by SilverHatHacker · · Score: 2

    My dad was bored one day, so he wrote Stock Ticker (the old board game) in a spreadsheet.

    --
    Funny may not give karma, but +5 Informative never made anyone snort coffee out their nose.
  9. Office 365 by jsac · · Score: 5, Insightful

    I find it far more likely that this has something to do with Office 365: http://www.microsoft.com/en-us/office365/online-software.aspx

    --
    "The urge to fly from modern systems, instead of moving through them to even greater, fairer things is, I think, an indi
  10. Re:Good, maybe. by deniable · · Score: 2

    .NET can still be used through Interop and the like. This looks to be aimed at the level of people who need to build stuff but don't have VS of one form or another. Another option would have been to pair a baby VSTO with the Express editions of VS.

  11. Re:A programming language inside documents? by BradleyUffner · · Score: 2

    No it doesn't. Javascript definitely does not belong in an HTML file. It belongs as a separate file so that you can actually make sure that it's updated rather than hoping that it doesn't get screwed up when you want to change the HTML.

    Programming in documents is a serious security problem that ought to have been fixed years ago. If you need interactivity, then use an external program, otherwise let's keep the bugs to things that are actually unavoidable.

    You are just arguing semantics with the separate document thing. The Office Document format is now composed of multiple files inside a single logical document file. The scripting could easily be moved out of the content file and be stored as a separate entity. Users obviously want this functionality, or documents using it wouldn't exist in the first place.

  12. Re:A programming language inside documents? by MonkeyOnATypewriter · · Score: 2

    Please try someday Matlab or its open source clone Octave.

  13. Re:A programming language inside documents? by kiddygrinder · · Score: 2

    this is pretty true, at one point we were pretty much told to nuke any spreadsheets we could find and roll the functionality into our other applications, after seeing some of the absolutely required and totally horrific functionality built into some of these bad boys we pretty much turn the other cheek a lot of the time.

    --
    This is a joke. I am joking. Joke joke joke.
  14. MSOffice by wesleyjconnor · · Score: 2

    Would surely require MSJavascript combined with MSHtml5?
    Please try to see this as not a troll but a concerned citizen?

  15. AJAX is for Windows 8 Metro by Billly+Gates · · Score: 5, Insightful

    I highly doubt Microsoft would get rid of VBA. It is the evil and glue that keeps customers locked in and gives PHB's who hate I.T. woodys who want to develop things quick and dirty in Excel rather than a real IDE.

    Windows 8 has a problem with MS Office. If you notice closely in those video's the pretty tiled Metro UI loads but the demonstrators have to open the Windows 7 gui to actually open Excel.

    So MS wants Office 15 to have a tile UI which needs HTML 5 and Javascript. I could be wrong, but I did find that pecular and in the demo videos and wondered if it was intentional that Corporate America would prefer the old GUI or if MS did not update the GUI code for Office yet.