Showing posts with label Web. Show all posts
Showing posts with label Web. Show all posts

Integrate Ace Editor in CKEditor Source View

Integrate Ace Editor in CKEditor Source View

Have you ever wanted to have code highlighting and other advanced features in the CKEditor source view? Well, now you can! I've written up a script that will allow you to integrate any web based code editor into CKEditor's source view. It's extremely easy to do using my code. Simply set up a web page running your preferred source code editor in fullscreen mode and then use my script to inject it into the CKEditor. No more screwing around, just awesomeness in your editor!

Javascript: HTML documentation and Intellisense for Visual Studio

Problem: I want to generate HTML documentation for my JavaScript files and have intellisense support in Visual Studio. I do not want to write massive comment blocks to support this.

Solution: Write javadoc style comments for jsdoc toolkit per standard practice. The rest can be easily automated.

Set Default Values for Optional Function Parameters in JavaScript

Set Default Values for Optional Function Parameters in JavaScript

Setting the default value of an optional parameter in a JavaScript function is easy. Since it is perfectly acceptable to call a function in JavaScript with more or less parameters than the function was defined with, you may wish to define every acceptable parameter for your function and set a default value for the truly optional parameters. JavaScript does not have a way of explicitly defining an optional parameter because, it seems, by default all parameters are optional. So how do we find out whether a specific parameter was supplied and, in the case where it was not, set a default value for that specific parameter?

selenium-vba: Automate the Web

selenium-vba: Automate the Web

Backstory

Cloud based web applications are amazing, they make life so much simpler. What they've done is effectively eliminated the numerous problems associated with deploying applications within a business. Now, it doesn't matter what operating system, configuration settings, etc. are installed on the machine, the cloud rains down a consistent user experience by simply using a compatible web browser. Awesome stuff, really.

Now, lets get back to the real world. The web was designed for documents and extended to include visual/audio media. Tack on some client side scripting and bang!: interaction and logical processing becomes feasible. All of the wonderful developments bring us awesome things like Facebook, Wordpress, Cloud9 IDE, and a whole slew of other amazing things. There's a catch, of course, and it has everything to do with bandwidth.