See An Editor That Comes Close Toreading A Good Book?

Jul 23, 2005

I have still yet to see a JavaScript Editor that comes close toreading a good JS book, learing it and using it with a text editor.

Anyway, here my recipe for build successfull DHTML Applications:

If you want to support only M$ IE stop here and do the following:
1) Install blindfold
2) Repeat the phrase - I love my cage :p

Buy the Book: Buy O'Reilly's JavaScript The Definitive Guide
~ The best damn JS guide & reference period, end of story, finito

Get a good Text Editor with Syntax Highlighting support
~ Real programmers don't use WYSIWYG tools
~ You will never learn with these tools
~ Code is always inefficient
~ Apps to Use:
~ OSX - BBEdit - Powerful but no MDI support :(
~ Win32 - UltraEdit - Low cost, high power, competent
yntax Highlighting
~ ^nix - Kate or KDevelop - Well written but needs KDE (big)
~ Does not work with OSX's X11 Client :[ - ('+' key
doesn't work)

Browser Development Platform
~ Mozilla (1.3+) (FireFox release suggested)
~ Why Moz?
~ Mozilla based development works in:
~ IE 95% of the time
~ Konquorer (KDE/Apple...), Opera 99%+ of the time
~ Why not IE?
~ IE based development works in standards based
browsers only 50% of the time
~ IE black hole methods (non standards based) causes
people to ignore standards based DHTML objects,
properties and methods.
~ Browser Support Baseline
~ IE 5.5sp2+
~ This is the first (reasonably) stable
version of IE for advanced JS coding.
~ When ever I experience weird bugs from users I have them
them upgrade to IE5.5sp2+ and it goes away.
~ Netscape 6.n+
~ Netscape 4.7 should not be supported!
~ Opera ? (I plead ignorance here)
~ Konquorer/Safari ? (I plead ignorance here)

Debugging Methodology:
~ Use JS Console (Moz)
~ Put try/catches at all error prone functions / methods
~ Because of IE's error stupidity, you should get as
close to the source as possible.
~ Read stack property of error in Mozilla to
read stack of error (powerful)
~ Install JavaScript Console Status in Mozilla
~ Use window.onerror handler
~ In IE, read arguments.callee.caller... to read stack
~ Goes only to last error throw point ! not error source
point :[
~ Note: at this time, there is no way to to get to
the Error object in Mozilla from this handler.
Therefore no stack in Moz. Use Try/Catch instead

Add the following code to every page:
_w=window
function getElem(s){return document.getElementById(s)}
function getEvent(e){ return is.ie?_w.event:e }

Event Declaration
~ Avoid using inline javascript declarations (In HTML Tags)
~ Inline declarations is where you call a function or
run code from the html elements definition
(onclick="<RunSomeCode>")
~ This technique will not allow you to access
the event argument in Mozilla...
~ Instead use getElem("<Element ID>").onclick=<function name>
~ Declare handlers like:
function mySlickFunction(e){e=getEvent(e)...
~ This will ensure you always have Event Object
~ If you want to get fancy you could normalize the Event
at getEvent()
~ Method Declaration
~ Declare <obj>.<meth>=function <obj_acro>_<event>(args){
~ Example: myObj.smile=function MO_smile(args){...
~ Why? - When you build you're stack in the debug
you get the method names!

Other Stuff:
~ Use JSON (www.json.org) as much as possible to nest data
structures (for more complex programming).
~ JSON is fast (primitively supported), stable easy to read.

Could anybody else add to this list?

If people are interested, I can make a document and add other stuff
like JS debugging libraries, Consoles and other slick JS Debugging
stuff.

View 3 Replies


ADVERTISEMENT

Good Javascript Editor

Mar 27, 2007

i want to download a free open source javascript editor :)

can anyone recommend a good one for me.. :) if you could recommend one that handles nodes and dom aspects that would be great

View 2 Replies View Related

Good Editor For Windows?

May 22, 2010

I want to know what is the best Javascript editor for Windows, that have a good syntax highlighting, IntelliSense(it's that technology of the menu when typing, like on Eclipse, but I can't remember it's correct name) and a class browser, what is very useful when you want to see the names of your classes and functions, also to browse on then.

View 1 Replies View Related

Good Editor For Windows Which Syntax Highlight - IntelliSense

May 21, 2010

I want to know what is the best Javascript editor for Windows, that have a good syntax highlighting, IntelliSense(it's that technology of the menu when typing, like on Eclipse, but I can't remember it's correct name) and a class browser, what is very useful when you want to see the names of your classes and functions, also to browse on then. Something like VbsEdit, but for JavaScript, because I use it to my VBScript things, but now I'm moving all to this wonderful world of JavaScript.

View 9 Replies View Related

JQuery :: Some Text Editor With Good Grammar Check Function?

Jul 19, 2010

I have made a mistake which in not so serious because I ambigginer on jquery.

So I am looking for some text editor with good grammar check function.

View 1 Replies View Related

JQuery :: Good Web UI Component Libraries - Cross Browser Compatible And Have Good Documentation

May 10, 2009

Are there any good web UI component libraries -open source or commercial - that you can recomment? They need to be cross browser compatible and have good documentation. Jquery UI is very good but limited in number of controls it offers. YUI is very verbose and very hard to use. extJs only other one I can think of. Any others you use and like?

View 2 Replies View Related

If And Else - Display A Message Saying Good Morning If It Is In The Morning - Good Afternoon If It Is In The Afternoon

May 31, 2011

6. Display a message saying Good Morning if it is in the morning, Good Afternoon if it is in the afternoon, and Good Evening if it is in the Evening. This is my code:

[Code]....

View 1 Replies View Related

AJAX Book

Nov 24, 2005

Can someone recomend me some good AJAX book?

View 4 Replies View Related

What Is The BEST Javascript Book To Buy?

Feb 22, 2006

I was just wondering if anyone knows of a great javascript book to buy. I am looking for something super duper hard core. I would love it to have documentation galore that includes all of the AJAX and DOM and XML. You know... like a javascript BIBLE. Something thick and comforting. Something that makes you feel all warm and toasty inside just knowing that it is there. So if I start running into some problem I can just glance at the book and rest assured that if the problem exculates not to fear. I have .... THE BOOK.

View 3 Replies View Related

Which Javascript Book Is Better To Buy?

Nov 16, 2006

Which Javascript book is better to buy?

The JavaScript Anthology:101 Essential Tips, Tricks & Hacks

or

DHTML Utopia: Modern Web Design Using JavaScript & DOM

?

I just want to learn some Javascript to enhance my sites.

View 4 Replies View Related

Best Book For Learning JavaScript?

Jul 23, 2005

Anyone have a javascript book recommendation. I'm experienced in development in ASP.NET and VB.NET, but have little knowledge of javascript.

View 2 Replies View Related

Book Recommendations :: AJAX

Feb 8, 2006

Can you all give me your best recommendation(s) for books on AJAX ?

View 25 Replies View Related

Sitepoint Book Frame

Jul 23, 2006

Was there a sitepoint blog post or article that covered the methods used to implement the sitepoint.com home page book frame? (frame at btm of page with book promo)

View 3 Replies View Related

Buy The Book Or The Online Video For Kevin?

Nov 21, 2010

I want to learn Javascript the right way, I'm not sure id I should buy the book or buy the online video for kevin? who tried both give me a recommendation.

View 1 Replies View Related

Book Recommendations For New JavaScript Learner?

Jun 12, 2006

I have been working with HTML for a few years and am now just getting comfortable with CSS, but I never got into JavaScript. I learn best by reading and following instructions and doing small projects that emphasize the concepts. Can anyone recommend a good book for a beginner at Javascript? Something that makes you practice?

View 1 Replies View Related

AJAX :: Free To Download Book About It?

Apr 25, 2010

Do you know a good, free to download book about AJAX (pdf, djvu, chtm?, any)?

View 2 Replies View Related

Trap The Window.close() Event When The User Clicks On The Close Button Of The Browser

Jul 20, 2005

I want to trap the window.close() event when the user clicks on the close button of the browser using javascript. Can anyone shed light on this problem ?

View 1 Replies View Related

Modal And Link Based On Ninja Book?

Apr 29, 2010

I have a login link that is supposed to open a modal and then direct the visitor to a submission form once they are logged in. Here's the link code: <a href="/resources/submit" class="login">Submit New</a> and the jquery based on an example in the ninja book:

Code:
$('a.login').click(function() {
openDialog('#dialog');
});
$('#dialog')

[Code]...

When I put a path name in the href, the modal opens but then quickly closes itself and sends the visitor to the form. If I use href="#" the modal opens and stays open, but when the visitor submits the form they are returned to the page they were on rather than the submission form.

I keep setting this aside and coming back to it, thinking I'll understand what's gone wrong here, but I still don't. I'd like this modal to work for other links with different paths, so I don't want to code the redirect into the js - I want to be able to control it in the link itself.

View 4 Replies View Related

Jquery :: Book Viewer With Security Features

Sep 7, 2010

My client currently has a Flash book reader on his site that provides a UI for reading a book.Each page of the book is a GIF, and there are hundreds of books available.Now, my client would like to change this reader, and I've convinced him to let me rebuild the reader in jQuery.The hiccup is that, for copyright reasons, the images of the pages in the book must not be downloadable or accessible in the source code.(In other words, there shouldn't be a way to steal the book other than taking a screenshot of every page.)I want the reader to be powered by jQuery, it is, by definition, in-browser.

View 9 Replies View Related

AJAX :: Best Book To Learn PHP , Script , DHTML And This?

Sep 19, 2011

What is the best book to learn ,PHP,Javascript,DHTML, and AJAX?

View 1 Replies View Related

Script To Convert Form To Address Book Contact

Jul 20, 2005

I am a teacher and would love to find a way to create a form that my
students/parents fill out and email me and then have a macro/script take
this information and automatically create/update a contact in my Outlook
Express Address Book.

Please let me know if there is a way to accomplish this. My site is on
Comcast, and I cannot dynamically save information to the site.

View 1 Replies View Related

DHTML Utopia Book, Rollover Menu Inline?

Sep 27, 2005

This is really only for anyone who has the book and has mastered the concepts of the rollover drop down menus from Chapter 7 in Stuart Langridge's DHTML Utopia book.

Does anyone know what the key is to getting the first menu list to appear inline, rather than as a block, while leaving everything else working as it does already?

View 3 Replies View Related

Javascript Anthology Book DHTML Menu IE7 Problem

Dec 13, 2006

Anyone trying out the javascript drop down menus from the Sitepoint Javascript Anthology book might have noticed that in IE7 the sub menus are misaligned, they are offset to far to the right.

Has anyone else come across this problem and does anyone know how to fix it? It has unfortunately broken several of my menus, though if you just try the demo menus from the book in IE7 they also suffer the same problem.

View 3 Replies View Related

Best Libraries To Use To Create A Very Realistic Flip Book Effect?

May 17, 2010

I want to make a flip book effect using only HTML,CSS and Javascript for smartphones like: Iphone and Android

Anybody have an ideea about wich are the best libraries to use to create a very realistic flip book effect ?

View 3 Replies View Related

Make Pop Up Footer That Appears On Site With An Advert For A Book In It?

Feb 23, 2009

I remember a while back there was an article published on here explaining how to make the pop up footer that appears on the site with an advert for a book in it.

View 2 Replies View Related

Using JFlip Plugin - Intergrate A Book That Pages Flip Into A Project

Oct 1, 2009

I'm trying to intergrate a book that pages flip into a project I'm working on. For this I am using JFlip a plugin for jQuery.

As seen here: [url]

However two problem's I'm running into are

1. The Transparency goes really strange when I flip the page.

2. I have no idea how to set a setting to let me know what page the user is looking at.

Main Page:

JFlip:

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved