Ajax

NetBeans IDE 6.5 provides an Ajax-ready environment, with editor support for JavaScript, CSS, PHP, and HTML files. The editor provides full syntax highlighting, code completion and error checking for JavaScript, CSS, and PHP. The editor recognizes JavaScript code in stand alone files, or embedded in HTML, RHTML, and JSP files. The JavaScript editor also provides integrated documentation for popular Ajax frameworks, such as Dojo, Script.aculo.us, jQuery, Yahoo, flickr, and others. A plug-in for Google Web Toolkit allows for working with GWT libraries. The Database Explorer works with JavaDB (Derby), MySQL, and PostgreSQL, and any relational database with a JDBC driver.


AJAX Tooling in the NetBeans IDE

The NetBeans IDE provides essential tools and resources for developing Ajax-enabled web applications. At the core of the NetBeans Ajax toolset is the JavaScript editor and the JavaScript client debugger integrated with each of the web application project types including PHP, Java EE, Ruby on Rails, and Grails. Popular Ajax toolkits including YahooUI, dojo, and jQuery are included with the NetBeans IDE making it easy to incorporate dynamic user interface elements into your application.

http://wiki.netbeans.org/wiki/attach/Ajax/JSdebugger_Ajax.jpg

Major Features:

  • Editing - The NetBeans JavaScript editor, completely redesigned in NetBeans 6.1, provides comprehensive support for editing, refactoring, and navigating JavaScript source code. Main features include semantic highlighting, mark occurrences, rename across multiple files, quick fixes and semantic checks, code completion with browser compatibility hints, type analysis, and more.
  • Debugging - NetBeans includes the option to interactively debug client side JavaScript code executing in the browser. All aspects of the debugging session including breakpoint management, watches, local variable inspection, and call stack navigation are integrated into the NetBeans IDE. Since it is solely based on the browser's runtime environment, any web page can be loaded into the debugger whether it is part of a NetBeans project or not. Client side debugging is supported on FireFox (all platforms) and Internet Explorer (Windows only). Simultaneous client side and server side debugging is available and managed as two debugging sessions.
  • Monitoring - The http client monitor provides realtime viewing of http request/response transactions from the perspective of the JavaScript client application executing in the browser. Http request/response records are viewable in the IDE with their corresponding headers and parameters. Payload data such as XML or JSON is displayed with appropriate syntax coloring and formatting applied. At this time, http client monitoring is supported on FireFox only.
  • Library Management - JavaScript libraries can be bundled and managed in the IDE through the NetBeans Library Manager. Once they are registered with the Library Manager, JavaScript libraries can be easily added to the project where they are automatically recognized by the editor's code completion and type inferencing engine.
  • Bundled Ajax Resources - Some of the more popular Ajax libraries and toolkits such as YahooUI, dojo, jQuery, scriptaculous, and others, are bundled with NetBeans and automatically registered with the Library Manager. These libraries can be added to a project through the project's properties dialog.

Other Features:

  • RAD - NetBeans provides a tool to rapidly create a database CRUD application from a database schema using JavaServer Faces as the underlying user interface framework. By setting an option in the application generator, Ajax code and libraries are added to the project laying the foundation for customizing the Ajax behavior to suit your application.
  • Tutorials & Samples - TBD

Useful Links

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo