Wednesday, October 3, 2007
ActiveX Data Objects
Like Microsoft's other system interfaces, ADO is an object-oriented programming interface. It is also part of an overall data access strategy from Microsoft called Universal Data Access. Microsoft says that rather than trying to build a universal database as IBM and Oracle have suggested, finding a way to provide universal access to various kinds of existing and future databases is a more practical solution. In order for this to work, Microsoft and other database companies provide a "bridge" program between the database and Microsoft's OLE DB, the low-level interface to databases.
OLE DB is the underlying system service that a programmer using ADO is actually using. A feature of ADO, Remote Data Service, supports "data-aware" ActiveX controls in Web pages and efficient client-side caches. As part of ActiveX, ADO is also part of Microsoft's overall Component Object Model (COM), its component-oriented framework for putting programs together.
ADO evolved from an earlier Microsoft data interface, Remote Data Objects (RDO). RDO works with Microsoft's ODBC to access relational databases, but not nonrelational databases such as IBM's ISAM and VSAM.
Monday, September 24, 2007
Active Directory
Active Directory is Microsoft's trademarked directory service, an integral part of the Windows 2000 architecture. Like other directory services, such as Novell Directory Services (NDS), Active Directory is a centralized and standardized system that automates network management of user data, security, and distributed resources, and enables interoperation with other directories. Active Directory is designed especially for distributed networking environments.
Active Directory features include:
- Support for the X.500 standard for global directories
- The capability for secure extension of network operations to the Web
- A hierarchical organization that provides a single point of access for system administration (management of user accounts, clients, servers, and applications, for example) to reduce redundancy and errors
- An object-oriented storage organization, which allows easier access to information
- Support for the Lightweight Directory Access Protocol (LDAP) to enable inter-directory operability
- Designed to be both backward compatible and forward compatible
Hard-drive encryption
The concept of hard-drive encryption is simple enough. When a file is written to the drive, it is automatically encrypted by specialized software. When a file is read from the drive, the software automatically decrypts it while leaving all other data on the drive encrypted. The encryption and decryption processes are transparent to all common applications such as word processors, databases, spreadsheets or imaging programs. A computer equipped with hard-drive encryption appears, from the user's point of view, to function as any other computer would.
Windows Vista Enterprise and Ultimate editions offer a hard-drive encryption program called BitLocker that employs two-factor authentication.
z coordinate
Open Source
A certification standard issued by the Open Source Initiative (OSI) that indicates that the source code of a computer program is made available free of charge to the general public. The rationale for this movement is that a larger group of programmers not concerned with proprietary ownership or financial gain will produce a more useful and bug -free product for everyone to use. The concept relies on peer review to find and eliminate bugs in the program code, a process which commercially developed and packaged programs do not utilize. Programmers on the Internet read, redistribute and modify the source code, forcing an expedient evolution of the product. The process of eliminating bugs and improving the software happens at a much quicker rate than through the traditional development channels of commercial software as the information is shared throughout the open source community and does not originate and channel through a corporation's research and development cogs.
OSI dictates that in order to be considered "OSI Certified" a product must meet the following criteria:
- The author or holder of the license of the source code cannot collect royalties on the distribution of the program
- The distributed program must make the source code accessible to the user
- The author must allow modifications and derivations of the work under the program's original name
- No person, group or field of endeavor can be denied access to the program
- The rights attached to the program must not depend on the program's being part of a particular software distribution
- The licensed software cannot place restrictions on other software that is distributed with it.
Thursday, September 20, 2007
Blended Learning - Old Wine In A New Bottle
Before starting to define the concept of blended learning, its important to know the most unobtrusive fact about the concept - that it has been around in disguise for eons and its immortality is undisputable. Simply put, unblended learning is something unimaginable. Learning has always involved blending of different methods and only the uninitiated can think of a learning environment where a computer can carry out all the aspects of training without the assistance from other media. Though this term found entry into the e learning jargon only lately, we have been using blended learning since time immemorial. Teachers using different forms of exercises right from story telling and toys to using charts and reading aloud for training toddlers are using blended learning techniques.
Blended learning in corporate training
Blended learning fast seems to be replacing e learning in corporate training, if not elsewhere. Corporate training programs aim at improving revenue, reducing costs and enhance teamwork in general, rather than focusing on the individual development of employees. Learners, too, learn with a view to becoming effective at their jobs rather than for the sake of increasing knowledge. Keeping these trends in mind, blended learning can best address the needs of a corporate training program, since different sets of learners require different delivery methods. The key to enhance results lies in offering the perfect amalgam of media and delivery as per the requirement of a particular program. Learning experiences are categorized into steps in a blended learning model and the learner’s progression from one step to another keeps on building upon the previous learning experiences. This forms a ladder through which learners keep on climbing rung after rung to blossom into a tree of collaboration from the sapling of education. Organizations have graduated from the basic information exchange level to the level of expertise – all within scheduled time frames and fixed costs through blended learning techniques. A blended learning model allows the ease of combining either elements from a particular level, or complete levels to arrive at a single learning solution. The blend that a company selects depends upon various factors including requirements, costs, time on hand and available content.
Basic elements of blended learning
Broadly, blended learning models comprise of the following elements, mixed in varied proportions according to an organization’s requirements. Blended learning can be classified into
- Learning through information
- Learning through interaction
- Learning through collaboration and
- Learning through classroom experiences
E learning technology can be put to good use while learning through information, interaction and collaboration. This not only reduces cost attributed to enlarged periods of non productive activity on the part of the employees, commuting and employing instructors, but also creates reusable content, and reiterates core messages and concepts to ingrain them in the minds of the learners. At the same time, the classroom sessions develop interpersonal skills and the ability to communicate face to face.
Learning through information
Material based information is the first coherent step towards starting a learning program. Web based material can now be handed to the learners, thanks to e learning techniques, which can render the learning program easy to deliver and faster to implement. Making the information accessible all the time will give learners the liberty of scrolling through the content at their own convenience, which, in turn, will enhance understanding and enthusiasm.
Learning through interaction
The learner-instructor, learner-content, learner-learner, and learner-infrastructure interactions become all the more important in a blended learning environment. Web can assist all the above mentioned forms of interaction, which, together, help retain the knowledge that is acquired through information .Web simulations of real life situations allow learners to apply their knowledge practically, without the possibility of them affecting your business directly.
Learning through collaboration
Collaborative learning includes peer to peer discussions, conference calls, chat, team rooms and instant messaging. Technology has enhanced the concept of collaboration manifold, where learners, even though geographically remote, can communicate in real time. The collaborative environment also heightens the chances of collaboration between e learners and subject matter experts (SMEs).
Learning through classroom interactions
Conventional, tested and, by far, one of the most effective approaches to learning, classrooms are the best places to personally connect to peers and instructors. No technology can replace the advantages of this approach, which is exactly why no e learning or blended learning model will skip this element for any reason. But, as one would like to believe, blended learning has never attempted to replace classroom based learning. On the contrary, technology based learning takes care of the basic, mechanical and mundane aspects of learning to allow classroom based training centre around discussions on already learnt subject matter and behavioral and psychological modifications.
Bottomline
Blended learning involves the appropriate blend of varied components including courses, content portions, IM pings, blog feedback, and many other things. The ubiquitous problems of speed, scale and impact associated with most e learning models can be successfully solved by blended learning. Applying blended learning to all your learning needs will definitely leverage your organization vis a vis your competitors.
Tuesday, September 18, 2007
ASP.NET : GridView - Set focus to control and select full text on the edited row
You will find lots of my post on GridView, JavaScript, DetailsView and FormView. I am working on DataGrid and GridView since its early days and have done extensive programming on it.
For the question on setting focus on textbox and select full in the edit template of the GridView control, here is my offer:
For example, we have two textbox TextBox1 and TextBox2 as TemplateField.
Now, when user click on edit button then selected GridView row turns into edit mode and the TextBox1 should get focus with all its text selected by default. If user moves on to TextBox2 then again its text should get selected.
Code:
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
TextBox tmpText1 = ((TextBox)(e.Row.FindControl("textbox1")));
TextBox tmpText2 = ((TextBox)(e.Row.FindControl("textbox2")));
if (e.Row.RowState == DataControlRowState.Edit e.Row.RowState.ToString() == "Alternate, Edit")
{
// Set the focus to control on the edited row in reverse, last column in
// GridView should come first here.
tmpText2.Focus();
tmpText2.Attributes["onfocus"] = "javascript:this.select();";
tmpText1.Focus();
tmpText1.Attributes["onfocus"] = "javascript:this.select();";
}
}
I would be more than happy to answer any question / queries.
