Directory
Technology
Blog Details for "HRCerqueira Blog"
HRCerqueira BlogHRCerqueira BlogA web development blog featuring many aspects of web-development, but with a great focus on javascript development techniques. Articles
Javascript Performance - Part 3 - Object instantiation and namespace simula
2007-12-21 17:56:00 In this third post about Java script performance, I’ll make some tests on object instantiation, and about using objects to simulate namespaces. You’re probably aware of javascript prototypal inheritance system. If not, just take a look into that link for a quick start. Other posts in the series: Closures vs object properties Control structures As you should know, we can ... More About: Performance , Script , Javascript , Part
Javascript Performance - Part 2 - Control structures
2007-12-19 17:26:00 This is the continuation of the Java script performance series I started a couple of days ago. You can follow this link to read the first chapter covereing Object properties vs closures. In this second part I’ll want to analyse control structures performance. Other posts in this series: Closures vs Object properties Object instantiation and namespace simulation For vs while Probably ... More About: Performance , Script , Javascript , Part
5 days vacation
2007-12-14 18:57:00 I’m going for a small 5 days vacation with my wife and kid. I was trying to make one last post on the “Javascript Performance” series since I have no connection on where I’m going, but my wife is already yelling at me. So this little announcement is all I can afford to do in ... More About: Vacation , Days
Javascript performance - Part 1 - Closures vs Object properties
2007-12-14 02:42:00 Performance may not be a concern on small scripts / widgets that run only once or at most a couple of times per page view, but it should be something to consider when creating a big application with scripts continuously running and a relatively large collection of objects in memory. I decided to run a ... More About: Performance , Java , Javascript , Part , Object
Comparison between 5 javascript editors for eclipse
2007-12-12 19:51:00 I just recently decided to change my javascript default editor in eclipse. I used to edit my javascript files in the editor brought to us by the WTP project. Because I didn’t knew anyone besides that, I googled for “eclipse javascript editor” and found some possible candidates. Beside WTPE default editor, i tested Interakt JSEclipse, ... More About: Java , Opinion , Editors , Script , Javascript
Javascript Setters and Getters
2007-12-12 02:59:00 I specialized myself in web applications on the last two years, and I heavily make use of javascript during all this time, although I first used Java script in the “Netscape vs IE” era. My last finding is javascript setters and getters. I had no idea that such a thing existed in javascript, and I think ... More About: Javascript
Beginners guide to prototypal inheritance in javascript
2007-12-10 22:59:00 Javascript is all about objects and inheritance. But unlike many other languages it uses a “prototypal inheritance” instead of a “classical inheritance” mechanism. In a classical inheritance system, objects derive from classes and classes can derive from other classes to. Lets use the famous pets example and construct a very simple application in java. First ... More About: Java , Javascript , Guide , Inheritance , Proto
The ?delete? keyword in JavaScript
2007-12-06 02:32:00 There is a rather unknown keyword in javascript, the delete keyword, that it doesn’t look very useful at a first glance, and it really isn’t, but that’s always a good tool to have in our mind. Actually I’ve only used it once some years ago, until today… What it does is to unset a given ... More About: Java , Keyword , Javascript , Delete
A Javascript keyboard shortcut manager
2007-12-04 14:41:00 I’ve never worked with keyboard shortcuts in webpages before. I never felt that need, neither my customers, but I felt I needed to write something to put in my toolbox if the opportunity comes… Actually I’m considering on rewrite my company webpage, we currently have a Plone website, but we don’t need that much. And ... More About: Tools , Java , Widgets , Manager , Script
Plug?n play Javascript widgets
2007-12-02 03:15:00 Plug’n Play Java cript is the name I gave to a technique that is not new I think, but that I tend to use more an more. It’s a way of writing my widgets in a manner completely independent from the presentation (HTML code), and most reusable as possible in other projects. The main theory ... More About: Widgets , Script , Javascript
Dom Handling Methods Re-Designed Again
2007-11-30 16:45:00 I wrote a post a month ago about my newDom Handling Methods , but I made a huge mistake involving IE. At that time my hard disk had broken, and I had to reinstall the whole system. I don’t use windows so IE is not an option, however, because IE is still the most popular browser, ... More About: Java , Script
Simple fade in / fade out javascript slideshow
2007-11-29 18:48:00 Today I helped a guy in a forum. He was needing a simple slideshow script for his webpage, and he borrowed one for one of those many script pages. But the script was huge, difficult to understand, and used some weird techniques. So I decided to build a new one for him. UPDATE(December, 11th 2007): I ... More About: Java , Widgets , Javascript , Simple , Fade
Semi transparent HTML elements without affecting the content
2007-11-27 14:16:00 UPDATE: I received some complaints about this script not working under ie6. I build this script to run on a intranet page that I knew that was only to be viewed with firefox. It’s very simple to tweak it, however I’ve updated the script (just the simplified version) to be used with IE6 as well. ... More About: Java , Elements , Script , Content , Semi
Faster DHTML animations
2007-11-26 18:22:00 After almost a month I decided to write another post. I have been involved in a very cool project that used and abused DHTML animations, and I’ve invented or discovered some cool techniques, that I now want to share. Why DHTML for animations and not Flash or Java FX? Of course that for the more extreme animations we ... More About: Script , Javascript , Animations , Imation |



