msgbartop
Current IT field related information
msgbarbottom

09 Jan 09 The MVC programming pattern

Modern programming is totally different from the way programming was just less than a decade ago. Much of this is due to programmers preferring to move towards more organized and scalable programming paradigms and frameworks. This are just some of the reasons why object-oriented programming and programming design patterns have become popular. MVC is a programming design pattern that has become popular mainly because it allows for a more organized and scalable program.

MVC or Model-View-Controller is a design pattern that separates a program into three components, the View, the Model and the Controller. The View refers to the component that appears to the user. It is the code that generates what is shown to the user and it also receives input from the user as needed. The Controller on the other hand, refers on the code that determines what action should be taken when a request from the user is received. Finally, the Model refers to the section of code that does the processing of the request and also saves or retrieves data for the user before handing it back to the View.

Now, let’s focus on this design pattern in the web application programming point of view. MVC is currently being implemented by two of the popular web programming languages. It is used in J2EE through the Struts, Spring, and JSF frameworks while it is also implemented by Ruby through the Rails framework. Other languages also have similar frameworks available though not as popular as those mentioned. Lately, Microsoft has also released an update for their .NET framework to support the MVC pattern.

What really makes this pattern so powerful is that it allows an application to be built independently from each other. This means, changes made to the implementation of one component should not drastically affect the other sections. This is especially beneficial for teams working on a program. Some of them can be working on the View component; creating the HTML, JavaScript, and CSS code that allows for a more pleasing web interface for the user. Others on the team could be working on the business logic of the program, focusing on how the data is processed and saved or retrieved from the database. Most importantly, the controller can be used to direct where requests are sent and to what page will the information be displayed.

Let’s trace how a request is processed in an MVC pattern. Let’s start with the request coming from the user. The user usually makes their first request by invoking the initial page of a website by entering the website’s URL in the browser. The controller catches the request for the initial page and invokes the proper action which makes the proper calls to the model components that accomplish the necessary processing. Once all the required information are gathered, the page is rendered by the view and the page is shown to the user.

Volumes can be written about the MVC pattern and its intricacies so for more information, you may visit WikiPedia for more information and links to MVC frameworks for your programming language of choice.

Tags: , , , , , , , , , , , , , , , , , , , , ,

30 Dec 08 Virtual classrooms as a model for knowledge management

Introduction

Education today is facing many challenges and one of them is to respond to the profound social changes, economic and cultural rights as provided for the so-called “Information Society and Knowledge” in this era of Information and Communication, and the Internet which has generated a huge interest in all areas of our society and its thanks to its growing use for educational purposes has become an open field for reflection and research.

Knowing that the “virtual classrooms” are half in which teachers and learners are to carry out activities that lead to learning, and that the concept of knowledge is the ability to transform data and information into effective action and effective, in the next lecture discuss the topic of “Virtual Room as a Model of Knowledge Management ‘, and try some of these concepts: influential factors, classification, usage and other items that have some connection with such innovative topic.

Concept of Virtual Classroom

The world in which we live is identified with the dynamics, where what is true today, perhaps tomorrow does not have the same value, being the only constant change it. For that reason, educators and learners, we have been waiting for the arrival of new forms of education and tools to achieve efficiency and effectiveness, implementation, in some cases and innovation in others, the process of finding a means of bringing the Internet to the public officer new features and elements that provide access to knowledge without the involvement or have moved nourished budgets to purchase materials and make available to everyone. It is known that most Internet through Web pages on the classroom resources that before were not even imaginable to a low-cost and easy access. Is that this source of inexhaustible facilities has been embraced by a large number of teachers from different systems and levels of education. Thus, this has led to the birth of sites and web sites designed for teaching and the idea of doing an educational use of the Internet. These spaces are what some experts have called “virtual classrooms”.

Modern organizations need to update the resource materials, and most importantly, the human capacity to give timely and effective response to new challenges proposed by the “Information Society and Knowledge.” The concept of virtual classrooms has come to fill the gap that for many years has had a traditional education, as educational need in this society has been in the technological changes of great magnitude, in which an increasing number of people from all socio-economic levels who need training in order to keep pace with the changes around us, without necessarily having to adapt to traditional training that are not commensurate with their daily lives.

Knowledge and Management of the same

We understand the importance of knowledge as each of the sensory faculties of man.

The management of knowledge some experts define it as a way to identify, detect, rework, and make available to the entire organization knowledge and practices that bring added value to the members of any entity. Joyanes, (2003) also said that the management of knowledge means to deliver those data and information needed to be efficient (effective) in their work or organizations, which is the organizational and institutional process which technologies should allow:

* Identify necessary knowledge,
* Identify where and who has the knowledge or if you need to be created,
* Collect and capture the knowledge identified,
* Determine its importance,
* Summarize and synthesize the information available,
* Distributing information at different levels,
* Update, delete and modify the outdated knowledge and
* Save and organize knowledge obsolete, if any, for future reference.

Tags: , , , , , , , , , , , , , , , , , , ,