<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.expertiza.ncsu.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ssatish</id>
	<title>Expertiza_Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.expertiza.ncsu.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ssatish"/>
	<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Special:Contributions/Ssatish"/>
	<updated>2026-05-09T17:40:59Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki3_7_f1&amp;diff=27327</id>
		<title>CSC/ECE 517 Fall 2009/wiki3 7 f1</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki3_7_f1&amp;diff=27327"/>
		<updated>2009-11-17T15:31:05Z</updated>

		<summary type="html">&lt;p&gt;Ssatish: /* Separating Design from Engineering */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wikipedia article focuses on how  [http://en.wikipedia.org/wiki/Agile_software_development Agile] software development methodology can complement other  design methodologies. Section 1 highlights the advantage of agile over traditional models,  like the [http://en.wikipedia.org/wiki/Waterfall_model waterfall model]. Section 2 highlights why it might not be possible to introduce all of the agile practices at the same time. Section 3 takes up a few design methodologies and focuses on how agile complements them. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Agile vs Traditional Methodologies ==&lt;br /&gt;
&lt;br /&gt;
The agile manifesto focuses on &lt;br /&gt;
&lt;br /&gt;
*''' Individuals and interactions''' over processes and tools&lt;br /&gt;
&lt;br /&gt;
*'''Working software''' over comprehensive documentation&lt;br /&gt;
&lt;br /&gt;
* '''Customer collaboration''' over contract negotiation&lt;br /&gt;
&lt;br /&gt;
* '''Responding to change''' over following a plan&lt;br /&gt;
&lt;br /&gt;
That is, while there is value in the items on the right, agile values the items on the left more. The items on the right are what the traditional design methodologies emphasise on.&lt;br /&gt;
&lt;br /&gt;
===Advantages of the agile method===&lt;br /&gt;
&lt;br /&gt;
* Once a stage is completed in the Waterfall method, there is no going back, since most software designed and implemented under the waterfall method is hard to change according to time and user needs.  The problem can only be fixed by going back and designing an entirely new system, a very costly and inefficient method. Whereas, Agile methods adapt to change, as at the end of each stage, the logical programme, designed to cope and adapt to new ideas from the outset, allows changes to be made easily.  With Agile, changes can be made if necessary without getting the entire programme rewritten.  This approach not only reduces overheads, it also helps in the upgrading of programmes.&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
* Another Agile method advantage is one has a launchable product at the end of each tested stage.  This ensures bugs are caught and eliminated in the development cycle, and the product is double tested again after the first bug elimination.  This is not possible for the Waterfall method, since the product is tested only at the very end, which means any bugs found results in the entire programme having to be re-written.&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
* Agile’s modular nature means employing better suited object-oriented designs and programmes, which means one always has a working model for timely release even when it does not always entirely match customer specifications.  Whereas, there is only one main release in the waterfall method and any problems or delays mean highly dissatisfied customers.&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
* Agile methods allow for specification changes as per end-user’s requirements, spelling customer satisfaction.  As already mentioned, this is not possible when the waterfall method is employed, since any changes to be made means the project has to be started all over again.&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
* However, both methods do allow for a sort of departmentalization e.g. in waterfall departmentalization is done at each stage.  As for Agile, each coding module can be delegated to separate groups.  This allows for several parts of the project to be done at the same time, though departmentalization is more effectively used in Agile methodologies.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Challenges in Applying Agile Methodologies== &lt;br /&gt;
 &lt;br /&gt;
* [3] researches about the challenges in applying agile and concludes by introducing a set of new and modified development practices, which will help in developing a large agile project. One of the aspects common to many agile development methodologies is that the entire team (business analysts, developers, and testers) collaborate very heavily. With a large project, this type of collaboration is difficult at best. Teams tend to break up into subteams for better communication. The downside to subteams is the possibility that the subteams build stove-piped  sub-systems if communication is insufficient among the teams. Problems of consistency and duplication may go undiscovered. Of course, there are other practices that help alleviate these problems such as rotating team members among the subteams, having an overall design document, etc. The different subteams may result in a non-homogeneous and inconsistent architecture.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Many of the solutions agile methods promote, draw on a limited set of techniques for managing organizations and understanding customers. [7] focuses on incorporating customer-centered techniques such as [http://en.wikipedia.org/wiki/Contextual_design Contextual Design] to provide additional  solutions to the real problems recognized by agile methods. These solutions work in combination with agile methods’ strengths resulting in a process that incorporates the customer voice, provides room for UI and user interaction design, and can address significantly large projects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Study of a few Design methodologies and How Agile Complements Them==&lt;br /&gt;
&lt;br /&gt;
        &lt;br /&gt;
&amp;lt;b&amp;gt;Separating Design from Engineering: &amp;lt;/b&amp;gt; Much of the distinctiveness (and much of the value) of agile methods comes from the&lt;br /&gt;
clear separation of responsibilities they bring to the development process. Developers&lt;br /&gt;
write code and design the implementation of systems—that is what they are good at.&lt;br /&gt;
They are not good at understanding how people work, creating effective and intuitive&lt;br /&gt;
user interfaces, or making an interface usable.&lt;br /&gt;
&lt;br /&gt;
The great strength of agile methods is that they focus the engineers on doing what&lt;br /&gt;
engineers do best. The weakness of agile methods is that they give little guidance in&lt;br /&gt;
figuring out what to tell the engineers to do.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Core Team: &amp;lt;/b&amp;gt; Possible agile solutions would be to start with a core team which builds out a simple business case in a test-driven manner. This first phase will build out enough of most of the architecture. With a small team, a full agile methodology works without modification. When a significant portion of the architecture is built, it is time to divide the project by growing the development team and splitting up into smaller subteams to grow the project into a fully functional software system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Role of an architect:&amp;lt;/b&amp;gt; While there is no traditional architect role in most agile development methodologies, in large teams, it is often beneficial to reintroduce a modified version of this role. The architect is a member of the team with significant  design and development talent and experience and he has to understand the ‘whole’ application code-base. The architect is hands-on and pairs with others on the team frequently and will be a participant in many agile modeling design sessions on the whiteboard. This helps keep away redundancies.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Continuous Integration:&amp;lt;/b&amp;gt; While each sub-team will have their own build running, agile methodology suggests having a 'brain' team that will have to create a master build that builds all sub-teams code and/or deploy their binary files. The master build will run frequently by pulling down the last successful builds for sub projects, compile and deploy the whole project and run the tests. In case of failure the brain team has to identify the problem and resolve it or take it to the responsible sub team to resolve it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Refactoring:&amp;lt;/b&amp;gt; In large projects Refactoring sometimes becomes very expensive process and may take a month to be done. Some design ahead may be done to save expensive major refactoring later. For the conquer team when it’s still early on the project, to avoid large complicated refactoring some extra time should be spent for designing for future known requirements. Having the overall picture of use cases will make it easier to predict future requirements and create a design that will handle them. This design ahead is allowed only during the conquer phase of the project and will only apply to core systems, frameworks and similar subsystems of the system which may be more expensive to be re-factored.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Tests:&amp;lt;/b&amp;gt; To reduce the cost of refactoring, the team may depend on functional tests more than unit tests. Functional tests test the functionality of the system and in general do not depend on the system design. Unit tests should still be created for test driven development and for critical pieces of the system that may cause the system to break. Tests that are created after the development and tests created for reported bugs should be functional tests. Having less unit tests will lead to more time spent in debugging issues and functional tests cannot pin point problems but having a better design through constant refactoring will reduce the development time much more than the extra time being spent in debugging issues. Functional test should be documented in each test to describe the test scenario, expected results and differences between test scenarios. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These are some of the recommended practices that will help mediate some of the problems in applying agile design methodologies to projects. There are also some difficulties with applying these practices such as with the master build, with communication between teams, with extreme designing to get useless frameworks, and care should be taken to avoid them.&lt;br /&gt;
&lt;br /&gt;
== References==&lt;br /&gt;
&lt;br /&gt;
# [http://virtual.vtt.fi/virtual/xp2006/ XP 2006 Website]&lt;br /&gt;
# [http://www.agile200x.org/ Agile Development Conference]&lt;br /&gt;
# Experience Paper: Applying Agile to Large Projects: New Agile Software Development Practices for Large Projects- Ahmed Elshamy and Amr Elssamadisy&lt;br /&gt;
# Research Paper:  Comparative Analysis of Job Satisfaction in Agile and Non-Agile Software Development Teams- Grigori Melnik, Frank Maurer&lt;br /&gt;
# Rolling the DICE for agile software projects- Bartlomiej Ziolkowski, Geoffrey Drake&lt;br /&gt;
# Incorporating Learning and Expected Cost of Change in Prioritizing Features on Agile Projects- Scott Harris, Mike Cohn&lt;br /&gt;
# An Agile User-Centered Method: Rapid Contextual Design- Hugh Beyer, Karen Holtzblatt, Lisa Baker&lt;/div&gt;</summary>
		<author><name>Ssatish</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23214</id>
		<title>CSC/ECE 517 Fall 2009/wiki2 17 f1</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23214"/>
		<updated>2009-10-08T23:21:53Z</updated>

		<summary type="html">&lt;p&gt;Ssatish: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Service Oriented Architecture provides another view of providing functionality based upon services offered in terms of protocols and a specific API. To provide services, platforms rely upon principles and the power that can be expressed through reflection and meta programming. Research and report how these critical concepts relate to and support SOA.'''&lt;br /&gt;
&lt;br /&gt;
== Service Oriented Architectures==&lt;br /&gt;
[http://en.wikipedia.org/wiki/Service_Oriented_Architectures Service Oriented Architecture] is a paradigm for organizing and utilizing distributed capabilities that may be under the control of different ownership domains. It provides a uniform means to offer, discover, interact with and use capabilities to produce desired effects consistent with measurable preconditions and expectations.&lt;br /&gt;
&lt;br /&gt;
This makes it easier for software integration of different modules developed by different people. Rather than defining an [http://en.wikipedia.org/wiki/API API], SOA defines the interface in terms of protocols and functionality such that modules following these protocols can easily be integrated together. The main characteristics of SOA are:&lt;br /&gt;
&lt;br /&gt;
* '''Based on open standards''' - The governing principles are free for all to use and not protected by intellectual property.&lt;br /&gt;
* '''Interoperable''' - Diverse systems should be able to work together (inter-operate)&lt;br /&gt;
* '''Autonomous''' - Services have control over the logic they encapsulate.&lt;br /&gt;
* '''Reusable''' - Logic is divided into services with the intention of promoting reuse.&lt;br /&gt;
* '''Reliable''' - It should not have many flaws&lt;br /&gt;
* '''Discoverable''' - Services are designed to be outwardly descriptive so that they can be found and assessed via available discovery mechanisms&lt;br /&gt;
* '''Loosely-Coupled''' - Loose coupling occurs when the dependent class contains a pointer only to an interface, which can then be implemented by one or many concrete classes.&lt;br /&gt;
* '''Stateless''' - Should exhibit the same behaviour and yield the same result whether called once, or 100 times&lt;br /&gt;
* '''Composable''' - Collections of services can be coordinated and assembled to form composite services.&lt;br /&gt;
* '''Manageable''' - It should be easy to maintain it&lt;br /&gt;
* '''Secure''' - It should not be easily hackable&lt;br /&gt;
&lt;br /&gt;
=== Core Components of SOA===&lt;br /&gt;
* '''SOAP''': Simple Object Access Protocol - As a layman's example of how SOAP procedures can be used, a SOAP message could be sent to a web service enabled web site (for example, a house price database) with the parameters needed for a search. The site would then return an [http://en.wikipedia.org/wiki/XML XML]-formatted document with the resulting data (prices, location, features, etc). Because the data is returned in a standardized machine-parseable format, it could then be integrated directly into a third-party site.&lt;br /&gt;
* '''WSDL''': Web Services Description Language - Its an XML-based language that provides a model for describing Web Services.&lt;br /&gt;
* '''UDDI''': Universal Discovery, Definition and Integration - Its an XML-based database for companies world-wide to list themselves on the internet&lt;br /&gt;
* '''BPEL''': Business Process Execution Language - Its a language for specifying interaction with web services.&lt;br /&gt;
* '''ESB''': [http://en.wikipedia.org/wiki/Enterprise_service_bus Enterprise Service Bus] &lt;br /&gt;
* '''WS-*''': Web Services Standards - a collection of protocols and standards used for exchanging data between applications&lt;br /&gt;
&lt;br /&gt;
===Benefits of SOA ===&lt;br /&gt;
* Improve long-term value of software assets&lt;br /&gt;
* Improve quality through modularity and testability&lt;br /&gt;
* Reduce development time with composition and reusability&lt;br /&gt;
* Leverage heterogeneous development environments&lt;br /&gt;
* Avoid vendor and platform lock-in&lt;br /&gt;
* Integrate with [http://en.wikipedia.org/wiki/Enterprise_resource_planning ERPs] and Enterprise infrastructure software&lt;br /&gt;
&lt;br /&gt;
===Use cases for SOA with Ruby===&lt;br /&gt;
Ruby can be a productive way to:&lt;br /&gt;
* Build web applications over web services&lt;br /&gt;
* Write web services tests with minimal code&lt;br /&gt;
* Write custom web services monitoring and management&lt;br /&gt;
* Integrate ERPs, [http://en.wikipedia.org/wiki/Commercial_off-the-shelf COTS] and custom applications&lt;br /&gt;
* Write SOA glue-code, e.g. custom transformation&lt;br /&gt;
* Perform programmatic web services orchestration&lt;br /&gt;
* Develop basic web services&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Reflection in Ruby==&lt;br /&gt;
&lt;br /&gt;
One of the many advantages of dynamic languages such as Ruby is the ability to introspect—to examine aspects of the program from within the program itself. This is called reflection. At runtime, we can discover the following things about our ruby program - &lt;br /&gt;
* what objects it contains,&lt;br /&gt;
* the class hierarchy,&lt;br /&gt;
* the attributes and methods of objects, and&lt;br /&gt;
* information on methods.&lt;br /&gt;
&lt;br /&gt;
Ruby provide a module called &amp;quot;ObjectSpace&amp;quot; that lets you to use reflection and see all the above mentioned information. So if you say, &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ObjectSpace.each_object { |x| puts x }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will print all living, nonimmediate objects in Ruby process.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ObjectSpace.each_object(Class) { |x| puts x}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will print all classes in Ruby process.&lt;br /&gt;
&lt;br /&gt;
The following code iterates over all the classes, compares their name. If name matches then create object and execute whichever function you like. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    class ClassFromString&lt;br /&gt;
    @@counter = 0&lt;br /&gt;
    def initialize&lt;br /&gt;
    @@counter += 1&lt;br /&gt;
    end&lt;br /&gt;
    def getCounterValue&lt;br /&gt;
    puts @@counter&lt;br /&gt;
    end&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    def createClassFromString(classname)&lt;br /&gt;
    ObjectSpace.each_object(Class) do |x|&lt;br /&gt;
    if x.name == classname&lt;br /&gt;
    object = x.new&lt;br /&gt;
    object.getCounterValue&lt;br /&gt;
    object = x.new&lt;br /&gt;
    object.getCounterValue&lt;br /&gt;
    end&lt;br /&gt;
    end&lt;br /&gt;
    end&lt;br /&gt;
    createClassFromString(&amp;quot;ClassFromString&amp;quot;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you get the object you can use any method of that object. For e.g. you can use superclass method to get the name of the parent class and so on and can build complete hierarchy dynamically.&lt;br /&gt;
You can get the information about methods of a given class using methods like private_methods(), protected_methods() which are defined in Object class which is base class for each object.&lt;br /&gt;
&lt;br /&gt;
'''Distributed Ruby''' and '''Marshalling''' are two reflection-based technologies that let us send objects around the world and through time, which enables use of Service Oriented Architectures.&lt;br /&gt;
&lt;br /&gt;
===Marshalling===&lt;br /&gt;
&lt;br /&gt;
Java features the ability to serialize objects, letting you store them somewhere and reconstitute them when needed.&lt;br /&gt;
To &amp;quot;serialize&amp;quot; an object means to convert its state into a byte stream in such a way that the byte stream can be converted back into a copy of the object.  You can use this facility, for instance, to save a tree of objects that represent some portion of application state—a document, a CAD drawing, a piece of music, and so on.&lt;br /&gt;
Ruby calls this kind of serialization marshaling (think of railroad marshaling yards where individual cars are assembled in sequence into a complete train, which is then dispatched somewhere). Saving an object and some or all of its components is done using the method ''Marshal.dump''. Typically, you will dump an entire object tree starting with some given object. Later, you can reconstitute the object using ''Marshal.load''.&lt;br /&gt;
&lt;br /&gt;
Example -  &lt;br /&gt;
&lt;br /&gt;
We have a class Chord that holds a collection of musical notes. We’d like to save away a particularly wonderful chord so we can e-mail it to friends. They can then load it into their copy of Ruby and savor it too. Let’s start with the classes for Note and Chord.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note = Struct.new(:value)&lt;br /&gt;
class Note&lt;br /&gt;
def to_s&lt;br /&gt;
value.to_s&lt;br /&gt;
end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
class Chord&lt;br /&gt;
def initialize(arr)&lt;br /&gt;
@arr = arr&lt;br /&gt;
end&lt;br /&gt;
def play&lt;br /&gt;
@arr.join('')&lt;br /&gt;
end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we’ll create our masterpiece and use Marshal.dump to save a serialized version of it to disk.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
c = Chord.new( [ Note.new(&amp;quot;G&amp;quot;),&lt;br /&gt;
Note.new(&amp;quot;Bb&amp;quot;),&lt;br /&gt;
Note.new(&amp;quot;Db&amp;quot;),&lt;br /&gt;
Note.new(&amp;quot;E&amp;quot;) ] )&lt;br /&gt;
File.open(&amp;quot;posterity&amp;quot;, &amp;quot;w+&amp;quot;) do |f|&lt;br /&gt;
Marshal.dump(c, f)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, it can be read by our friends.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
File.open(&amp;quot;posterity&amp;quot;) do |f|&lt;br /&gt;
chord = Marshal.load(f)&lt;br /&gt;
end&lt;br /&gt;
chord.play ! &amp;quot;GBbDbE&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Distributed Ruby ===&lt;br /&gt;
Distributed Ruby or DRb allows Ruby programs to communicate with each other on the same machine or over a network. DRb uses remote method invocation (RMI) to pass commands and data between processes. Since we can serialize an object or a set of objects into a form suitable for out-ofprocess storage, we can use this capability for the transmission of objects from one  process to another. Using drb, a Ruby process may act as a server, as a client, or as both. A drb server acts as a source of objects, while a client is a user of those objects. To the client, it appears&lt;br /&gt;
that the objects are local, but in reality the code is still being executed remotely. This can be found in the SOAP implementation of RUBY libraries.&lt;/div&gt;</summary>
		<author><name>Ssatish</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23198</id>
		<title>CSC/ECE 517 Fall 2009/wiki2 17 f1</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23198"/>
		<updated>2009-10-08T23:05:26Z</updated>

		<summary type="html">&lt;p&gt;Ssatish: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Service Oriented Architecture provides another view of providing functionality based upon services offered in terms of protocols and a specific API. To provide services, platforms rely upon principles and the power that can be expressed through reflection and meta programming. Research and report how these critical concepts relate to and support SOA.'''&lt;br /&gt;
&lt;br /&gt;
== Service Oriented Architectures==&lt;br /&gt;
[http://en.wikipedia.org/wiki/Service_Oriented_Architectures Service Oriented Architecture] is a paradigm for organizing and utilizing distributed capabilities that may be under the control of different ownership domains. It provides a uniform means to offer, discover, interact with and use capabilities to produce desired effects consistent with measurable preconditions and expectations.&lt;br /&gt;
&lt;br /&gt;
This makes it easier for software integration of different modules developed by different people. Rather than defining an [http://en.wikipedia.org/wiki/API API], SOA defines the interface in terms of protocols and functionality such that modules following these protocols can easily be integrated together. The main characteristics of SOA are:&lt;br /&gt;
&lt;br /&gt;
* '''Based on open standards''' - The governing principles are free for all to use and not protected by intellectual property.&lt;br /&gt;
* '''Interoperable''' - Diverse systems should be able to work together (inter-operate)&lt;br /&gt;
* '''Autonomous''' - Services have control over the logic they encapsulate.&lt;br /&gt;
* '''Reusable''' - Logic is divided into services with the intention of promoting reuse.&lt;br /&gt;
* '''Reliable''' - It should not have many flaws&lt;br /&gt;
* '''Discoverable''' - Services are designed to be outwardly descriptive so that they can be found and assessed via available discovery mechanisms&lt;br /&gt;
* '''Loosely-Coupled''' - Loose coupling occurs when the dependent class contains a pointer only to an interface, which can then be implemented by one or many concrete classes.&lt;br /&gt;
* '''Stateless''' - Should exhibit the same behaviour and yield the same result whether called once, or 100 times&lt;br /&gt;
* '''Composable''' - Collections of services can be coordinated and assembled to form composite services.&lt;br /&gt;
* '''Manageable''' - It should be easy to maintain it&lt;br /&gt;
* '''Secure''' - It should not be easily hackable&lt;br /&gt;
&lt;br /&gt;
=== Core Components of SOA===&lt;br /&gt;
* '''SOAP''': Simple Object Access Protocol - As a layman's example of how SOAP procedures can be used, a SOAP message could be sent to a web service enabled web site (for example, a house price database) with the parameters needed for a search. The site would then return an [http://en.wikipedia.org/wiki/XML XML]-formatted document with the resulting data (prices, location, features, etc). Because the data is returned in a standardized machine-parseable format, it could then be integrated directly into a third-party site.&lt;br /&gt;
* '''WSDL''': Web Services Description Language - Its an XML-based language that provides a model for describing Web Services.&lt;br /&gt;
* '''UDDI''': Universal Discovery, Definition and Integration - Its an XML-based database for companies world-wide to list themselves on the internet&lt;br /&gt;
* '''BPEL''': Business Process Execution Language - Its a language for specifying interaction with web services.&lt;br /&gt;
* '''ESB''': [http://en.wikipedia.org/wiki/Enterprise_service_bus Enterprise Service Bus] &lt;br /&gt;
* '''WS-*''': Web Services Standards - a collection of protocols and standards used for exchanging data between applications&lt;br /&gt;
&lt;br /&gt;
===Benefits of SOA ===&lt;br /&gt;
* Improve long-term value of software assets&lt;br /&gt;
* Improve quality through modularity and testability&lt;br /&gt;
* Reduce development time with composition and reusability&lt;br /&gt;
* Leverage heterogeneous development environments&lt;br /&gt;
* Avoid vendor and platform lock-in&lt;br /&gt;
* Integrate with [http://en.wikipedia.org/wiki/Enterprise_resource_planning ERPs] and Enterprise infrastructure software&lt;br /&gt;
&lt;br /&gt;
===Use cases for SOA with Ruby===&lt;br /&gt;
Ruby can be a productive way to:&lt;br /&gt;
* Build web applications over web services&lt;br /&gt;
* Write web services tests with minimal code&lt;br /&gt;
* Write custom web services monitoring and management&lt;br /&gt;
* Integrate ERPs, [http://en.wikipedia.org/wiki/Commercial_off-the-shelf COTS] and custom applications&lt;br /&gt;
* Write SOA glue-code, e.g. custom transformation&lt;br /&gt;
* Perform programmatic web services orchestration&lt;br /&gt;
* Develop basic web services&lt;br /&gt;
&lt;br /&gt;
==Reflection in Ruby==&lt;br /&gt;
&lt;br /&gt;
One of the many advantages of dynamic languages such as Ruby is the ability to introspect—to examine aspects of the program from within the program itself. This is called reflection. At runtime, we can discover the following things about our ruby program - &lt;br /&gt;
* what objects it contains,&lt;br /&gt;
* the class hierarchy,&lt;br /&gt;
* the attributes and methods of objects, and&lt;br /&gt;
* information on methods.&lt;br /&gt;
&lt;br /&gt;
Ruby provide a module called &amp;quot;ObjectSpace&amp;quot; that lets you to use reflection and see all the above mentioned information. So if you say, &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ObjectSpace.each_object { |x| puts x }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will print all living, nonimmediate objects in Ruby process.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ObjectSpace.each_object(Class) { |x| puts x}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will print all classes in Ruby process.&lt;br /&gt;
&lt;br /&gt;
The following code iterates over all the classes, compares their name. If name matches then create object and execute whichever function you like. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    class ClassFromString&lt;br /&gt;
    @@counter = 0&lt;br /&gt;
    def initialize&lt;br /&gt;
    @@counter += 1&lt;br /&gt;
    end&lt;br /&gt;
    def getCounterValue&lt;br /&gt;
    puts @@counter&lt;br /&gt;
    end&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    def createClassFromString(classname)&lt;br /&gt;
    ObjectSpace.each_object(Class) do |x|&lt;br /&gt;
    if x.name == classname&lt;br /&gt;
    object = x.new&lt;br /&gt;
    object.getCounterValue&lt;br /&gt;
    object = x.new&lt;br /&gt;
    object.getCounterValue&lt;br /&gt;
    end&lt;br /&gt;
    end&lt;br /&gt;
    end&lt;br /&gt;
    createClassFromString(&amp;quot;ClassFromString&amp;quot;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you get the object you can use any method of that object. For e.g. you can use superclass method to get the name of the parent class and so on and can build complete hierarchy dynamically.&lt;br /&gt;
You can get the information about methods of a given class using methods like private_methods(), protected_methods() which are defined in Object class which is base class for each object.&lt;br /&gt;
&lt;br /&gt;
'''Distributed Ruby''' and '''Marshalling''' are two reflection-based technologies that let us send objects around the world and through time, which enables use of Service Oriented Architectures.&lt;br /&gt;
&lt;br /&gt;
===Marshalling===&lt;br /&gt;
&lt;br /&gt;
Java features the ability to serialize objects, letting you store them somewhere and reconstitute them when needed. You can use this facility, for instance, to save a tree of objects that represent some portion of application state—a document, a CAD drawing, a piece of music, and so on.&lt;br /&gt;
Ruby calls this kind of serialization marshaling (think of railroad marshaling yards where individual cars are assembled in sequence into a complete train, which is then dispatched somewhere). Saving an object and some or all of its components is done using the method ''Marshal.dump''. Typically, you will dump an entire object tree starting with some given object. Later, you can reconstitute the object using ''Marshal.load''.&lt;br /&gt;
&lt;br /&gt;
Example -  &lt;br /&gt;
&lt;br /&gt;
We have a class Chord that holds a collection of musical notes. We’d like to save away a particularly wonderful chord so we can e-mail it to friends. They can then load it into their copy of Ruby and savor it too. Let’s start with the classes for Note and Chord.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note = Struct.new(:value)&lt;br /&gt;
class Note&lt;br /&gt;
def to_s&lt;br /&gt;
value.to_s&lt;br /&gt;
end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
class Chord&lt;br /&gt;
def initialize(arr)&lt;br /&gt;
@arr = arr&lt;br /&gt;
end&lt;br /&gt;
def play&lt;br /&gt;
@arr.join('')&lt;br /&gt;
end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we’ll create our masterpiece and use Marshal.dump to save a serialized version of it to disk.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
c = Chord.new( [ Note.new(&amp;quot;G&amp;quot;),&lt;br /&gt;
Note.new(&amp;quot;Bb&amp;quot;),&lt;br /&gt;
Note.new(&amp;quot;Db&amp;quot;),&lt;br /&gt;
Note.new(&amp;quot;E&amp;quot;) ] )&lt;br /&gt;
File.open(&amp;quot;posterity&amp;quot;, &amp;quot;w+&amp;quot;) do |f|&lt;br /&gt;
Marshal.dump(c, f)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, it can be read by our friends.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
File.open(&amp;quot;posterity&amp;quot;) do |f|&lt;br /&gt;
chord = Marshal.load(f)&lt;br /&gt;
end&lt;br /&gt;
chord.play ! &amp;quot;GBbDbE&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ssatish</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23187</id>
		<title>CSC/ECE 517 Fall 2009/wiki2 17 f1</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23187"/>
		<updated>2009-10-08T22:41:13Z</updated>

		<summary type="html">&lt;p&gt;Ssatish: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Service Oriented Architecture provides another view of providing functionality based upon services offered in terms of protocols and a specific API. To provide services, platforms rely upon principles and the power that can be expressed through reflection and meta programming. Research and report how these critical concepts relate to and support SOA.'''&lt;br /&gt;
&lt;br /&gt;
== Service Oriented Architectures==&lt;br /&gt;
[http://en.wikipedia.org/wiki/Service_Oriented_Architectures Service Oriented Architecture] is a paradigm for organizing and utilizing distributed capabilities that may be under the control of different ownership domains. It provides a uniform means to offer, discover, interact with and use capabilities to produce desired effects consistent with measurable preconditions and expectations.&lt;br /&gt;
&lt;br /&gt;
This makes it easier for software integration of different modules developed by different people. Rather than defining an [http://en.wikipedia.org/wiki/API API], SOA defines the interface in terms of protocols and functionality such that modules following these protocols can easily be integrated together. The main characteristics of SOA are:&lt;br /&gt;
&lt;br /&gt;
* '''Based on open standards''' - The governing principles are free for all to use and not protected by intellectual property.&lt;br /&gt;
* '''Interoperable''' - Diverse systems should be able to work together (inter-operate)&lt;br /&gt;
* '''Autonomous''' - Services have control over the logic they encapsulate.&lt;br /&gt;
* '''Reusable''' - Logic is divided into services with the intention of promoting reuse.&lt;br /&gt;
* '''Reliable''' - It should not have many flaws&lt;br /&gt;
* '''Discoverable''' - Services are designed to be outwardly descriptive so that they can be found and assessed via available discovery mechanisms&lt;br /&gt;
* '''Loosely-Coupled''' - Loose coupling occurs when the dependent class contains a pointer only to an interface, which can then be implemented by one or many concrete classes.&lt;br /&gt;
* '''Stateless''' - Should exhibit the same behaviour and yield the same result whether called once, or 100 times&lt;br /&gt;
* '''Composable''' - Collections of services can be coordinated and assembled to form composite services.&lt;br /&gt;
* '''Manageable''' - It should be easy to maintain it&lt;br /&gt;
* '''Secure''' - It should not be easily hackable&lt;br /&gt;
&lt;br /&gt;
=== Core Components of SOA===&lt;br /&gt;
* '''SOAP''': Simple Object Access Protocol - As a layman's example of how SOAP procedures can be used, a SOAP message could be sent to a web service enabled web site (for example, a house price database) with the parameters needed for a search. The site would then return an [http://en.wikipedia.org/wiki/XML XML]-formatted document with the resulting data (prices, location, features, etc). Because the data is returned in a standardized machine-parseable format, it could then be integrated directly into a third-party site.&lt;br /&gt;
* '''WSDL''': Web Services Description Language - Its an XML-based language that provides a model for describing Web Services.&lt;br /&gt;
* '''UDDI''': Universal Discovery, Definition and Integration - Its an XML-based database for companies world-wide to list themselves on the internet&lt;br /&gt;
* '''BPEL''': Business Process Execution Language - Its a language for specifying interaction with web services.&lt;br /&gt;
* '''ESB''': [http://en.wikipedia.org/wiki/Enterprise_service_bus Enterprise Service Bus] &lt;br /&gt;
* '''WS-*''': Web Services Standards - a collection of protocols and standards used for exchanging data between applications&lt;br /&gt;
&lt;br /&gt;
===Benefits of SOA ===&lt;br /&gt;
* Improve long-term value of software assets&lt;br /&gt;
* Improve quality through modularity and testability&lt;br /&gt;
* Reduce development time with composition and reusability&lt;br /&gt;
* Leverage heterogeneous development environments&lt;br /&gt;
* Avoid vendor and platform lock-in&lt;br /&gt;
* Integrate with [http://en.wikipedia.org/wiki/Enterprise_resource_planning ERPs] and Enterprise infrastructure software&lt;br /&gt;
&lt;br /&gt;
===Use cases for SOA with Ruby===&lt;br /&gt;
Ruby can be a productive way to:&lt;br /&gt;
* Build web applications over web services&lt;br /&gt;
* Write web services tests with minimal code&lt;br /&gt;
* Write custom web services monitoring and management&lt;br /&gt;
* Integrate ERPs, [http://en.wikipedia.org/wiki/Commercial_off-the-shelf COTS] and custom applications&lt;br /&gt;
* Write SOA glue-code, e.g. custom transformation&lt;br /&gt;
* Perform programmatic web services orchestration&lt;br /&gt;
* Develop basic web services&lt;br /&gt;
&lt;br /&gt;
==Reflection in Ruby==&lt;br /&gt;
&lt;br /&gt;
One of the many advantages of dynamic languages such as Ruby is the ability to introspect—to examine aspects of the program from within the program itself. This is called reflection. At runtime, we can discover the following things about our ruby program - &lt;br /&gt;
* what objects it contains,&lt;br /&gt;
* the class hierarchy,&lt;br /&gt;
* the attributes and methods of objects, and&lt;br /&gt;
* information on methods.&lt;br /&gt;
&lt;br /&gt;
Ruby provide a module called &amp;quot;ObjectSpace&amp;quot; that lets you to use reflection and see all the above mentioned information. So if you say, &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ObjectSpace.each_object { |x| puts x }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will print all living, nonimmediate objects in Ruby process.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ObjectSpace.each_object(Class) { |x| puts x}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will print all classes in Ruby process.&lt;br /&gt;
&lt;br /&gt;
The following code iterates over all the classes, compares their name. If name matches then create object and execute whichever function you like. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    class ClassFromString&lt;br /&gt;
    @@counter = 0&lt;br /&gt;
    def initialize&lt;br /&gt;
    @@counter += 1&lt;br /&gt;
    end&lt;br /&gt;
    def getCounterValue&lt;br /&gt;
    puts @@counter&lt;br /&gt;
    end&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    def createClassFromString(classname)&lt;br /&gt;
    ObjectSpace.each_object(Class) do |x|&lt;br /&gt;
    if x.name == classname&lt;br /&gt;
    object = x.new&lt;br /&gt;
    object.getCounterValue&lt;br /&gt;
    object = x.new&lt;br /&gt;
    object.getCounterValue&lt;br /&gt;
    end&lt;br /&gt;
    end&lt;br /&gt;
    end&lt;br /&gt;
    createClassFromString(&amp;quot;ClassFromString&amp;quot;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you get the object you can use any method of that object. For e.g. you can use superclass method to get the name of the parent class and so on and can build complete hierarchy dynamically.&lt;br /&gt;
You can get the information about methods of a given class using methods like private_methods(), protected_methods() which are defined in Object class which is base class for each object.&lt;br /&gt;
&lt;br /&gt;
'''Distributed Ruby''' and '''Marshalling''' are two reflection-based technologies that let us send objects around the world and through time, which enables use of Service Oriented Architectures.&lt;/div&gt;</summary>
		<author><name>Ssatish</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23180</id>
		<title>CSC/ECE 517 Fall 2009/wiki2 17 f1</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23180"/>
		<updated>2009-10-08T22:16:51Z</updated>

		<summary type="html">&lt;p&gt;Ssatish: /* Reflection in Ruby */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Service Oriented Architecture provides another view of providing functionality based upon services offered in terms of protocols and a specific API. To provide services, platforms rely upon principles and the power that can be expressed through reflection and meta programming. Research and report how these critical concepts relate to and support SOA.'''&lt;br /&gt;
&lt;br /&gt;
== Service Oriented Architectures==&lt;br /&gt;
[http://en.wikipedia.org/wiki/Service_Oriented_Architectures Service Oriented Architecture] is a paradigm for organizing and utilizing distributed capabilities that may be under the control of different ownership domains. It provides a uniform means to offer, discover, interact with and use capabilities to produce desired effects consistent with measurable preconditions and expectations.&lt;br /&gt;
&lt;br /&gt;
This makes it easier for software integration of different modules developed by different people. Rather than defining an [http://en.wikipedia.org/wiki/API API], SOA defines the interface in terms of protocols and functionality such that modules following these protocols can easily be integrated together. The main characteristics of SOA are:&lt;br /&gt;
&lt;br /&gt;
* '''Based on open standards''' - The governing principles are free for all to use and not protected by intellectual property.&lt;br /&gt;
* '''Interoperable''' - Diverse systems should be able to work together (inter-operate)&lt;br /&gt;
* '''Autonomous''' - Services have control over the logic they encapsulate.&lt;br /&gt;
* '''Reusable''' - Logic is divided into services with the intention of promoting reuse.&lt;br /&gt;
* '''Reliable''' - It should not have many flaws&lt;br /&gt;
* '''Discoverable''' - Services are designed to be outwardly descriptive so that they can be found and assessed via available discovery mechanisms&lt;br /&gt;
* '''Loosely-Coupled''' - Loose coupling occurs when the dependent class contains a pointer only to an interface, which can then be implemented by one or many concrete classes.&lt;br /&gt;
* '''Stateless''' - Should exhibit the same behaviour and yield the same result whether called once, or 100 times&lt;br /&gt;
* '''Composable''' - Collections of services can be coordinated and assembled to form composite services.&lt;br /&gt;
* '''Manageable''' - It should be easy to maintain it&lt;br /&gt;
* '''Secure''' - It should not be easily hackable&lt;br /&gt;
&lt;br /&gt;
=== Core Components of SOA===&lt;br /&gt;
* '''SOAP''': Simple Object Access Protocol - As a layman's example of how SOAP procedures can be used, a SOAP message could be sent to a web service enabled web site (for example, a house price database) with the parameters needed for a search. The site would then return an [http://en.wikipedia.org/wiki/XML XML]-formatted document with the resulting data (prices, location, features, etc). Because the data is returned in a standardized machine-parseable format, it could then be integrated directly into a third-party site.&lt;br /&gt;
* '''WSDL''': Web Services Description Language - Its an XML-based language that provides a model for describing Web Services.&lt;br /&gt;
* '''UDDI''': Universal Discovery, Definition and Integration - Its an XML-based database for companies world-wide to list themselves on the internet&lt;br /&gt;
* '''BPEL''': Business Process Execution Language - Its a language for specifying interaction with web services.&lt;br /&gt;
* '''ESB''': [http://en.wikipedia.org/wiki/Enterprise_service_bus Enterprise Service Bus] &lt;br /&gt;
* '''WS-*''': Web Services Standards - a collection of protocols and standards used for exchanging data between applications&lt;br /&gt;
&lt;br /&gt;
===Benefits of SOA ===&lt;br /&gt;
* Improve long-term value of software assets&lt;br /&gt;
* Improve quality through modularity and testability&lt;br /&gt;
* Reduce development time with composition and reusability&lt;br /&gt;
* Leverage heterogeneous development environments&lt;br /&gt;
* Avoid vendor and platform lock-in&lt;br /&gt;
* Integrate with [http://en.wikipedia.org/wiki/Enterprise_resource_planning ERPs] and Enterprise infrastructure software&lt;br /&gt;
&lt;br /&gt;
===Use cases for SOA with Ruby===&lt;br /&gt;
Ruby can be a productive way to:&lt;br /&gt;
* Build web applications over web services&lt;br /&gt;
* Write web services tests with minimal code&lt;br /&gt;
* Write custom web services monitoring and management&lt;br /&gt;
* Integrate ERPs, [http://en.wikipedia.org/wiki/Commercial_off-the-shelf COTS] and custom applications&lt;br /&gt;
* Write SOA glue-code, e.g. custom transformation&lt;br /&gt;
* Perform programmatic web services orchestration&lt;br /&gt;
* Develop basic web services&lt;br /&gt;
&lt;br /&gt;
==Reflection in Ruby==&lt;br /&gt;
&lt;br /&gt;
One of the many advantages of dynamic languages such as Ruby is the ability to introspect—to examine aspects of the program from within the program itself. This is called reflection. At runtime, we can discover the following things about our ruby program - &lt;br /&gt;
* what objects it contains,&lt;br /&gt;
* the class hierarchy,&lt;br /&gt;
* the attributes and methods of objects, and&lt;br /&gt;
* information on methods.&lt;br /&gt;
&lt;br /&gt;
Ruby provide a module called &amp;quot;ObjectSpace&amp;quot; that lets you to use reflection and see all the above mentioned information. So if you say, &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ObjectSpace.each_object { |x| puts x }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will print all living, nonimmediate objects in Ruby process.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ObjectSpace.each_object(Class) { |x| puts x}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will print all classes in Ruby process.&lt;br /&gt;
&lt;br /&gt;
The following code iterates over all the classes, compares their name. If name matches then create object and execute whichever function you like. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    class ClassFromString&lt;br /&gt;
    @@counter = 0&lt;br /&gt;
    def initialize&lt;br /&gt;
    @@counter += 1&lt;br /&gt;
    end&lt;br /&gt;
    def getCounterValue&lt;br /&gt;
    puts @@counter&lt;br /&gt;
    end&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    def createClassFromString(classname)&lt;br /&gt;
    ObjectSpace.each_object(Class) do |x|&lt;br /&gt;
    if x.name == classname&lt;br /&gt;
    object = x.new&lt;br /&gt;
    object.getCounterValue&lt;br /&gt;
    object = x.new&lt;br /&gt;
    object.getCounterValue&lt;br /&gt;
    end&lt;br /&gt;
    end&lt;br /&gt;
    end&lt;br /&gt;
    createClassFromString(&amp;quot;ClassFromString&amp;quot;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you get the object you can use any method of that object. For e.g. you can use superclass method to get the name of the parent class and so on and can build complete hierarchy dynamically.&lt;br /&gt;
You can get the information about methods of a given class using methods like private_methods(), protected_methods() which are defined in Object class which is base class for each object.&lt;/div&gt;</summary>
		<author><name>Ssatish</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23178</id>
		<title>CSC/ECE 517 Fall 2009/wiki2 17 f1</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23178"/>
		<updated>2009-10-08T22:10:49Z</updated>

		<summary type="html">&lt;p&gt;Ssatish: /* Reflection in Ruby */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Service Oriented Architecture provides another view of providing functionality based upon services offered in terms of protocols and a specific API. To provide services, platforms rely upon principles and the power that can be expressed through reflection and meta programming. Research and report how these critical concepts relate to and support SOA.'''&lt;br /&gt;
&lt;br /&gt;
== Service Oriented Architectures==&lt;br /&gt;
[http://en.wikipedia.org/wiki/Service_Oriented_Architectures Service Oriented Architecture] is a paradigm for organizing and utilizing distributed capabilities that may be under the control of different ownership domains. It provides a uniform means to offer, discover, interact with and use capabilities to produce desired effects consistent with measurable preconditions and expectations.&lt;br /&gt;
&lt;br /&gt;
This makes it easier for software integration of different modules developed by different people. Rather than defining an [http://en.wikipedia.org/wiki/API API], SOA defines the interface in terms of protocols and functionality such that modules following these protocols can easily be integrated together. The main characteristics of SOA are:&lt;br /&gt;
&lt;br /&gt;
* '''Based on open standards''' - The governing principles are free for all to use and not protected by intellectual property.&lt;br /&gt;
* '''Interoperable''' - Diverse systems should be able to work together (inter-operate)&lt;br /&gt;
* '''Autonomous''' - Services have control over the logic they encapsulate.&lt;br /&gt;
* '''Reusable''' - Logic is divided into services with the intention of promoting reuse.&lt;br /&gt;
* '''Reliable''' - It should not have many flaws&lt;br /&gt;
* '''Discoverable''' - Services are designed to be outwardly descriptive so that they can be found and assessed via available discovery mechanisms&lt;br /&gt;
* '''Loosely-Coupled''' - Loose coupling occurs when the dependent class contains a pointer only to an interface, which can then be implemented by one or many concrete classes.&lt;br /&gt;
* '''Stateless''' - Should exhibit the same behaviour and yield the same result whether called once, or 100 times&lt;br /&gt;
* '''Composable''' - Collections of services can be coordinated and assembled to form composite services.&lt;br /&gt;
* '''Manageable''' - It should be easy to maintain it&lt;br /&gt;
* '''Secure''' - It should not be easily hackable&lt;br /&gt;
&lt;br /&gt;
=== Core Components of SOA===&lt;br /&gt;
* '''SOAP''': Simple Object Access Protocol - As a layman's example of how SOAP procedures can be used, a SOAP message could be sent to a web service enabled web site (for example, a house price database) with the parameters needed for a search. The site would then return an [http://en.wikipedia.org/wiki/XML XML]-formatted document with the resulting data (prices, location, features, etc). Because the data is returned in a standardized machine-parseable format, it could then be integrated directly into a third-party site.&lt;br /&gt;
* '''WSDL''': Web Services Description Language - Its an XML-based language that provides a model for describing Web Services.&lt;br /&gt;
* '''UDDI''': Universal Discovery, Definition and Integration - Its an XML-based database for companies world-wide to list themselves on the internet&lt;br /&gt;
* '''BPEL''': Business Process Execution Language - Its a language for specifying interaction with web services.&lt;br /&gt;
* '''ESB''': [http://en.wikipedia.org/wiki/Enterprise_service_bus Enterprise Service Bus] &lt;br /&gt;
* '''WS-*''': Web Services Standards - a collection of protocols and standards used for exchanging data between applications&lt;br /&gt;
&lt;br /&gt;
===Benefits of SOA ===&lt;br /&gt;
* Improve long-term value of software assets&lt;br /&gt;
* Improve quality through modularity and testability&lt;br /&gt;
* Reduce development time with composition and reusability&lt;br /&gt;
* Leverage heterogeneous development environments&lt;br /&gt;
* Avoid vendor and platform lock-in&lt;br /&gt;
* Integrate with [http://en.wikipedia.org/wiki/Enterprise_resource_planning ERPs] and Enterprise infrastructure software&lt;br /&gt;
&lt;br /&gt;
===Use cases for SOA with Ruby===&lt;br /&gt;
Ruby can be a productive way to:&lt;br /&gt;
* Build web applications over web services&lt;br /&gt;
* Write web services tests with minimal code&lt;br /&gt;
* Write custom web services monitoring and management&lt;br /&gt;
* Integrate ERPs, [http://en.wikipedia.org/wiki/Commercial_off-the-shelf COTS] and custom applications&lt;br /&gt;
* Write SOA glue-code, e.g. custom transformation&lt;br /&gt;
* Perform programmatic web services orchestration&lt;br /&gt;
* Develop basic web services&lt;br /&gt;
&lt;br /&gt;
==Reflection in Ruby==&lt;br /&gt;
&lt;br /&gt;
One of the many advantages of dynamic languages such as Ruby is the ability to introspect—to examine aspects of the program from within the program itself. This is called reflection. At runtime, we can discover the following things about our ruby program - &lt;br /&gt;
* what objects it contains,&lt;br /&gt;
* the class hierarchy,&lt;br /&gt;
* the attributes and methods of objects, and&lt;br /&gt;
* information on methods.&lt;br /&gt;
&lt;br /&gt;
Ruby provide a module called &amp;quot;ObjectSpace&amp;quot; that lets you to use reflection and see all the above mentioned information. So if you say, &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ObjectSpace.each_object { |x| puts x }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will print all living, nonimmediate objects in Ruby process.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ObjectSpace.each_object(Class) { |x| puts x}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will print all classes in Ruby process.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# without reflection&lt;br /&gt;
Foo.new.hello&lt;br /&gt;
 &lt;br /&gt;
# with reflection&lt;br /&gt;
Object.const_get(:Foo).new.send(:hello)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ssatish</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23167</id>
		<title>CSC/ECE 517 Fall 2009/wiki2 17 f1</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23167"/>
		<updated>2009-10-08T21:57:21Z</updated>

		<summary type="html">&lt;p&gt;Ssatish: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Service Oriented Architecture provides another view of providing functionality based upon services offered in terms of protocols and a specific API. To provide services, platforms rely upon principles and the power that can be expressed through reflection and meta programming. Research and report how these critical concepts relate to and support SOA.'''&lt;br /&gt;
&lt;br /&gt;
== Service Oriented Architectures==&lt;br /&gt;
[http://en.wikipedia.org/wiki/Service_Oriented_Architectures Service Oriented Architecture] is a paradigm for organizing and utilizing distributed capabilities that may be under the control of different ownership domains. It provides a uniform means to offer, discover, interact with and use capabilities to produce desired effects consistent with measurable preconditions and expectations.&lt;br /&gt;
&lt;br /&gt;
This makes it easier for software integration of different modules developed by different people. Rather than defining an [http://en.wikipedia.org/wiki/API API], SOA defines the interface in terms of protocols and functionality such that modules following these protocols can easily be integrated together. The main characteristics of SOA are:&lt;br /&gt;
&lt;br /&gt;
* '''Based on open standards''' - The governing principles are free for all to use and not protected by intellectual property.&lt;br /&gt;
* '''Interoperable''' - Diverse systems should be able to work together (inter-operate)&lt;br /&gt;
* '''Autonomous''' - Services have control over the logic they encapsulate.&lt;br /&gt;
* '''Reusable''' - Logic is divided into services with the intention of promoting reuse.&lt;br /&gt;
* '''Reliable''' - It should not have many flaws&lt;br /&gt;
* '''Discoverable''' - Services are designed to be outwardly descriptive so that they can be found and assessed via available discovery mechanisms&lt;br /&gt;
* '''Loosely-Coupled''' - Loose coupling occurs when the dependent class contains a pointer only to an interface, which can then be implemented by one or many concrete classes.&lt;br /&gt;
* '''Stateless''' - Should exhibit the same behaviour and yield the same result whether called once, or 100 times&lt;br /&gt;
* '''Composable''' - Collections of services can be coordinated and assembled to form composite services.&lt;br /&gt;
* '''Manageable''' - It should be easy to maintain it&lt;br /&gt;
* '''Secure''' - It should not be easily hackable&lt;br /&gt;
&lt;br /&gt;
=== Core Components of SOA===&lt;br /&gt;
* '''SOAP''': Simple Object Access Protocol - As a layman's example of how SOAP procedures can be used, a SOAP message could be sent to a web service enabled web site (for example, a house price database) with the parameters needed for a search. The site would then return an [http://en.wikipedia.org/wiki/XML XML]-formatted document with the resulting data (prices, location, features, etc). Because the data is returned in a standardized machine-parseable format, it could then be integrated directly into a third-party site.&lt;br /&gt;
* '''WSDL''': Web Services Description Language - Its an XML-based language that provides a model for describing Web Services.&lt;br /&gt;
* '''UDDI''': Universal Discovery, Definition and Integration - Its an XML-based database for companies world-wide to list themselves on the internet&lt;br /&gt;
* '''BPEL''': Business Process Execution Language - Its a language for specifying interaction with web services.&lt;br /&gt;
* '''ESB''': [http://en.wikipedia.org/wiki/Enterprise_service_bus Enterprise Service Bus] &lt;br /&gt;
* '''WS-*''': Web Services Standards - a collection of protocols and standards used for exchanging data between applications&lt;br /&gt;
&lt;br /&gt;
===Benefits of SOA ===&lt;br /&gt;
* Improve long-term value of software assets&lt;br /&gt;
* Improve quality through modularity and testability&lt;br /&gt;
* Reduce development time with composition and reusability&lt;br /&gt;
* Leverage heterogeneous development environments&lt;br /&gt;
* Avoid vendor and platform lock-in&lt;br /&gt;
* Integrate with [http://en.wikipedia.org/wiki/Enterprise_resource_planning ERPs] and Enterprise infrastructure software&lt;br /&gt;
&lt;br /&gt;
===Use cases for SOA with Ruby===&lt;br /&gt;
Ruby can be a productive way to:&lt;br /&gt;
* Build web applications over web services&lt;br /&gt;
* Write web services tests with minimal code&lt;br /&gt;
* Write custom web services monitoring and management&lt;br /&gt;
* Integrate ERPs, [http://en.wikipedia.org/wiki/Commercial_off-the-shelf COTS] and custom applications&lt;br /&gt;
* Write SOA glue-code, e.g. custom transformation&lt;br /&gt;
* Perform programmatic web services orchestration&lt;br /&gt;
* Develop basic web services&lt;br /&gt;
&lt;br /&gt;
==Reflection in Ruby==&lt;br /&gt;
&lt;br /&gt;
One of the many advantages of dynamic languages such as Ruby is the ability to introspect—to examine aspects of the program from within the program itself. This is called reflection. At runtime, we can discover the following things about our ruby program - &lt;br /&gt;
* what objects it contains,&lt;br /&gt;
* the class hierarchy,&lt;br /&gt;
* the attributes and methods of objects, and&lt;br /&gt;
* information on methods.&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# without reflection&lt;br /&gt;
Foo.new.hello&lt;br /&gt;
 &lt;br /&gt;
# with reflection&lt;br /&gt;
Object.const_get(:Foo).new.send(:hello)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ssatish</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23152</id>
		<title>CSC/ECE 517 Fall 2009/wiki2 17 f1</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23152"/>
		<updated>2009-10-08T21:38:43Z</updated>

		<summary type="html">&lt;p&gt;Ssatish: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Service Oriented Architecture provides another view of providing functionality based upon services offered in terms of protocols and a specific API. To provide services, platforms rely upon principles and the power that can be expressed through reflection and meta programming. Research and report how these critical concepts relate to and support SOA.'''&lt;br /&gt;
&lt;br /&gt;
== Service Oriented Architectures==&lt;br /&gt;
[http://en.wikipedia.org/wiki/Service_Oriented_Architectures Service Oriented Architecture] is a paradigm for organizing and utilizing distributed capabilities that may be under the control of different ownership domains. It provides a uniform means to offer, discover, interact with and use capabilities to produce desired effects consistent with measurable preconditions and expectations.&lt;br /&gt;
&lt;br /&gt;
This makes it easier for software integration of different modules developed by different people. Rather than defining an [http://en.wikipedia.org/wiki/API API], SOA defines the interface in terms of protocols and functionality such that modules following these protocols can easily be integrated together. The main characteristics of SOA are:&lt;br /&gt;
&lt;br /&gt;
* '''Based on open standards''' - The governing principles are free for all to use and not protected by intellectual property.&lt;br /&gt;
* '''Interoperable''' - Diverse systems should be able to work together (inter-operate)&lt;br /&gt;
* '''Autonomous''' - Services have control over the logic they encapsulate.&lt;br /&gt;
* '''Reusable''' - Logic is divided into services with the intention of promoting reuse.&lt;br /&gt;
* '''Reliable''' - It should not have many flaws&lt;br /&gt;
* '''Discoverable''' - Services are designed to be outwardly descriptive so that they can be found and assessed via available discovery mechanisms&lt;br /&gt;
* '''Loosely-Coupled''' - Loose coupling occurs when the dependent class contains a pointer only to an interface, which can then be implemented by one or many concrete classes.&lt;br /&gt;
* '''Stateless''' - Should exhibit the same behaviour and yield the same result whether called once, or 100 times&lt;br /&gt;
* '''Composable''' - Collections of services can be coordinated and assembled to form composite services.&lt;br /&gt;
* '''Manageable''' - It should be easy to maintain it&lt;br /&gt;
* '''Secure''' - It should not be easily hackable&lt;br /&gt;
&lt;br /&gt;
=== Core Components of SOA===&lt;br /&gt;
* '''SOAP''': Simple Object Access Protocol - As a layman's example of how SOAP procedures can be used, a SOAP message could be sent to a web service enabled web site (for example, a house price database) with the parameters needed for a search. The site would then return an [http://en.wikipedia.org/wiki/XML XML]-formatted document with the resulting data (prices, location, features, etc). Because the data is returned in a standardized machine-parseable format, it could then be integrated directly into a third-party site.&lt;br /&gt;
* '''WSDL''': Web Services Description Language - Its an XML-based language that provides a model for describing Web Services.&lt;br /&gt;
* '''UDDI''': Universal Discovery, Definition and Integration - Its an XML-based database for companies world-wide to list themselves on the internet&lt;br /&gt;
* '''BPEL''': Business Process Execution Language - Its a language for specifying interaction with web services.&lt;br /&gt;
* '''ESB''': [http://en.wikipedia.org/wiki/Enterprise_service_bus Enterprise Service Bus] &lt;br /&gt;
* '''WS-*''': Web Services Standards - a collection of protocols and standards used for exchanging data between applications&lt;br /&gt;
&lt;br /&gt;
===Benefits of SOA ===&lt;br /&gt;
* Improve long-term value of software assets&lt;br /&gt;
* Improve quality through modularity and testability&lt;br /&gt;
* Reduce development time with composition and reusability&lt;br /&gt;
* Leverage heterogeneous development environments&lt;br /&gt;
* Avoid vendor and platform lock-in&lt;br /&gt;
* Integrate with [http://en.wikipedia.org/wiki/Enterprise_resource_planning ERPs] and Enterprise infrastructure software&lt;br /&gt;
&lt;br /&gt;
===Use cases for SOA with Ruby===&lt;br /&gt;
Ruby can be a productive way to:&lt;br /&gt;
* Build web applications over web services&lt;br /&gt;
* Write web services tests with minimal code&lt;br /&gt;
* Write custom web services monitoring and management&lt;br /&gt;
* Integrate ERPs, [http://en.wikipedia.org/wiki/Commercial_off-the-shelf COTS] and custom applications&lt;br /&gt;
* Write SOA glue-code, e.g. custom transformation&lt;br /&gt;
* Perform programmatic web services orchestration&lt;br /&gt;
* Develop basic web services&lt;/div&gt;</summary>
		<author><name>Ssatish</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23150</id>
		<title>CSC/ECE 517 Fall 2009/wiki2 17 f1</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23150"/>
		<updated>2009-10-08T21:35:56Z</updated>

		<summary type="html">&lt;p&gt;Ssatish: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Service Oriented Architecture provides another view of providing functionality based upon services offered in terms of protocols and a specific API. To provide services, platforms rely upon principles and the power that can be expressed through reflection and meta programming. Research and report how these critical concepts relate to and support SOA.'''&lt;br /&gt;
&lt;br /&gt;
== Service Oriented Architectures==&lt;br /&gt;
[http://en.wikipedia.org/wiki/Service_Oriented_Architectures Service Oriented Architecture] is a paradigm for organizing and utilizing distributed capabilities that may be under the control of different ownership domains. It provides a uniform means to offer, discover, interact with and use capabilities to produce desired effects consistent with measurable preconditions and expectations.&lt;br /&gt;
&lt;br /&gt;
This makes it easier for software integration of different modules developed by different people. Rather than defining an [http://en.wikipedia.org/wiki/API API], SOA defines the interface in terms of protocols and functionality such that modules following these protocols can easily be integrated together. The main characteristics of SOA are:&lt;br /&gt;
&lt;br /&gt;
* '''Based on open standards''' - The governing principles are free for all to use and not protected by intellectual property.&lt;br /&gt;
* '''Interoperable''' - Diverse systems should be able to work together (inter-operate)&lt;br /&gt;
* '''Autonomous''' - Services have control over the logic they encapsulate.&lt;br /&gt;
* '''Reusable''' - Logic is divided into services with the intention of promoting reuse.&lt;br /&gt;
* '''Reliable''' - It should not have many flaws&lt;br /&gt;
* '''Discoverable''' - Services are designed to be outwardly descriptive so that they can be found and assessed via available discovery mechanisms&lt;br /&gt;
* '''Loosely-Coupled''' - Loose coupling occurs when the dependent class contains a pointer only to an interface, which can then be implemented by one or many concrete classes.&lt;br /&gt;
* '''Stateless''' - Should exhibit the same behaviour and yield the same result whether called once, or 100 times&lt;br /&gt;
* '''Composable''' - Collections of services can be coordinated and assembled to form composite services.&lt;br /&gt;
* '''Manageable''' - It should be easy to maintain it&lt;br /&gt;
* '''Secure''' - It should not be easily hackable&lt;br /&gt;
&lt;br /&gt;
== Core Components of SOA==&lt;br /&gt;
* '''SOAP''': Simple Object Access Protocol - As a layman's example of how SOAP procedures can be used, a SOAP message could be sent to a web service enabled web site (for example, a house price database) with the parameters needed for a search. The site would then return an [http://en.wikipedia.org/wiki/XML XML]-formatted document with the resulting data (prices, location, features, etc). Because the data is returned in a standardized machine-parseable format, it could then be integrated directly into a third-party site.&lt;br /&gt;
* '''WSDL''': Web Services Description Language - Its an XML-based language that provides a model for describing Web Services.&lt;br /&gt;
* '''UDDI''': Universal Discovery, Definition and Integration - Its an XML-based database for companies world-wide to list themselves on the internet&lt;br /&gt;
* '''BPEL''': Business Process Execution Language - Its a language for specifying interaction with web services.&lt;br /&gt;
* '''ESB''': [http://en.wikipedia.org/wiki/Enterprise_service_bus Enterprise Service Bus] &lt;br /&gt;
* '''WS-*''': Web Services Standards - a collection of protocols and standards used for exchanging data between applications&lt;br /&gt;
&lt;br /&gt;
==Benefits of SOA ==&lt;br /&gt;
* Improve long-term value of software assets&lt;br /&gt;
* Improve quality through modularity and testability&lt;br /&gt;
* Reduce development time with composition and reusability&lt;br /&gt;
* Leverage heterogeneous development environments&lt;br /&gt;
* Avoid vendor and platform lock-in&lt;br /&gt;
* Integrate with [http://en.wikipedia.org/wiki/Enterprise_resource_planning ERPs] and Enterprise infrastructure software&lt;/div&gt;</summary>
		<author><name>Ssatish</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23147</id>
		<title>CSC/ECE 517 Fall 2009/wiki2 17 f1</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23147"/>
		<updated>2009-10-08T21:35:18Z</updated>

		<summary type="html">&lt;p&gt;Ssatish: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''SOA provides another view of providing functionality based upon services offered in terms of protocols and a specific API. To provide services, platforms rely upon principles and the power that can be expressed through reflection and meta programming. Research and report how these critical concepts relate to and support SOA.'''&lt;br /&gt;
&lt;br /&gt;
== Service Oriented Architectures==&lt;br /&gt;
[http://en.wikipedia.org/wiki/Service_Oriented_Architectures Service Oriented Architecture] is a paradigm for organizing and utilizing distributed capabilities that may be under the control of different ownership domains. It provides a uniform means to offer, discover, interact with and use capabilities to produce desired effects consistent with measurable preconditions and expectations.&lt;br /&gt;
&lt;br /&gt;
This makes it easier for software integration of different modules developed by different people. Rather than defining an [http://en.wikipedia.org/wiki/API API], SOA defines the interface in terms of protocols and functionality such that modules following these protocols can easily be integrated together. The main characteristics of SOA are:&lt;br /&gt;
&lt;br /&gt;
* '''Based on open standards''' - The governing principles are free for all to use and not protected by intellectual property.&lt;br /&gt;
* '''Interoperable''' - Diverse systems should be able to work together (inter-operate)&lt;br /&gt;
* '''Autonomous''' - Services have control over the logic they encapsulate.&lt;br /&gt;
* '''Reusable''' - Logic is divided into services with the intention of promoting reuse.&lt;br /&gt;
* '''Reliable''' - It should not have many flaws&lt;br /&gt;
* '''Discoverable''' - Services are designed to be outwardly descriptive so that they can be found and assessed via available discovery mechanisms&lt;br /&gt;
* '''Loosely-Coupled''' - Loose coupling occurs when the dependent class contains a pointer only to an interface, which can then be implemented by one or many concrete classes.&lt;br /&gt;
* '''Stateless''' - Should exhibit the same behaviour and yield the same result whether called once, or 100 times&lt;br /&gt;
* '''Composable''' - Collections of services can be coordinated and assembled to form composite services.&lt;br /&gt;
* '''Manageable''' - It should be easy to maintain it&lt;br /&gt;
* '''Secure''' - It should not be easily hackable&lt;br /&gt;
&lt;br /&gt;
== Core Components of SOA==&lt;br /&gt;
* '''SOAP''': Simple Object Access Protocol - As a layman's example of how SOAP procedures can be used, a SOAP message could be sent to a web service enabled web site (for example, a house price database) with the parameters needed for a search. The site would then return an [http://en.wikipedia.org/wiki/XML XML]-formatted document with the resulting data (prices, location, features, etc). Because the data is returned in a standardized machine-parseable format, it could then be integrated directly into a third-party site.&lt;br /&gt;
* '''WSDL''': Web Services Description Language - Its an XML-based language that provides a model for describing Web Services.&lt;br /&gt;
* '''UDDI''': Universal Discovery, Definition and Integration - Its an XML-based database for companies world-wide to list themselves on the internet&lt;br /&gt;
* '''BPEL''': Business Process Execution Language - Its a language for specifying interaction with web services.&lt;br /&gt;
* '''ESB''': [http://en.wikipedia.org/wiki/Enterprise_service_bus Enterprise Service Bus] &lt;br /&gt;
* '''WS-*''': Web Services Standards - a collection of protocols and standards used for exchanging data between applications&lt;br /&gt;
&lt;br /&gt;
==Benefits of SOA ==&lt;br /&gt;
* Improve long-term value of software assets&lt;br /&gt;
* Improve quality through modularity and testability&lt;br /&gt;
* Reduce development time with composition and reusability&lt;br /&gt;
* Leverage heterogeneous development environments&lt;br /&gt;
* Avoid vendor and platform lock-in&lt;br /&gt;
* Integrate with [http://en.wikipedia.org/wiki/Enterprise_resource_planning ERPs] and Enterprise infrastructure software&lt;/div&gt;</summary>
		<author><name>Ssatish</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23114</id>
		<title>CSC/ECE 517 Fall 2009/wiki2 17 f1</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23114"/>
		<updated>2009-10-08T20:56:56Z</updated>

		<summary type="html">&lt;p&gt;Ssatish: /* Core Components of SOA */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''SOA provides another view of providing functionality based upon services offered in terms of protocols and a specific API. To provide services, platforms rely upon principles and the power that can be expressed through reflection and meta programming. Research and report how these critical concepts relate to and support SOA.'''&lt;br /&gt;
&lt;br /&gt;
== Service Oriented Architectures==&lt;br /&gt;
[http://en.wikipedia.org/wiki/Service_Oriented_Architectures Service Oriented Architecture] is a paradigm for organizing and utilizing distributed capabilities that may be under the control of different ownership domains. It provides a uniform means to offer, discover, interact with and use capabilities to produce desired effects consistent with measurable preconditions and expectations.&lt;br /&gt;
&lt;br /&gt;
This makes it easier for software integration of different modules developed by different people. Rather than defining an [http://en.wikipedia.org/wiki/API API], SOA defines the interface in terms of protocols and functionality such that modules following these protocols can easily be integrated together. The main characteristics of SOA are:&lt;br /&gt;
&lt;br /&gt;
* '''Based on open standards''' - The governing principles are free for all to use and not protected by intellectual property.&lt;br /&gt;
* '''Interoperable''' - Diverse systems should be able to work together (inter-operate)&lt;br /&gt;
* '''Autonomous''' - Services have control over the logic they encapsulate.&lt;br /&gt;
* '''Reusable''' - Logic is divided into services with the intention of promoting reuse.&lt;br /&gt;
* '''Reliable''' - It should not have many flaws&lt;br /&gt;
* '''Discoverable''' - Services are designed to be outwardly descriptive so that they can be found and assessed via available discovery mechanisms&lt;br /&gt;
* '''Loosely-Coupled''' - Loose coupling occurs when the dependent class contains a pointer only to an interface, which can then be implemented by one or many concrete classes.&lt;br /&gt;
* '''Stateless''' - Should exhibit the same behaviour and yield the same result whether called once, or 100 times&lt;br /&gt;
* '''Composable''' - Collections of services can be coordinated and assembled to form composite services.&lt;br /&gt;
* '''Manageable''' - It should be easy to maintain it&lt;br /&gt;
* '''Secure''' - It should not be easily hackable&lt;br /&gt;
&lt;br /&gt;
== Core Components of SOA==&lt;br /&gt;
* '''SOAP''': Simple Object Access Protocol - As a layman's example of how SOAP procedures can be used, a SOAP message could be sent to a web service enabled web site (for example, a house price database) with the parameters needed for a search. The site would then return an [http://en.wikipedia.org/wiki/XML XML]-formatted document with the resulting data (prices, location, features, etc). Because the data is returned in a standardized machine-parseable format, it could then be integrated directly into a third-party site.&lt;br /&gt;
* '''WSDL''': Web Services Description Language - Its an XML-based language that provides a model for describing Web Services.&lt;br /&gt;
* '''UDDI''': Universal Discovery, Definition and Integration - Its an XML-based database for companies world-wide to list themselves on the internet&lt;br /&gt;
* '''BPEL''': Business Process Execution Language - Its a language for specifying interaction with web services.&lt;br /&gt;
* '''ESB''': [http://en.wikipedia.org/wiki/Enterprise_service_bus Enterprise Service Bus] &lt;br /&gt;
* '''WS-*''': Web Services Standards - a collection of protocols and standards used for exchanging data between applications&lt;/div&gt;</summary>
		<author><name>Ssatish</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23113</id>
		<title>CSC/ECE 517 Fall 2009/wiki2 17 f1</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23113"/>
		<updated>2009-10-08T20:55:00Z</updated>

		<summary type="html">&lt;p&gt;Ssatish: /* Core Components of SOA */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''SOA provides another view of providing functionality based upon services offered in terms of protocols and a specific API. To provide services, platforms rely upon principles and the power that can be expressed through reflection and meta programming. Research and report how these critical concepts relate to and support SOA.'''&lt;br /&gt;
&lt;br /&gt;
== Service Oriented Architectures==&lt;br /&gt;
[http://en.wikipedia.org/wiki/Service_Oriented_Architectures Service Oriented Architecture] is a paradigm for organizing and utilizing distributed capabilities that may be under the control of different ownership domains. It provides a uniform means to offer, discover, interact with and use capabilities to produce desired effects consistent with measurable preconditions and expectations.&lt;br /&gt;
&lt;br /&gt;
This makes it easier for software integration of different modules developed by different people. Rather than defining an [http://en.wikipedia.org/wiki/API API], SOA defines the interface in terms of protocols and functionality such that modules following these protocols can easily be integrated together. The main characteristics of SOA are:&lt;br /&gt;
&lt;br /&gt;
* '''Based on open standards''' - The governing principles are free for all to use and not protected by intellectual property.&lt;br /&gt;
* '''Interoperable''' - Diverse systems should be able to work together (inter-operate)&lt;br /&gt;
* '''Autonomous''' - Services have control over the logic they encapsulate.&lt;br /&gt;
* '''Reusable''' - Logic is divided into services with the intention of promoting reuse.&lt;br /&gt;
* '''Reliable''' - It should not have many flaws&lt;br /&gt;
* '''Discoverable''' - Services are designed to be outwardly descriptive so that they can be found and assessed via available discovery mechanisms&lt;br /&gt;
* '''Loosely-Coupled''' - Loose coupling occurs when the dependent class contains a pointer only to an interface, which can then be implemented by one or many concrete classes.&lt;br /&gt;
* '''Stateless''' - Should exhibit the same behaviour and yield the same result whether called once, or 100 times&lt;br /&gt;
* '''Composable''' - Collections of services can be coordinated and assembled to form composite services.&lt;br /&gt;
* '''Manageable''' - It should be easy to maintain it&lt;br /&gt;
* '''Secure''' - It should not be easily hackable&lt;br /&gt;
&lt;br /&gt;
== Core Components of SOA==&lt;br /&gt;
* '''SOAP''': Simple Object Access Protocol - As a layman's example of how SOAP procedures can be used, a SOAP message could be sent to a web service enabled web site (for example, a house price database) with the parameters needed for a search. The site would then return an XML-formatted document with the resulting data (prices, location, features, etc). Because the data is returned in a standardized machine-parseable format, it could then be integrated directly into a third-party site.&lt;br /&gt;
* '''WSDL''': Web Services Description Language - Its an XML-based language that provides a model for describing Web Services.&lt;br /&gt;
* '''UDDI''': Universal Discovery, Definition and Integration - Its an XML-based database for companies world-wide to list themselves on the internet&lt;br /&gt;
* '''BPEL''': Business Process Execution Language - Its a language for specifying interaction with web services.&lt;br /&gt;
* '''ESB''': [http://en.wikipedia.org/wiki/Enterprise_service_bus Enterprise Service Bus] &lt;br /&gt;
* '''WS-*''': Web Services Standards - a collection of protocols and standards used for exchanging data between applications&lt;/div&gt;</summary>
		<author><name>Ssatish</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23099</id>
		<title>CSC/ECE 517 Fall 2009/wiki2 17 f1</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23099"/>
		<updated>2009-10-08T20:42:59Z</updated>

		<summary type="html">&lt;p&gt;Ssatish: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''SOA provides another view of providing functionality based upon services offered in terms of protocols and a specific API. To provide services, platforms rely upon principles and the power that can be expressed through reflection and meta programming. Research and report how these critical concepts relate to and support SOA.'''&lt;br /&gt;
&lt;br /&gt;
== Service Oriented Architectures==&lt;br /&gt;
[http://en.wikipedia.org/wiki/Service_Oriented_Architectures Service Oriented Architecture] is a paradigm for organizing and utilizing distributed capabilities that may be under the control of different ownership domains. It provides a uniform means to offer, discover, interact with and use capabilities to produce desired effects consistent with measurable preconditions and expectations.&lt;br /&gt;
&lt;br /&gt;
This makes it easier for software integration of different modules developed by different people. Rather than defining an [http://en.wikipedia.org/wiki/API API], SOA defines the interface in terms of protocols and functionality such that modules following these protocols can easily be integrated together. The main characteristics of SOA are:&lt;br /&gt;
&lt;br /&gt;
* '''Based on open standards''' - The governing principles are free for all to use and not protected by intellectual property.&lt;br /&gt;
* '''Interoperable''' - Diverse systems should be able to work together (inter-operate)&lt;br /&gt;
* '''Autonomous''' - Services have control over the logic they encapsulate.&lt;br /&gt;
* '''Reusable''' - Logic is divided into services with the intention of promoting reuse.&lt;br /&gt;
* '''Reliable''' - It should not have many flaws&lt;br /&gt;
* '''Discoverable''' - Services are designed to be outwardly descriptive so that they can be found and assessed via available discovery mechanisms&lt;br /&gt;
* '''Loosely-Coupled''' - Loose coupling occurs when the dependent class contains a pointer only to an interface, which can then be implemented by one or many concrete classes.&lt;br /&gt;
* '''Stateless''' - Should exhibit the same behaviour and yield the same result whether called once, or 100 times&lt;br /&gt;
* '''Composable''' - Collections of services can be coordinated and assembled to form composite services.&lt;br /&gt;
* '''Manageable''' - It should be easy to maintain it&lt;br /&gt;
* '''Secure''' - It should not be easily hackable&lt;br /&gt;
&lt;br /&gt;
== Core Components of SOA==&lt;br /&gt;
* '''SOAP''': Simple Object Access Protocol - &lt;br /&gt;
* '''WSDL''': Web Services Description Language&lt;br /&gt;
* '''UDDI''': Universal Discovery, Definition and Integration&lt;br /&gt;
* '''BPEL''': Business Process Execution Language&lt;br /&gt;
* '''ESB''': Enterprise Service Bus&lt;br /&gt;
* '''WS-*''': Web Services Standards&lt;/div&gt;</summary>
		<author><name>Ssatish</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23097</id>
		<title>CSC/ECE 517 Fall 2009/wiki2 17 f1</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23097"/>
		<updated>2009-10-08T20:41:28Z</updated>

		<summary type="html">&lt;p&gt;Ssatish: /* Service Oriented Architectures */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Using Reflection and Meta programming to support Service Oriented Architectures'''&lt;br /&gt;
&lt;br /&gt;
== Service Oriented Architectures==&lt;br /&gt;
[http://en.wikipedia.org/wiki/Service_Oriented_Architectures Service Oriented Architecture] is a paradigm for organizing and utilizing distributed capabilities that may be under the control of different ownership domains. It provides a uniform means to offer, discover, interact with and use capabilities to produce desired effects consistent with measurable preconditions and expectations.&lt;br /&gt;
&lt;br /&gt;
This makes it easier for software integration of different modules developed by different people. Rather than defining an [http://en.wikipedia.org/wiki/API API], SOA defines the interface in terms of protocols and functionality such that modules following these protocols can easily be integrated together. The main characteristics of SOA are:&lt;br /&gt;
&lt;br /&gt;
* '''Based on open standards''' - The governing principles are free for all to use and not protected by intellectual property.&lt;br /&gt;
* '''Interoperable''' - Diverse systems should be able to work together (inter-operate)&lt;br /&gt;
* '''Autonomous''' - Services have control over the logic they encapsulate.&lt;br /&gt;
* '''Reusable''' - Logic is divided into services with the intention of promoting reuse.&lt;br /&gt;
* '''Reliable''' - It should not have many flaws&lt;br /&gt;
* '''Discoverable''' - Services are designed to be outwardly descriptive so that they can be found and assessed via available discovery mechanisms&lt;br /&gt;
* '''Loosely-Coupled''' - Loose coupling occurs when the dependent class contains a pointer only to an interface, which can then be implemented by one or many concrete classes.&lt;br /&gt;
* '''Stateless''' - Should exhibit the same behaviour and yield the same result whether called once, or 100 times&lt;br /&gt;
* '''Composable''' - Collections of services can be coordinated and assembled to form composite services.&lt;br /&gt;
* '''Manageable''' - It should be easy to maintain it&lt;br /&gt;
* '''Secure''' - It should not be easily hackable&lt;br /&gt;
&lt;br /&gt;
== Core Components of SOA==&lt;br /&gt;
* '''SOAP''': Simple Object Access Protocol - &lt;br /&gt;
* '''WSDL''': Web Services Description Language&lt;br /&gt;
* '''UDDI''': Universal Discovery, Definition and Integration&lt;br /&gt;
* '''BPEL''': Business Process Execution Language&lt;br /&gt;
* '''ESB''': Enterprise Service Bus&lt;br /&gt;
* '''WS-*''': Web Services Standards&lt;/div&gt;</summary>
		<author><name>Ssatish</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23086</id>
		<title>CSC/ECE 517 Fall 2009/wiki2 17 f1</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23086"/>
		<updated>2009-10-08T20:36:21Z</updated>

		<summary type="html">&lt;p&gt;Ssatish: /* Service Oriented Architectures */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Using Reflection and Meta programming to support Service Oriented Architectures'''&lt;br /&gt;
&lt;br /&gt;
== Service Oriented Architectures==&lt;br /&gt;
[http://en.wikipedia.org/wiki/Service_Oriented_Architectures Service Oriented Architecture] is a paradigm for organizing and utilizing distributed capabilities that may be under the control of different ownership domains. It provides a uniform means to offer, discover, interact with and use capabilities to produce desired effects consistent with measurable preconditions and expectations.&lt;br /&gt;
&lt;br /&gt;
This makes it easier for software integration of different modules developed by different people. Rather than defining an [http://en.wikipedia.org/wiki/API API], SOA defines the interface in terms of protocols and functionality such that modules following these protocols can easily be integrated together. The main characteristics of SOA are:&lt;br /&gt;
&lt;br /&gt;
* '''Based on open standards''' - The governing principles are free for all to use and not protected by intellectual property.&lt;br /&gt;
* '''Interoperable''' - Diverse systems should be able to work together (inter-operate)&lt;br /&gt;
* '''Autonomous''' - Services have control over the logic they encapsulate.&lt;br /&gt;
* '''Reusable''' - Logic is divided into services with the intention of promoting reuse.&lt;br /&gt;
* '''Reliable''' - It should not have many flaws&lt;br /&gt;
* '''Discoverable''' - Services are designed to be outwardly descriptive so that they can be found and assessed via available discovery mechanisms&lt;br /&gt;
* '''Loosely-Coupled''' - Loose coupling occurs when the dependent class contains a pointer only to an interface, which can then be implemented by one or many concrete classes.&lt;br /&gt;
* '''Stateless''' - Should exhibit the same behaviour and yield the same result whether called once, or 100 times&lt;br /&gt;
* '''Composable''' - Collections of services can be coordinated and assembled to form composite services.&lt;br /&gt;
* '''Manageable''' - It should be easy to maintain it&lt;br /&gt;
* '''Secure''' - It should not be easily hackable&lt;/div&gt;</summary>
		<author><name>Ssatish</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23084</id>
		<title>CSC/ECE 517 Fall 2009/wiki2 17 f1</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23084"/>
		<updated>2009-10-08T20:34:48Z</updated>

		<summary type="html">&lt;p&gt;Ssatish: /* Service Oriented Architectures */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Using Reflection and Meta programming to support Service Oriented Architectures'''&lt;br /&gt;
&lt;br /&gt;
== Service Oriented Architectures==&lt;br /&gt;
[http://en.wikipedia.org/wiki/Service_Oriented_Architectures Service Oriented Architecture] is a paradigm for organizing and utilizing distributed capabilities that may be under the control of different ownership domains. It provides a uniform means to offer, discover, interact with and use capabilities to produce desired effects consistent with measurable preconditions and expectations.&lt;br /&gt;
&lt;br /&gt;
This makes it easier for software integration of different modules developed by different people. Rather than defining an [http://en.wikipedia.org/wiki/API API], SOA defines the interface in terms of protocols and functionality such that modules following these protocols can easily be integrated together. The main characteristics of SOA are:&lt;br /&gt;
&lt;br /&gt;
* Based on open standards - The governing principles are free for all to use and not protected by intellectual property.&lt;br /&gt;
* Interoperable - Diverse systems should be able to work together (inter-operate)&lt;br /&gt;
* Autonomous - Services have control over the logic they encapsulate.&lt;br /&gt;
* Reusable - Logic is divided into services with the intention of promoting reuse.&lt;br /&gt;
* Reliable - It should not have many flaws&lt;br /&gt;
* Discoverable - Services are designed to be outwardly descriptive so that they can be found and assessed via available discovery mechanisms&lt;br /&gt;
* Loosely-Coupled - Loose coupling occurs when the dependent class contains a pointer only to an interface, which can then be implemented by one or many concrete classes.&lt;br /&gt;
* Stateless - Should exhibit the same behaviour and yield the same result whether called once, or 100 times&lt;br /&gt;
* Composable - Collections of services can be coordinated and assembled to form composite services.&lt;br /&gt;
* Manageable - It should be easy to maintain it&lt;br /&gt;
* Secure - It should not be easily hackable&lt;/div&gt;</summary>
		<author><name>Ssatish</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23071</id>
		<title>CSC/ECE 517 Fall 2009/wiki2 17 f1</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23071"/>
		<updated>2009-10-08T20:11:48Z</updated>

		<summary type="html">&lt;p&gt;Ssatish: /* Service Oriented Architectures */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Using Reflection and Meta programming to support Service Oriented Architectures'''&lt;br /&gt;
&lt;br /&gt;
== Service Oriented Architectures==&lt;br /&gt;
[http://en.wikipedia.org/wiki/Service_Oriented_Architectures Service Oriented Architecture] is a paradigm for organizing and utilizing distributed capabilities that may be under the control of different ownership domains. It provides a uniform means to offer, discover, interact with and use capabilities to produce desired effects consistent with measurable preconditions and expectations.&lt;br /&gt;
&lt;br /&gt;
This makes it easier for software integration of different modules developed by different people. Rather than defining an [http://en.wikipedia.org/wiki/API API], SOA defines the interface in terms of protocols and functionality such that modules following these protocols can easily be integrated together. The main characteristics of SOA are:&lt;br /&gt;
&lt;br /&gt;
* Based on open standards - The governing principles are free for all to use and not protected by intellectual property.&lt;br /&gt;
* Interoperable - &lt;br /&gt;
* Autonomous&lt;br /&gt;
* Reusable&lt;br /&gt;
* Reliable&lt;br /&gt;
* Discoverable&lt;br /&gt;
* Loosely-Coupled&lt;br /&gt;
* Stateless&lt;br /&gt;
* Composable&lt;br /&gt;
* Manageable&lt;br /&gt;
* Secure&lt;/div&gt;</summary>
		<author><name>Ssatish</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23067</id>
		<title>CSC/ECE 517 Fall 2009/wiki2 17 f1</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23067"/>
		<updated>2009-10-08T20:02:05Z</updated>

		<summary type="html">&lt;p&gt;Ssatish: /* Service Oriented Architectures */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Using Reflection and Meta programming to support Service Oriented Architectures'''&lt;br /&gt;
&lt;br /&gt;
== Service Oriented Architectures==&lt;br /&gt;
[http://en.wikipedia.org/wiki/Service_Oriented_Architectures Service Oriented Architecture] is an approach to building software as a set of autonomous, reusable and [http://en.wikipedia.org/wiki/Interoperability interoperable] units of functionality using open standards. Rather than defining an [http://en.wikipedia.org/wiki/API API], SOA defines the interface in terms of protocols and functionality.&lt;/div&gt;</summary>
		<author><name>Ssatish</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23066</id>
		<title>CSC/ECE 517 Fall 2009/wiki2 17 f1</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki2_17_f1&amp;diff=23066"/>
		<updated>2009-10-08T20:00:42Z</updated>

		<summary type="html">&lt;p&gt;Ssatish: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Using Reflection and Meta programming to support Service Oriented Architectures'''&lt;br /&gt;
&lt;br /&gt;
== Service Oriented Architectures==&lt;br /&gt;
[http://en.wikipedia.org/wiki/Service_Oriented_Architectures Service Oriented Architecture] is an approach to building software as a set of autonomous, reusable and [http://en.wikipedia.org/wiki/Interoperability interoperable] units of functionality using open standards. Rather than defining an API, SOA defines the interface in terms of protocols and functionality.&lt;/div&gt;</summary>
		<author><name>Ssatish</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki1a_11_f1,&amp;diff=19111</id>
		<title>CSC/ECE 517 Fall 2009/wiki1a 11 f1,</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki1a_11_f1,&amp;diff=19111"/>
		<updated>2009-09-12T20:49:59Z</updated>

		<summary type="html">&lt;p&gt;Ssatish: /* Ruby continuations vs Python Generators */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Ruby and Python are both scripting languages whose popularity has sky rocketed in recent years. Both languages are &lt;br /&gt;
[http://en.wikipedia.org/wiki/High_level_language High-Level], [http://en.wikipedia.org/wiki/Garbage_collection_(computer_science) Garbage-collected], and [http://en.wikipedia.org/wiki/Dynamically_typed#Dynamic_typing Dynamically-typed]. Both provide an interactive shell, standard libraries, and persistence support. So, what are the differences?&lt;br /&gt;
&lt;br /&gt;
[[Image:svg2raster.png|frame|alt=Puzzle globe logo|Ruby Logo]]&lt;br /&gt;
[[Image:python.png|frame|alt=Puzzle globe logo|Python Logo]]&lt;br /&gt;
&lt;br /&gt;
Points of comparison:&lt;br /&gt;
* Language Features: Ruby vs Python&lt;br /&gt;
* Programming environments&lt;br /&gt;
* Features exclusive to each of Ruby and Python&lt;br /&gt;
* Advantages of Ruby/Python over statically typed languages&lt;br /&gt;
* Project environments suited to each&lt;br /&gt;
&lt;br /&gt;
==Language Features: Ruby vs Python==&lt;br /&gt;
&lt;br /&gt;
===Access Protection ===&lt;br /&gt;
&lt;br /&gt;
Ruby supports private, protected and public types of access (like java)to the elements of a class. By default all methods are public except the initialize method and all instance variables are private. One of the differences of Ruby compared to Python is that Ruby keeps all of its instance variables completely private to the class and only exposes them through accessor methods (attr_writer, attr_reader, etc).&lt;br /&gt;
&lt;br /&gt;
Python's property descriptors are similar, but come with a trade-off in the development process. If one begins in Python by using a publicly exposed instance variable and later changes the implementation to use a private instance variable exposed through a property descriptor, code internal to the class may need to be adjusted to use the private variable rather than the public property. Ruby removes this design decision&lt;br /&gt;
&lt;br /&gt;
===Functions and methods ===&lt;br /&gt;
In Ruby, the part which is different from Python is the fact that all operations are messages to objects. There are no separate functions and methods; all of them are methods.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
string = 'Hello world'&lt;br /&gt;
puts string.count('o'), string.length  # prints 2, 11&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In Python, there are separate methods and functions as shown in the example below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
string = 'Hello world'&lt;br /&gt;
print string.count('o'), len(string)  # prints 2, 11 – why not string.len()?&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Ruby has reference to class in class body ===&lt;br /&gt;
&lt;br /&gt;
Ruby:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
class MyClass&lt;br /&gt;
    initialize_magick()&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Rubys variant is cleaner, as the magic stuff is done in the class definition, so you see that it’s being done when you look at the class.&lt;br /&gt;
&lt;br /&gt;
Python:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
class MyClass:&lt;br /&gt;
    pass&lt;br /&gt;
initialize_magick(MyClass)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
But it’s really not a big deal, because calling the initialise method after the class or as a decorator is really not a major drawback.&lt;br /&gt;
&lt;br /&gt;
=== Self Reference ===&lt;br /&gt;
In Python, one needs to write ''self'' as the first parameter of a method definition (alike Perl). Furthermore, Python doesn’t  require the variable name to be self. In Ruby, ''self'' is automatically available in a similar fashion as in C++.&lt;br /&gt;
&lt;br /&gt;
Additionally, the method call ''self.method'' can be shortened to ''method'', as ''self'' is the default receiver.&lt;br /&gt;
&lt;br /&gt;
=== Ruby continuations vs Python Generators ===&lt;br /&gt;
&lt;br /&gt;
Continuation is a &amp;quot;pointer&amp;quot; to the current position in your program, including calling stack and all variables. You can reuse that pointer to &amp;quot;go back in time&amp;quot; when needed. Continuations are useful when it comes to ''usecases''.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def loop&lt;br /&gt;
  cont=nil&lt;br /&gt;
  for i in 1..4&lt;br /&gt;
    puts i&lt;br /&gt;
    callcc {|continuation| cont=continuation} if i==2&lt;br /&gt;
  end&lt;br /&gt;
  return cont&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Python doesn't support full continuations or even coroutines; instead it supports &amp;quot;generator&amp;quot; functions which create a kind of limited coroutine.&lt;br /&gt;
A generator in python is implemented as a special syntax for creating an instance of an iterator object, which returns the values returned by the &amp;quot;function&amp;quot; definition you provide. Python generators are easy and clean.&lt;br /&gt;
The equivalent code for the above code segment, in python is &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
from generator_tools import copy_generator&lt;br /&gt;
&lt;br /&gt;
def _callg(generator, generator_copy=None):&lt;br /&gt;
    for _ in generator: # run to the end&lt;br /&gt;
        pass&lt;br /&gt;
    if generator_copy is not None:&lt;br /&gt;
        return lambda: _callg(copy_generator(generator_copy))&lt;br /&gt;
&lt;br /&gt;
def loop(c):&lt;br /&gt;
    c.next() # advance to yield's expression&lt;br /&gt;
    return _callg(c, copy_generator(c))&lt;br /&gt;
&lt;br /&gt;
if __name__ == '__main__':&lt;br /&gt;
    def loop_gen():&lt;br /&gt;
        i = 1&lt;br /&gt;
        while i &amp;lt;= 4:&lt;br /&gt;
            print i&lt;br /&gt;
            if i == 2:&lt;br /&gt;
                yield&lt;br /&gt;
            i += 1&lt;br /&gt;
&lt;br /&gt;
    c = loop(loop_gen())&lt;br /&gt;
    print(&amp;quot;c:&amp;quot;, c)&lt;br /&gt;
    for _ in range(2):&lt;br /&gt;
        print(&amp;quot;c():&amp;quot;, c())&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Indentation===&lt;br /&gt;
&lt;br /&gt;
Python uses whitespace indentation, rather than curly braces or keywords, to delimit statement blocks (a feature also known as the off-side rule). An increase in indentation comes after certain statements; a decrease in indentation signifies the end of the current block.&lt;br /&gt;
On the other hand, ruby doesn't need any indentation although it can be optionally used for clarity.&lt;br /&gt;
&lt;br /&gt;
=== Other Differences ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Feature&lt;br /&gt;
!  Ruby&lt;br /&gt;
!  Python&lt;br /&gt;
|-&lt;br /&gt;
|  Higher-Order Functions&lt;br /&gt;
|  Implemented with procedure objects&lt;br /&gt;
|  Implemented as lambda expressions&lt;br /&gt;
|-&lt;br /&gt;
|  Arrays and hashes&lt;br /&gt;
|  supports Arrays and associative arrays (Hash)&lt;br /&gt;
|  has Lists and Tuples which are the same as arrays.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  Memory management&lt;br /&gt;
|  has a mark and sweep garbage collector&lt;br /&gt;
|  has a reference counting garbage collector.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  Parallel assignment&lt;br /&gt;
|  claims to do Operating System independent threading.&lt;br /&gt;
|  Threading available on many common platforms with some threading support&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Package support &lt;br /&gt;
| Not available&lt;br /&gt;
| Available&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Programming Environments ==&lt;br /&gt;
&lt;br /&gt;
===Development Environments===&lt;br /&gt;
Both languages provide interactive shells (type &amp;quot;python&amp;quot; or &amp;quot;irb&amp;quot;) and high-level persistence support. Multiple IDEs are available for Python, including GUI debuggers. A gdb-style debugger is available for each language. Python has a RefactoringBrowser, BicycleRepairMan. RubyLanguage now has a [http://www.kmc.gr.jp/proj/rrb/index-en.html RubyRefactoringBrowser]&lt;br /&gt;
&lt;br /&gt;
Both languages are supported by Emacs modes. Python can be used as an elisp replacement - see Pymacs. The current Ruby implementation is closely tied to Unix, making Windows performance and ports to new platforms problematic. There is an EclipseIde for Ruby. RubyCocoa adds support for Ruby to ProjectBuilder/ExCode on MacOsx. &lt;br /&gt;
&lt;br /&gt;
===Web Programming Environments ===&lt;br /&gt;
Both Ruby and Python have a large number of web programming environments/ application frameworks. They are exhaustively listed and compared [http://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks#Python here]. For brevity, we compare ruby's [http://en.wikipedia.org/wiki/Ruby_on_rails Ruby on Rails] with python's [http://en.wikipedia.org/wiki/Django_(web_framework) Django].  The need was to compare two frameworks which were developed independent of each other and not based or influenced on the other. Hence the choice of django was made, as other web python frameworks like pylons and web2py are based  on rails. &lt;br /&gt;
&lt;br /&gt;
Django is a complete Python web application framework while rails is an agile web programming environment built in Ruby which greatly simplifies MVC framework development. Ruby OO programming topics in conjunction with various Rails recipes are considered a much lighter, simpler and faster development experience than other current enterprise frameworks provided today.&lt;br /&gt;
&lt;br /&gt;
The table below compares them.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Feature&lt;br /&gt;
!  Ruby on Rails&lt;br /&gt;
!  Django&lt;br /&gt;
|-&lt;br /&gt;
|  Language&lt;br /&gt;
|  Ruby&lt;br /&gt;
|  Python&lt;br /&gt;
|-&lt;br /&gt;
|  Ajax&lt;br /&gt;
|  Prototype, script.aculo.us&lt;br /&gt;
|  Yes&lt;br /&gt;
|-&lt;br /&gt;
|  MVC framework&lt;br /&gt;
|  ActiveRecord, Action Pack&lt;br /&gt;
|  Yes&lt;br /&gt;
|-&lt;br /&gt;
|  MVC Push/Pull&lt;br /&gt;
|  Push&lt;br /&gt;
|  Push 	 	 	 	 	&lt;br /&gt;
|-&lt;br /&gt;
| i18n &amp;amp; l10n?&lt;br /&gt;
| Localization, Plug-in &lt;br /&gt;
| Yes &lt;br /&gt;
|-&lt;br /&gt;
|  ORM&lt;br /&gt;
|  ActiveRecord&lt;br /&gt;
|  Django ORM&lt;br /&gt;
|-&lt;br /&gt;
|  Testing framework(s)&lt;br /&gt;
|  Unit Tests, Functional Tests and Integration Tests&lt;br /&gt;
|  Yes&lt;br /&gt;
|-&lt;br /&gt;
|  DB migration framework(s)&lt;br /&gt;
|  Yes&lt;br /&gt;
|  No (plugin exists, might be merged into trunk when more stable and feature complete)&lt;br /&gt;
|-&lt;br /&gt;
|  Security Framework(s)&lt;br /&gt;
|  Plug-in&lt;br /&gt;
|  ACL-based&lt;br /&gt;
|-&lt;br /&gt;
|  Template Framework(s)  &lt;br /&gt;
|  Yes&lt;br /&gt;
|  Yes&lt;br /&gt;
|-&lt;br /&gt;
|  Caching Framework(s)&lt;br /&gt;
|  Yes&lt;br /&gt;
|  Yes&lt;br /&gt;
|-&lt;br /&gt;
|  Form Validation Framework(s) &lt;br /&gt;
|  Yes&lt;br /&gt;
|  Yes&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Features exclusive to each of Ruby and Python==&lt;br /&gt;
&lt;br /&gt;
===Python Advantages===&lt;br /&gt;
* Python has multiple inheritance &lt;br /&gt;
* Python has docstrings : Docstrings makes it possible to attach documentation directly to the classes and methods. That’s a nice documentation plus, and makes things like the Python interpreters ''help()'' function really useful. &lt;br /&gt;
&lt;br /&gt;
===Ruby Advantages===&lt;br /&gt;
* Ruby blocks are much more powerful than Python lambdas and they are integrated pervasively into the language. They also allow interaction between the block and the container.&lt;br /&gt;
* Metaprogramming (modifying classes on the fly) is easier in Ruby than in Python. Interestingly, in the Ruby community this is considered a powerful feature and used frequently, whereas the Python community tends to think of it as a last resort.&lt;br /&gt;
* Ruby is very good at creating domain-specific mini-languages. This is a consequence of the easy metaprogramming and optional parentheses on function calls.&lt;br /&gt;
&lt;br /&gt;
==Advantages of Ruby/Python over statically typed languages==&lt;br /&gt;
&lt;br /&gt;
The term Dynamic language refers to high level programming language that allows the programmer to modify the code during run time. The modifications may include addition of new blocks of code or modifications to objects during execution or changing the type of objects. Statically typed languages such as Java or C# have type checking performed during compile-time as opposed to run-time and an objects type cannot be changed. Programmers should declare the types they intend a method or function to use and the compiler will not permit the programmer to ignore this type. Apart from being dynamically typed, there are many features provided by dynamic languages that aren’t to be found in Static languages. These include blocks and closures, metaprogramming, and unbounded polymorphism and support for multiple programming paradigms. These features lend certain advantages to a dynamic language which are listed below: &lt;br /&gt;
&lt;br /&gt;
===Purely Object Oriented===&lt;br /&gt;
Ruby does not have primitives. everything, including integers are full fledged objects.&lt;br /&gt;
'''Ruby''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  0.zero?    This evaluates to a true&lt;br /&gt;
  1.zero?    This evaluates to a false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Typed features===&lt;br /&gt;
With Static typing in Java and C#, programmers should declare the types they want a method or function to use while with Ruby you don't declare types for variables or functions. In Ruby objects are strongly and dynamically typed.&lt;br /&gt;
&lt;br /&gt;
'''Java''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
int val1=5;&lt;br /&gt;
String value=String.valueOf(val1);&lt;br /&gt;
if(value.equals(&amp;quot;5&amp;quot;))&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Python''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
val1=5&lt;br /&gt;
value=str(val1)&lt;br /&gt;
if value == &amp;quot;5&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Verbosity===&lt;br /&gt;
Statically typed languages tend to be more verbose. &lt;br /&gt;
&lt;br /&gt;
'''Java''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
import java.io.*;&lt;br /&gt;
BufferedReader file1=new BufferedReader(new FileReader(Filename));&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Python''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
file=open(Filename);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Relaxed syntax===&lt;br /&gt;
Ruby and Python are flexible with respect to syntax. For example,&lt;br /&gt;
&lt;br /&gt;
'''Ruby''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat = Cat.new  &lt;br /&gt;
cat = Cat.new()  &lt;br /&gt;
cat = Cat.new();  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===More compact code===&lt;br /&gt;
'''Java''':  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
for (int i = 0; i &amp;lt; 100; i++) &lt;br /&gt;
{}  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
'''Ruby''':&lt;br /&gt;
&amp;lt;pre&amp;gt;  &lt;br /&gt;
100.times { |i| }  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Default Arguments===&lt;br /&gt;
Ruby and Python allow you to define default values to method arguments while Java does not. &lt;br /&gt;
&lt;br /&gt;
'''Ruby''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def calc_cube(x=2,y=3)&lt;br /&gt;
  val=x**y&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Checked Exceptions ===&lt;br /&gt;
Checked exceptions force every method to deal with (catching or throwing) all exceptions that its child calls or may call.&lt;br /&gt;
&lt;br /&gt;
'''Java''':&lt;br /&gt;
If in the program, a method calls run as follows, A1() -&amp;gt; A2() -&amp;gt; A3() -&amp;gt; A4() and if A4() throws an Exception, and it is caught by A1(), then A2(), A3() must also throw the same Exception. &lt;br /&gt;
&lt;br /&gt;
'''Python''':&lt;br /&gt;
Exceptions propagate upwards and A2() and A3() do not need to throw the Exception. &lt;br /&gt;
===Duck Typing===&lt;br /&gt;
Ruby doesn't care about an object's class, just whether it has a method of the name used in the method call. For this reason, the dynamic approach has earned the name duck typing.&lt;br /&gt;
&lt;br /&gt;
'''Ruby''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
class Duck &lt;br /&gt;
	def sound&lt;br /&gt;
         puts &amp;quot;Quack&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
Class Frog&lt;br /&gt;
	def sound&lt;br /&gt;
	 puts &amp;quot;Croak&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
def noises(duck)&lt;br /&gt;
 duck.sound&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
duckA=Duck.new&lt;br /&gt;
frogB=Frog.new&lt;br /&gt;
&lt;br /&gt;
noises(frogB)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Result''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;Croak&amp;quot; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Project Environments Suited to Each==&lt;br /&gt;
&lt;br /&gt;
Python is useful for rapid prototyping, web scripting, XML processing, database applications, GUI applications, scientific computations. Python can be used for large and complex software systems. YouTube, for instance, runs mainly on Python, and it is preferred language at organizations including Google, NASA and Industrial Light and Magic. Specialized Python libraries and frameworks exist for scientific programming, data manipulation, Web services, XML interchange and many other things.&lt;br /&gt;
&lt;br /&gt;
Ruby is useful for typical scripting language applications such as text processing and middleware programs. It is suitable for small, ad-hoc scripting tasks that previously may have been solved with Perl. Ruby has first-class regular expressions, which makes text processing scripts easy to write. Ruby is also suitable for larger software systems. It’s most successful application is in the Ruby on Rails web framework. Websites like Twitter and Hulu use the Ruby on Rails web development framework in production environments.&lt;br /&gt;
Ruby can also be used as a high-level API wrapper (or domain-specific language) around some C library. Other uses for Ruby is in test/behavior driven development and when you need to create an &amp;quot;internal&amp;quot; domain-specific language.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&lt;br /&gt;
*[http://ruby.about.com/od/beginningruby/a/WhatIsRuby.htm What Is Ruby?]&lt;br /&gt;
&lt;br /&gt;
*[http://blog.ianbicking.org/ruby-python-power.html Ruby, Python, &amp;quot;Power&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
*[http://python.about.com/od/gettingstarted/ss/whatispython_3.htm What is Python?]&lt;br /&gt;
&lt;br /&gt;
*[http://johan.kiviniemi.name/blag/ruby-vs-python/  Ruby vs. Python Johan Kiviniemi's series of tubes]&lt;br /&gt;
&lt;br /&gt;
*[http://en.wikipedia.org/wiki/Ruby_(programming_language) Ruby (programming language)]&lt;br /&gt;
&lt;br /&gt;
*[http://www.c2.com/cgi/wiki?PythonVsRuby Python Vs Ruby]&lt;/div&gt;</summary>
		<author><name>Ssatish</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki1a_11_f1,&amp;diff=19050</id>
		<title>CSC/ECE 517 Fall 2009/wiki1a 11 f1,</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2009/wiki1a_11_f1,&amp;diff=19050"/>
		<updated>2009-09-11T17:12:43Z</updated>

		<summary type="html">&lt;p&gt;Ssatish: /* Language Features: Ruby vs Python */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Ruby and Python are both scripting languages whose popularity has sky rocketed in recent years. Both languages are &lt;br /&gt;
[http://en.wikipedia.org/wiki/High_level_language High-Level], [http://en.wikipedia.org/wiki/Garbage_collection_(computer_science) Garbage-collected], and [http://en.wikipedia.org/wiki/Dynamically_typed#Dynamic_typing Dynamically-typed]. Both provide an interactive shell, standard libraries, and persistence support. So, what are the differences?&lt;br /&gt;
&lt;br /&gt;
[[Image:svg2raster.png|frame|alt=Puzzle globe logo|Ruby Logo]]&lt;br /&gt;
[[Image:python.png|frame|alt=Puzzle globe logo|Python Logo]]&lt;br /&gt;
&lt;br /&gt;
Points of comparison:&lt;br /&gt;
* Language Features: Ruby vs Python&lt;br /&gt;
* Programming environments&lt;br /&gt;
* Features exclusive to each of Ruby and Python&lt;br /&gt;
* Advantages of Ruby/Python over statically typed languages&lt;br /&gt;
* Project environments suited to each&lt;br /&gt;
&lt;br /&gt;
==Language Features: Ruby vs Python==&lt;br /&gt;
&lt;br /&gt;
===Access Protection ===&lt;br /&gt;
&lt;br /&gt;
Ruby supports private, protected and public types of access (like java)to the elements of a class. By default all methods are public except the initialize method and all instance variables are private. One of the differences of Ruby compared to Python is that Ruby keeps all of its instance variables completely private to the class and only exposes them through accessor methods (attr_writer, attr_reader, etc).&lt;br /&gt;
&lt;br /&gt;
Python's property descriptors are similar, but come with a trade-off in the development process. If one begins in Python by using a publicly exposed instance variable and later changes the implementation to use a private instance variable exposed through a property descriptor, code internal to the class may need to be adjusted to use the private variable rather than the public property. Ruby removes this design decision&lt;br /&gt;
&lt;br /&gt;
===Functions and methods ===&lt;br /&gt;
In Ruby, the part which is different from Python is the fact that all operations are messages to objects. There are no separate functions and methods; all of them are methods.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
string = 'Hello world'&lt;br /&gt;
puts string.count('o'), string.length  # prints 2, 11&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In Python, there are separate methods and functions as shown in the example below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
string = 'Hello world'&lt;br /&gt;
print string.count('o'), len(string)  # prints 2, 11 – why not string.len()?&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Ruby has reference to class in class body ===&lt;br /&gt;
&lt;br /&gt;
Ruby:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
class MyClass&lt;br /&gt;
    initialize_magick()&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Rubys variant is cleaner, as the magic stuff is done in the class definition, so you see that it’s being done when you look at the class.&lt;br /&gt;
&lt;br /&gt;
Python:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
class MyClass:&lt;br /&gt;
    pass&lt;br /&gt;
initialize_magick(MyClass)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
But it’s really not a big deal, because calling the initialise method after the class or as a decorator is really not a major drawback.&lt;br /&gt;
&lt;br /&gt;
=== Self Reference ===&lt;br /&gt;
In Python, one needs to write ''self'' as the first parameter of a method definition (alike Perl). Furthermore, Python doesn’t  require the variable name to be self. In Ruby, ''self'' is automatically available in a similar fashion as in C++.&lt;br /&gt;
&lt;br /&gt;
Additionally, the method call ''self.method'' can be shortened to ''method'', as ''self'' is the default receiver.&lt;br /&gt;
&lt;br /&gt;
=== Ruby continuations vs Python Generators ===&lt;br /&gt;
&lt;br /&gt;
Continuation is a &amp;quot;pointer&amp;quot; to the current position in your program, including calling stack and all variables. You can reuse that pointer to &amp;quot;go back in time&amp;quot; when needed. Continuations are useful when it comes to ''usecases''.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def loop&lt;br /&gt;
  cont=nil&lt;br /&gt;
  for i in 1..4&lt;br /&gt;
    puts i&lt;br /&gt;
    callcc {|continuation| cont=continuation} if i==2&lt;br /&gt;
  end&lt;br /&gt;
  return cont&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Python doesn't support full continuations or even coroutines; instead it supports &amp;quot;generator&amp;quot; functions which create a kind of limited coroutine.&lt;br /&gt;
A generator in python is implemented as a special syntax for creating an instance of an iterator object, which returns the values returned by the &amp;quot;function&amp;quot; definition you provide. Python generators are easy and clean.&lt;br /&gt;
The equivalent code for the above code segment, in python is &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
from generator_tools import copy_generator&lt;br /&gt;
&lt;br /&gt;
def _callg(generator, generator_copy=None):&lt;br /&gt;
    for _ in generator: # run to the end&lt;br /&gt;
        pass&lt;br /&gt;
    if generator_copy is not None:&lt;br /&gt;
        return lambda: _callg(copy_generator(generator_copy))&lt;br /&gt;
&lt;br /&gt;
def loop(c):&lt;br /&gt;
    c.next() # advance to yield's expression&lt;br /&gt;
    return _callg(c, copy_generator(c))&lt;br /&gt;
&lt;br /&gt;
if __name__ == '__main__':&lt;br /&gt;
    def loop_gen():&lt;br /&gt;
        i = 1&lt;br /&gt;
        while i &amp;lt;= 4:&lt;br /&gt;
            print i&lt;br /&gt;
            if i == 2:&lt;br /&gt;
                yield&lt;br /&gt;
            i += 1&lt;br /&gt;
&lt;br /&gt;
    c = loop(loop_gen())&lt;br /&gt;
    print(&amp;quot;c:&amp;quot;, c)&lt;br /&gt;
    for _ in range(2):&lt;br /&gt;
        print(&amp;quot;c():&amp;quot;, c())&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Indentation===&lt;br /&gt;
&lt;br /&gt;
Python uses whitespace indentation, rather than curly braces or keywords, to delimit statement blocks (a feature also known as the off-side rule). An increase in indentation comes after certain statements; a decrease in indentation signifies the end of the current block.&lt;br /&gt;
On the other hand, ruby doesn't need any indentation although it can be optionally used for clarity.&lt;br /&gt;
&lt;br /&gt;
=== Other Differences ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Feature&lt;br /&gt;
!  Ruby&lt;br /&gt;
!  Python&lt;br /&gt;
|-&lt;br /&gt;
|  Higher-Order Functions&lt;br /&gt;
|  Implemented with procedure objects&lt;br /&gt;
|  Implemented as lambda expressions&lt;br /&gt;
|-&lt;br /&gt;
|  Arrays and hashes&lt;br /&gt;
|  supports Arrays and associative arrays (Hash)&lt;br /&gt;
|  has Lists and Tuples which are the same as arrays.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  Memory management&lt;br /&gt;
|  has a mark and sweep garbage collector&lt;br /&gt;
|  has a reference counting garbage collector.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  Parallel assignment&lt;br /&gt;
|  claims to do Operating System independent threading.&lt;br /&gt;
|  Threading available on many common platforms with some threading support&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Package support &lt;br /&gt;
| Not available&lt;br /&gt;
| Available&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Programming Environments ==&lt;br /&gt;
&lt;br /&gt;
===Development Environments===&lt;br /&gt;
Both languages provide interactive shells (type &amp;quot;python&amp;quot; or &amp;quot;irb&amp;quot;) and high-level persistence support. Multiple IDEs are available for Python, including GUI debuggers. A gdb-style debugger is available for each language. Python has a RefactoringBrowser, BicycleRepairMan. RubyLanguage now has a [http://www.kmc.gr.jp/proj/rrb/index-en.html RubyRefactoringBrowser]&lt;br /&gt;
&lt;br /&gt;
Both languages are supported by Emacs modes. Python can be used as an elisp replacement - see Pymacs. The current Ruby implementation is closely tied to Unix, making Windows performance and ports to new platforms problematic. There is an EclipseIde for Ruby. RubyCocoa adds support for Ruby to ProjectBuilder/ExCode on MacOsx. &lt;br /&gt;
&lt;br /&gt;
===Web Programming Environments ===&lt;br /&gt;
Both Ruby and Python have a large number of web programming environments/ application frameworks. They are exhaustively listed and compared [http://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks#Python here]. For brevity, we compare ruby's [http://en.wikipedia.org/wiki/Ruby_on_rails Ruby on Rails] with python's [http://en.wikipedia.org/wiki/Django_(web_framework) Django].  The need was to compare two frameworks which were developed independent of each other and not based or influenced on the other. Hence the choice of django was made, as other web python frameworks like pylons and web2py are based  on rails. &lt;br /&gt;
&lt;br /&gt;
Django is a complete Python web application framework while rails is an agile web programming environment built in Ruby which greatly simplifies MVC framework development. Ruby OO programming topics in conjunction with various Rails recipes are considered a much lighter, simpler and faster development experience than other current enterprise frameworks provided today.&lt;br /&gt;
&lt;br /&gt;
The table below compares them.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Feature&lt;br /&gt;
!  Ruby on Rails&lt;br /&gt;
!  Django&lt;br /&gt;
|-&lt;br /&gt;
|  Language&lt;br /&gt;
|  Ruby&lt;br /&gt;
|  Python&lt;br /&gt;
|-&lt;br /&gt;
|  Ajax&lt;br /&gt;
|  Prototype, script.aculo.us&lt;br /&gt;
|  Yes&lt;br /&gt;
|-&lt;br /&gt;
|  MVC framework&lt;br /&gt;
|  ActiveRecord, Action Pack&lt;br /&gt;
|  Yes&lt;br /&gt;
|-&lt;br /&gt;
|  MVC Push/Pull&lt;br /&gt;
|  Push&lt;br /&gt;
|  Push 	 	 	 	 	&lt;br /&gt;
|-&lt;br /&gt;
| i18n &amp;amp; l10n?&lt;br /&gt;
| Localization, Plug-in &lt;br /&gt;
| Yes &lt;br /&gt;
|-&lt;br /&gt;
|  ORM&lt;br /&gt;
|  ActiveRecord&lt;br /&gt;
|  Django ORM&lt;br /&gt;
|-&lt;br /&gt;
|  Testing framework(s)&lt;br /&gt;
|  Unit Tests, Functional Tests and Integration Tests&lt;br /&gt;
|  Yes&lt;br /&gt;
|-&lt;br /&gt;
|  DB migration framework(s)&lt;br /&gt;
|  Yes&lt;br /&gt;
|  No (plugin exists, might be merged into trunk when more stable and feature complete)&lt;br /&gt;
|-&lt;br /&gt;
|  Security Framework(s)&lt;br /&gt;
|  Plug-in&lt;br /&gt;
|  ACL-based&lt;br /&gt;
|-&lt;br /&gt;
|  Template Framework(s)  &lt;br /&gt;
|  Yes&lt;br /&gt;
|  Yes&lt;br /&gt;
|-&lt;br /&gt;
|  Caching Framework(s)&lt;br /&gt;
|  Yes&lt;br /&gt;
|  Yes&lt;br /&gt;
|-&lt;br /&gt;
|  Form Validation Framework(s) &lt;br /&gt;
|  Yes&lt;br /&gt;
|  Yes&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Features exclusive to each of Ruby and Python==&lt;br /&gt;
&lt;br /&gt;
===Python Advantages===&lt;br /&gt;
* Python has multiple inheritance &lt;br /&gt;
* Python has docstrings : Docstrings makes it possible to attach documentation directly to the classes and methods. That’s a nice documentation plus, and makes things like the Python interpreters ''help()'' function really useful. &lt;br /&gt;
&lt;br /&gt;
===Ruby Advantages===&lt;br /&gt;
* Ruby blocks are much more powerful than Python lambdas and they are integrated pervasively into the language. They also allow interaction between the block and the container.&lt;br /&gt;
* Metaprogramming (modifying classes on the fly) is easier in Ruby than in Python. Interestingly, in the Ruby community this is considered a powerful feature and used frequently, whereas the Python community tends to think of it as a last resort.&lt;br /&gt;
* Ruby is very good at creating domain-specific mini-languages. This is a consequence of the easy metaprogramming and optional parentheses on function calls.&lt;br /&gt;
&lt;br /&gt;
==Advantages of Ruby/Python over statically typed languages==&lt;br /&gt;
&lt;br /&gt;
The term Dynamic language refers to high level programming language that allows the programmer to modify the code during run time. The modifications may include addition of new blocks of code or modifications to objects during execution or changing the type of objects. Statically typed languages such as Java or C# have type checking performed during compile-time as opposed to run-time and an objects type cannot be changed. Programmers should declare the types they intend a method or function to use and the compiler will not permit the programmer to ignore this type. Apart from being dynamically typed, there are many features provided by dynamic languages that aren’t to be found in Static languages. These include blocks and closures, metaprogramming, and unbounded polymorphism and support for multiple programming paradigms. These features lend certain advantages to a dynamic language which are listed below: &lt;br /&gt;
&lt;br /&gt;
===Purely Object Oriented===&lt;br /&gt;
Ruby does not have primitives. everything, including integers are full fledged objects.&lt;br /&gt;
'''Ruby''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  0.zero?    This evaluates to a true&lt;br /&gt;
  1.zero?    This evaluates to a false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Typed features===&lt;br /&gt;
With Static typing in Java and C#, programmers should declare the types they want a method or function to use while with Ruby you don't declare types for variables or functions. In Ruby objects are strongly and dynamically typed.&lt;br /&gt;
&lt;br /&gt;
'''Java''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
int val1=5;&lt;br /&gt;
String value=String.valueOf(val1);&lt;br /&gt;
if(value.equals(&amp;quot;5&amp;quot;))&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Python''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
val1=5&lt;br /&gt;
value=str(val1)&lt;br /&gt;
if value == &amp;quot;5&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Verbosity===&lt;br /&gt;
Statically typed languages tend to be more verbose. &lt;br /&gt;
&lt;br /&gt;
'''Java''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
import java.io.*;&lt;br /&gt;
BufferedReader file1=new BufferedReader(new FileReader(Filename));&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Python''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
file=open(Filename);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Relaxed syntax===&lt;br /&gt;
Ruby and Python are flexible with respect to syntax. For example,&lt;br /&gt;
&lt;br /&gt;
'''Ruby''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat = Cat.new  &lt;br /&gt;
cat = Cat.new()  &lt;br /&gt;
cat = Cat.new();  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===More compact code===&lt;br /&gt;
'''Java''':  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
for (int i = 0; i &amp;lt; 100; i++) &lt;br /&gt;
{}  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
'''Ruby''':&lt;br /&gt;
&amp;lt;pre&amp;gt;  &lt;br /&gt;
100.times { |i| }  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Default Arguments===&lt;br /&gt;
Ruby and Python allow you to define default values to method arguments while Java does not. &lt;br /&gt;
&lt;br /&gt;
'''Ruby''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def calc_cube(x=2,y=3)&lt;br /&gt;
  val=x**y&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Checked Exceptions ===&lt;br /&gt;
Checked exceptions force every method to deal with (catching or throwing) all exceptions that its child calls or may call.&lt;br /&gt;
&lt;br /&gt;
'''Java''':&lt;br /&gt;
If in the program, a method calls run as follows, A1() -&amp;gt; A2() -&amp;gt; A3() -&amp;gt; A4() and if A4() throws an Exception, and it is caught by A1(), then A2(), A3() must also throw the same Exception. &lt;br /&gt;
&lt;br /&gt;
'''Python''':&lt;br /&gt;
Exceptions propagate upwards and A2() and A3() do not need to throw the Exception. &lt;br /&gt;
===Duck Typing===&lt;br /&gt;
Ruby doesn't care about an object's class, just whether it has a method of the name used in the method call. For this reason, the dynamic approach has earned the name duck typing.&lt;br /&gt;
&lt;br /&gt;
'''Ruby''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
class Duck &lt;br /&gt;
	def sound&lt;br /&gt;
         puts &amp;quot;Quack&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
Class Frog&lt;br /&gt;
	def sound&lt;br /&gt;
	 puts &amp;quot;Croak&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
def noises(duck)&lt;br /&gt;
 duck.sound&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
duckA=Duck.new&lt;br /&gt;
frogB=Frog.new&lt;br /&gt;
&lt;br /&gt;
noises(frogB)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Result''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;Croak&amp;quot; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Project Environments Suited to Each==&lt;br /&gt;
&lt;br /&gt;
Python is useful for rapid prototyping, web scripting, XML processing, database applications, GUI applications, scientific computations. Python can be used for large and complex software systems. YouTube, for instance, runs mainly on Python, and it is preferred language at organizations including Google, NASA and Industrial Light and Magic. Specialized Python libraries and frameworks exist for scientific programming, data manipulation, Web services, XML interchange and many other things.&lt;br /&gt;
&lt;br /&gt;
Ruby is useful for typical scripting language applications such as text processing and middleware programs. It is suitable for small, ad-hoc scripting tasks that previously may have been solved with Perl. Ruby has first-class regular expressions, which makes text processing scripts easy to write. Ruby is also suitable for larger software systems. It’s most successful application is in the Ruby on Rails web framework. Websites like Twitter and Hulu use the Ruby on Rails web development framework in production environments.&lt;br /&gt;
Ruby can also be used as a high-level API wrapper (or domain-specific language) around some C library. Other uses for Ruby is in test/behavior driven development and when you need to create an &amp;quot;internal&amp;quot; domain-specific language.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&lt;br /&gt;
*[http://ruby.about.com/od/beginningruby/a/WhatIsRuby.htm What Is Ruby?]&lt;br /&gt;
&lt;br /&gt;
*[http://blog.ianbicking.org/ruby-python-power.html Ruby, Python, &amp;quot;Power&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
*[http://python.about.com/od/gettingstarted/ss/whatispython_3.htm What is Python?]&lt;br /&gt;
&lt;br /&gt;
*[http://johan.kiviniemi.name/blag/ruby-vs-python/  Ruby vs. Python Johan Kiviniemi's series of tubes]&lt;br /&gt;
&lt;br /&gt;
*[http://en.wikipedia.org/wiki/Ruby_(programming_language) Ruby (programming language)]&lt;br /&gt;
&lt;br /&gt;
*[http://www.c2.com/cgi/wiki?PythonVsRuby Python Vs Ruby]&lt;/div&gt;</summary>
		<author><name>Ssatish</name></author>
	</entry>
</feed>