instanceof
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 4
NamespaceSim 0.5.0
NamespaceSim project can be used to emulate class namespaces under PHP 5. more>>
NamespaceSim project can be used to emulate class namespaces under PHP 5.
It parses PHP code to extract namespace definition statements. The code is rewritten to emulate the namespace support in a way similar to the Java language namespace support.
This package implements new commands named package and import. The package command defines the package that a class belongs. The package name is prepended to the class names using PEAR class naming and directory conventions.
The import command indicates that the package should be imported for use in the PHP script on which the import command is used. Classes that are not found in the current script are looked in the imported namespaces.
Error mapping has been added since 0.4.0, which requires that caching is enabled. This features makes php errors in rewritten files point to the right place in the original file.
As of version 0.5.0 nsim supports namespaces in:
- class definition (w/inheritance & interfaces implementation)
- interface definition (w/inheritance)
- static class vars & functions
- class constants
- instanceof operator
- type hinting
<<lessIt parses PHP code to extract namespace definition statements. The code is rewritten to emulate the namespace support in a way similar to the Java language namespace support.
This package implements new commands named package and import. The package command defines the package that a class belongs. The package name is prepended to the class names using PEAR class naming and directory conventions.
The import command indicates that the package should be imported for use in the PHP script on which the import command is used. Classes that are not found in the current script are looked in the imported namespaces.
Error mapping has been added since 0.4.0, which requires that caching is enabled. This features makes php errors in rewritten files point to the right place in the original file.
As of version 0.5.0 nsim supports namespaces in:
- class definition (w/inheritance & interfaces implementation)
- interface definition (w/inheritance)
- static class vars & functions
- class constants
- instanceof operator
- type hinting
Download (MB)
Added: 2007-08-08 License: LGPL (GNU Lesser General Public License) Price:
810 downloads
Runabout 5.0
the Runabout is an extension of the Java libraries. more>>
The Runabout is an extension of the Java libraries that adds two-argument multi-dispatch to Java without changing the language or the VM.
It uses reflection to find visit methods, which are invoked using dynamically generated and loaded code. The Runabout does not need a special compiler or changes to Javas syntax.
Dispatch with the Runabout is fairly fast, typically a factor of two to ten times slower than double dispatch. The Runabout is useful since it can help to make code faster and more readable. For example, a sequence of instanceof tests is a clear sign that a Runabout should be used instead.
Enhancements:
- This release makes the Runabout code much simpler.
- The goal was to make it easier for users to understand code using the Runabout by avoiding feature-bloat.
- The major changes are elimination of features.
- Specifically, there is no longer support for primitive types or user-defined dispatching functions.
- Supporting primitive types would interact badly with the auto (un)boxing features that are new in Java 5.0.
- The implementation was cleaned up to make use of the new features of Java 5.0.
- As a result, the new version works only with Java 5.0 or higher.
<<lessIt uses reflection to find visit methods, which are invoked using dynamically generated and loaded code. The Runabout does not need a special compiler or changes to Javas syntax.
Dispatch with the Runabout is fairly fast, typically a factor of two to ten times slower than double dispatch. The Runabout is useful since it can help to make code faster and more readable. For example, a sequence of instanceof tests is a clear sign that a Runabout should be used instead.
Enhancements:
- This release makes the Runabout code much simpler.
- The goal was to make it easier for users to understand code using the Runabout by avoiding feature-bloat.
- The major changes are elimination of features.
- Specifically, there is no longer support for primitive types or user-defined dispatching functions.
- Supporting primitive types would interact badly with the auto (un)boxing features that are new in Java 5.0.
- The implementation was cleaned up to make use of the new features of Java 5.0.
- As a result, the new version works only with Java 5.0 or higher.
Download (0.028MB)
Added: 2005-10-25 License: GPL (GNU General Public License) Price:
1459 downloads
Humax 0.1 Beta
Humax project is a framework for developing RIA Web 2.0 applications. more>>
Humax project is a framework for developing RIA Web 2.0 applications.
It provides a rich set of object-oriented client-side libraries which works seamlessly regardless of the server side technology used.
The web applications are today developed with rich interactive and quick responsible way. This was achieved by the usage of AJAX. Though, XmlHttpRequest is the only thing makes a web application as AJAX enabled, but there are numerous patterns used along with it.
In a straight forward manner, nothing but the usage of JavaScript. Previously, web applications used JavaScript only for client side validation and interactivity. In the AJAX world, JavaScript replaces high level languages in UI and UI Processing layers. Lot of frameworks available for providing interoperability between server side and client side in object oriented manner.
However, still the client side development more object orientation than what we currently use. This is not only the matter of object thinking. The client side development requires the features and facilities available in server side technology.
In addition to these, we require more for developing applications for Web 2.0 paradigm. Humax is one of the initiatives for providing the above specified requirements. Simply said, the scope for Humax framework is:
Complete object orientation and Interoperable Web 2.0 framework.
Framework with features as like in server side technology.
How To Use:
Step 1: Add Humax into your web project
Humax library is defined on "humax0.1.js" file. You can add this into your html pages header section by
< script type="text/javascript" src="humax.js" / >
Step 2: Define and Use Classes
You can either define the client side logic on separate JavaScript file or within the page itself. Humax recommend to use separate file. Some of the modern HTML/JavaScript editors supports code assistance which will improve your development productivity
Unofficially, Humax recommends to use Aptana IDE. It is a pure open source IDE for developing HTML/JavaScript. But the Code Assist Profiles one of the unique feature.
The following is a sample code declared on separate file
var HumaxSpace = {}
HumaxSpace.Point = function(x, y)
{
if(arguments.length == 0)
{
this._x = 0;
this._y = 0;
}else
{
this._x = x;
this._y = y;
}
}
HumaxSpace.Point.prototype =
{
_x : 0,
_y : 0,
getX : function(){return this._x;},
getY : function(){return this._y;},
setX : function(x) {this._x = x;},
setY : function(y){this._y = y;}
}
HumaxSpace.Point.equals = function(a, b)
{
if(a instanceof HumaxSpace.Point && b instanceof HumaxSpace.Point)
{
if(a.getX() == b.getX() &&
a.getY() == b.getY())
return true;
else
return false;
}
}
Humax.declareClass("HumaxSpace.Point", HumaxSpace.Point);
Step 3: Use the classes
You can use these classes to create instances on another JavaScript file or the html page as like
< script type="text/javascript" >
var point1 = new HumaxSpace.Point();
point1.setX(4);
point1.setY(3);
var point2 = new HumaxSpace.Point(6, 3);
if(HumaxSpace.Point.equals(point1, point2))
alert("Points are same");
< script >
Enhancements:
- This release enables you to design and develop complete object orientation client side script.
<<lessIt provides a rich set of object-oriented client-side libraries which works seamlessly regardless of the server side technology used.
The web applications are today developed with rich interactive and quick responsible way. This was achieved by the usage of AJAX. Though, XmlHttpRequest is the only thing makes a web application as AJAX enabled, but there are numerous patterns used along with it.
In a straight forward manner, nothing but the usage of JavaScript. Previously, web applications used JavaScript only for client side validation and interactivity. In the AJAX world, JavaScript replaces high level languages in UI and UI Processing layers. Lot of frameworks available for providing interoperability between server side and client side in object oriented manner.
However, still the client side development more object orientation than what we currently use. This is not only the matter of object thinking. The client side development requires the features and facilities available in server side technology.
In addition to these, we require more for developing applications for Web 2.0 paradigm. Humax is one of the initiatives for providing the above specified requirements. Simply said, the scope for Humax framework is:
Complete object orientation and Interoperable Web 2.0 framework.
Framework with features as like in server side technology.
How To Use:
Step 1: Add Humax into your web project
Humax library is defined on "humax0.1.js" file. You can add this into your html pages header section by
< script type="text/javascript" src="humax.js" / >
Step 2: Define and Use Classes
You can either define the client side logic on separate JavaScript file or within the page itself. Humax recommend to use separate file. Some of the modern HTML/JavaScript editors supports code assistance which will improve your development productivity
Unofficially, Humax recommends to use Aptana IDE. It is a pure open source IDE for developing HTML/JavaScript. But the Code Assist Profiles one of the unique feature.
The following is a sample code declared on separate file
var HumaxSpace = {}
HumaxSpace.Point = function(x, y)
{
if(arguments.length == 0)
{
this._x = 0;
this._y = 0;
}else
{
this._x = x;
this._y = y;
}
}
HumaxSpace.Point.prototype =
{
_x : 0,
_y : 0,
getX : function(){return this._x;},
getY : function(){return this._y;},
setX : function(x) {this._x = x;},
setY : function(y){this._y = y;}
}
HumaxSpace.Point.equals = function(a, b)
{
if(a instanceof HumaxSpace.Point && b instanceof HumaxSpace.Point)
{
if(a.getX() == b.getX() &&
a.getY() == b.getY())
return true;
else
return false;
}
}
Humax.declareClass("HumaxSpace.Point", HumaxSpace.Point);
Step 3: Use the classes
You can use these classes to create instances on another JavaScript file or the html page as like
< script type="text/javascript" >
var point1 = new HumaxSpace.Point();
point1.setX(4);
point1.setY(3);
var point2 = new HumaxSpace.Point(6, 3);
if(HumaxSpace.Point.equals(point1, point2))
alert("Points are same");
< script >
Enhancements:
- This release enables you to design and develop complete object orientation client side script.
Download (MB)
Added: 2007-08-08 License: LGPL (GNU Lesser General Public License) Price:
815 downloads
RebeccaAIML 0.9871
RebeccaAIML is an object-oriented C++ chatter bot API and interpreter for AIML from the ALICE project. more>>
RebeccaAIML is a Windows/Linux Object Oriented C++ chatter bot api/interpreter for AIML (Artificial Intelligence Markup Language) from the ALICE project.
RebeccaAIML includes comprehensive documentation and samples as well as showcases/teaches popular and recent C++ practices.
Rebecca is open source and licensed under the LGPL license.
RebeccaAIML has been compiled and tested underneath Windows XP as well as Linux Fedora Core 3. However, it should be easily moveable to other flavours of Linux or other Unixes easily. If you have problems, PLEASE DROP ME A LINE, so I can fix em.
Enhancements:
- Now include the executable, regression, in both the Windows and Linux prebuilt packages. This is for downloaders to be able to verify the quality of Rebecca for the version they download. I also added the regression test suite to the autoconf build system where it builds it by default. This is for those who port RebeccaAIML to another platform to be able to run regression tests to ensure the quality of the port. Use "./configure --help" to see all the autoconf options available. Updated the code for the regression testing. It now uses header and footer html files in resources/testing instead of having the html hard coded. Fixed it to output
instead of the incorrect
for html page breaks. I also improved it to be dll boundary safe by having it use Tag::instanceOf() instead of dynamically casting through dynamic_cast(). I also added an Arguments class to regression to enable a smooth transition over to autoconf
<<lessRebeccaAIML includes comprehensive documentation and samples as well as showcases/teaches popular and recent C++ practices.
Rebecca is open source and licensed under the LGPL license.
RebeccaAIML has been compiled and tested underneath Windows XP as well as Linux Fedora Core 3. However, it should be easily moveable to other flavours of Linux or other Unixes easily. If you have problems, PLEASE DROP ME A LINE, so I can fix em.
Enhancements:
- Now include the executable, regression, in both the Windows and Linux prebuilt packages. This is for downloaders to be able to verify the quality of Rebecca for the version they download. I also added the regression test suite to the autoconf build system where it builds it by default. This is for those who port RebeccaAIML to another platform to be able to run regression tests to ensure the quality of the port. Use "./configure --help" to see all the autoconf options available. Updated the code for the regression testing. It now uses header and footer html files in resources/testing instead of having the html hard coded. Fixed it to output
instead of the incorrect
for html page breaks. I also improved it to be dll boundary safe by having it use Tag::instanceOf() instead of dynamically casting through dynamic_cast(). I also added an Arguments class to regression to enable a smooth transition over to autoconf
Download (1.0MB)
Added: 2006-09-08 License: LGPL (GNU Lesser General Public License) Price:
1142 downloads
Secleted [ 0 ] software to compare
- Page: 1 of 1
- 1
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above instanceof search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed