WORKSHOP ----1----
List of all programming languages and Web development tools used:
C
C++
HTML
SQL
ORCALE
LINUX
A web application framework is a software framework that is designed to support the development of dynamic websites, Web applications and Web services. The framework aims to alleviate the overhead associated with common activities used in Web development. For example, many frameworks provide libraries for database access, templating frameworks and session management, and often promote code reuse. (unanymous, Web application framework)
Ruby is “an interpreted scripting language” for quick and easy object-oriented programming”.
Ruby is an interpreted language, so you don’t have to recompile programs written in Ruby to execute them.
Ruby uses an abstract syntax tree as intermediate representation. The intermediate representation can be compiled once and for all each time before execution or each time a change in the source is detected before execution
What is Rails and how does it work with Ruby?
Rails are self-contained application directory, that contains all your files within it. Unit tests, models, database schemas, documentation, everything. The Ruby language is similar to Javascript in that it’s highly dynamic, you can modify classes at runtime, and has some very elegant language features (lucas, 2006)
convention over configuration
Convention over Configuration (aka Coding by convention) is a software design paradigm which seeks to decrease the number of decisions that developers need to make, gaining simplicity, but not necessarily losing flexibility. (unanymous, 2009)
"Convention over Configuration" means a developer only needs to specify unconventional aspects of the application. For example, if there is a class Sale in the model, the corresponding table in the database is called sales by default. It is only if one deviates from this convention, such as calling the table "products sold", that the developer needs to write code regarding these names. Generally, this leads to less code and less repetition.
Ruby on rails is one of the frameworks which closely follows concept of minimal configuration . Rails provides its own ActiveRecord library that deals with mappings between a class and a table in the database. By convention, the table name is a pluralized form of the class name. Thus, the class Post will have a table called Posts. Rails also handles peculiar words such as sheep which has the plural form sheep and octopus which has the plural form octopi. For more complex or legacy table names such as ShopInventory, the user would have to configure the mapping between the table name and class name
(Chen., 2006)
When did Model-View-Controller begin and where is it used?
MVC was first described in 1979[1] by Trygve Reenskaug, then working on Smalltalk at Xerox PARC. The original implementation is described in depth in the influential paper Applications Programming in Smalltalk-80: How to use Model–View–Controller. (anonymous, 2009)
MVC is used to modularize the user interface functionality of a Web application so that you can easily modify the individual parts. It is also used to manger the updation on the view that means it is used incorporate the updated in view with all other view which are being affected.
It is also helpful to the developers as it separates the business logics from the developing efficient HTML pages.MVC is used where to avoid the time consuming part of testing as it incorporates automated tests for user interfaces.
Monday, April 6, 2009
Subscribe to:
Post Comments (Atom)


No comments:
Post a Comment