Skip to main content

Home/ javascript/ Group items tagged with

Rss Feed Group items tagged

Ivan Pavlov

JNEXT - JavaScript Native Extensions - 0 views

shared by Ivan Pavlov on 06 Oct 08 - Cached
  • JNEXT is an open source (triple MPL, GPL, LGPL license), small footprint, cross platform and cross browser framework for extending Web browser Javascript (for more background and motivation check this blog entry). With JNEXT it is possible to utilize existing Web browsers to host full and self contained applications that do not depend on external Web servers for the application logic (although they are free to make use of them). This is acheived by enabling Javascript controlled access to the full range of native operating system resources (such as TCP/UDP sockets, files, databases, threads etc).
Julian Knight

40+ Tooltips Scripts With AJAX, JavaScript & CSS | Smashing Magazine - 0 views

  •  
    Lots of ways to produce nice tooltips
yc c

REJAX - Coolest Regular Expression Tester. Ever. - 0 views

  •  
    As the first online Regular Expression tester to offer realtime highlighting and offering more languages than any other online tester, ReJAx continues to be the coolest and easiest to use Regular Expression tester on the web. Supported languages:
        * JavaScript
        * PHP 5 PCRE
        * PHP 5 POSIX
        * Ruby - BETA!!
        * PERL 5
        * UNIX Shell Pattern
    It is not necessary to enter the beginning and ending slashes in the pattern field. Not all modifiers will be compatible with every language. Backreferences (when available) are usually in the form of \n where n is the reference number


Ivan Pavlov

oni - structured concurrency - 0 views

  • Oni is a framework for managing the control flow of concurrent applications. There are two central ideas to Oni: To make concurrent actions composable by implementing 'pseudo-sequential' control structures with which asynchronous actions can be choreographed in the same way in which traditional sequential control structures are used to choreograph conventional synchronous actions. Ok, I'm not sure I even understand that myself. But please read on anyway :-) To leverage the facilities of a "host language" rather than implement a complete programming language from scratch. Oni can be implemented as a set of functions ("Oni operators") in a suitable host language, such as JavaScript or C++ (any reasonable language will do). Our current implementation, dubbed Oni/JS, is in JavaScript, targeted at in-browser use (should work in any modern browser - FF, Chrome, Safari, IE, ...). Oni requires no preprocessing or precompilation; an Oni program is a just an expression in the host language.
  •  
    Oni is a framework for managing the control flow of concurrent applications.
Hussain M Elius

Building an interactive map with jQuery instead of Flash - 0 views

  •  
    A case study
yc c

Bookmarklet Coding › Left Logic - 0 views

  • if you want your bookmarklet to work in all browsers, it has to adhere to length limits: IE 5 - 2084 bytes IE 6 - 508 bytes IE 6 SP 2 - 488 bytes IE 7 - 2084 bytes Firefox + Safari - > 2000 bytes IE6 has the smallest length, and that includes the javascript: pseudo protocol.
  • Avoid the double quote character ("). Since the user is going to install your bookmarklet from a link, it will be wrapped with quotes (assuming xhtml). If you absolutely require quotes, try using the entity: %22
  •  
    if you want your bookmarklet to work in all browsers, it has to adhere to length limits: * IE 5 - 2084 bytes * IE 6 - 508 bytes * IE 6 SP 2 - 488 bytes * IE 7 - 2084 bytes * Firefox + Safari - > 2000 bytes IE6 has the smallest length, and that includes the javascript: pseudo protocol.
Javier Neira

All about types in Javascript - The basics | united-coders.com - 0 views

  • This may lead to interesting results. When dealing with arrays, an array is converted to a string by converting the elements to string, seperating each element by a comma. [].toString();      // "" [2].toString();     // "2" [1,2,3].toString(); // "1,2,3"
Javier Neira

Why REST ? | /var/log/mind - 0 views

  • ‘ls’ or ‘List Directory’
  • ‘cd’or ‘Change Directory’
  • ‘put’ or ‘Upload’
  • ...26 more annotations...
  • you soon realise that every file and directory is uniquely addressable by its fully qualified path (either absolute or relative) and you can refer to each file and directory by its path. You are also aware that a valid path will uniquely resolve to only one directory or file.
  • the server allows you to retrieve the list of subdirectories and files within your current directory. It always shows you the current state of that directory.
  • following elements
  • A shared understanding of where the files will be uploaded, how they will be uniquely named, their specific file extensions (optionally) and the specific format of the file eg.
  • daemon process on the central office computer (the FTP server) which regularly scans the directory, parses each file as it comes it, does the relevant processing on it, and generates the appropriate result files and places them in the appropriate directories using the shared understanding of the directory structure and the file naming convention to communicate back the results of the processing.
  • RPC allowed you to invoke remote procedures by supporting an ability to pass messages which included the message name and the values for all the parameters necessary to be supplied to the message. Unlike FTP which was meant to do data transfer across a network, RPC was geared to do things remotely.
  • FTP required understanding of very few basic verbs (ls, cd, get, put). Thus the training required to understand FTP semantics was far less than that for RPC. This was partially due to the fact that RPC had a programmatic interface.
  • Moreover each time, new procedures were added or parameters added, these required programmatic changes
  • HTTP protoco
  • Unlike FTP and email, this required the authors to understand a new language, but used a simple markup syntax to keep the learning curve to the minimum
  • get/view/download/save a document
  • Along with RPC, these were essentially different technical manifestations of Service Oriented Architecture (SOA) principles.
  • Many services were usually expected to “do something” though quite often some services would simply return the requested data. Usually but not necessarily the services were identified by using ‘verbs’.
  • allow us to use the web to ‘do something’
  • Resource and media types as the basic units
  • Unique resource identifiers
  • Each resource has often one default manually readable representation
  • Each resource representation optionally includes contextually relevant hyperlinks to other resources
  • REST encourages a uniform interface
  • GET, PUT, POST and DELETE
  • Default Rendering
  • a default HTML rendering capability
  • Aspects such as non maintenance of conversational state, greatly increase the scalability of REST applications even if they do incur a minor cost in efficiency (which can be due to repeated redundant communication of data elements, or additional processing requirements due to preclusion of conversation state).
  • is much easier to understand from a data perspective than an invoice processor API.
  • However the simpler, cleaner and minimalistic abstractions often are far more important than feature richness. A point I would want to make in favour of REST even as I admit that conventional SOA technologies are far more feature rich than REST.
  • REST encourages you to view and model your architecture as a set of resources rather than services.
yc c

389 - experiments - fun with javascript - 2 views

shared by yc c on 15 Dec 09 - Cached
  •  
    fun js experiments
Ace Dee

SEO Services that Exceeds Expectations - 1 views

Oracle Digital impressed me greatly with their content, knowledge and passion for the industry. After following Oracle Digital for three months and liking what I saw, I approached them for an initi...

SEO Perth Brisbane

started by Ace Dee on 21 Feb 11 no follow-up yet
Eunikorn Imazinator

How to Monitor If an Image Loads Completed - HTML and Javascript Tips |JAVASCRIPT CODES - 0 views

  • imgDom.onreadystatechange
    • Eunikorn Imazinator
       
      cross browser way to deal with loading of single dom elements.  Note : this does not ensure that entire subsidiary dom tree has loaded and also it does not ensure that the event will be immediately fired if dom has already loaded.  Doing the same thing through JQuery :  $("..something..").load(function() { ... });
Javier Neira

Is JavaScript object-oriented? - Stack Overflow - 1 views

  • Well this is broken. Since the function assigned to getValue is no longer in scope with _value it can't access it. We would need to promote _value to an attribute of this but that would make it accessable outside of the control of code written for the class, hence encapsulation is broken.
Javier Neira

12 Tips to improve your jQuery code | Geekology - 2 views

  • DOM manipulation is one of the slowest operations JavaScript (and hence, jQuery) can perform.
  • Use IDs instead of classes in selectors
  • When you need to perform multiple methods on elements, jQuery can chain those methods together.
  • ...2 more annotations...
  • 11. Use jQuery’s noConflict() method to rename the jQuery object when working with multiple frameworks: Many JavaScript frameworks use the “$” symbol to reference the framework. If you use multiple frameworks in your project, use the jQuery.noConflict() method to release the “$” object and assign jQuery to a custom-named object:
  • 12. Use shorthand for the $(document).ready() event:
seth kutcher

Fast and Reliable Computer Repair Services - 1 views

One day, I was working on my thesis which was due in three days and then suddenly my computer shut down. I then browsed for companies that offer computer repair services and found Computer Hardwar...

computer repair services

started by seth kutcher on 02 Nov 11 no follow-up yet
anonymous

CodeLite IDE Main/Home Page - 2 views

  •  
    CodeLite is an open source, free, cross platform IDE specialized in C, C++, PHP and JavaScript (mainly for backend developers using Node.js) programming languages which runs best on all major Platforms ( OSX, Windows and Linux )
  •  
    CodeLite is an open-source, cross platform IDE for the C/C++ programming languages (build and tested on Windows XP SP3, Windows Vista, Windows 7, Ubuntu 10.04, and Mac OSX 10.5.8). CodeLite is distributed under the terms of the GPLv2 license with an exception:
« First ‹ Previous 81 - 100 of 100
Showing 20 items per page