Recent updates 2015-06-27

This should be fairly quick. There isn't much to say, but it is of some significance.

I'm unemployed now

I had been working for a company for about 2.5 years, and it was always difficult in a few ways. While I could easily go on a rant blaming my former boss for being impossible to work for (really, he was seemingly incapable of setting or communicating priorities), there's nothing to gain by focusing on that. I hope that someone will read this and be warned in advance that a developer working in chaos is pretty much doomed. Developing anything is a time-consuming process and requires organization and planning, and if you are denied time and structure then you are paving the way so that any possible progress on a project will be forfeited to an endless cycle of bugs and changes of direction.

For now, I'm trying to enjoy a short vacation before moving on. I'm keeping myself busy with personal projects and trying to determine what direction to take from here.

I'm building a Web App


Screen shot of my WYSIWYG Editor App

I mean that in the stricter sense too. I've always been critical of the phrase since it's applied so liberally that it has lost any real meaning. No, what I'm working on will be available for installation on the Firefox Marketplace as well as Chrome Web Store. It will also be available without installation as a regular web page in supported browsers (which is currently only recent versions of Firefox).

I've written before about how to create an HTML WYSIWYG Editor, but now I have a fully functional demo. It's still a work in progress, but it's quite usable… With a few oddities that stem from the document.execCommand API. I'm currently using it to write this, however, and knowing a few situations to avoid makes the process as easy as using a word processor.

Some of the features include:

  • Offline access using applicationCache
  • Full-screen editing mode
  • Drag and drop images to add (using base64 encoded DATA URIs)
  • Drag and drop HTML files to import the <body>s of the document
  • Saving and restoring using localStorage (I intend to switch to indexedDB)
  • Commands available using toolbar & context-menu
  • Common keyboard shortcuts, such as CTRL + i for toggling italics
  • Support for bold, italic, underline, strike-through, subscript, superscript, highlighted text, changing of fonts, custom HTML, and pretty much anything else you could think of.
  • The ability to download your work (which was surprisingly rather difficult due to it all being done with HTML, CSS, JavaScript… No server-side stuff.