| How to use Vendidi. Part I |
|
Before starting to understand how to use Vendidi to develop your software projects, take a while to understand why you should use Vendidi.
Software applications are developed in order to solve specific business problems. However, they have a lot of requirements and basic functions in common, even when referring to the most different domains. So, when developers build software, they must also create nearly identical classes and services for their applications to enable to solve basic functions.
A framework like Vendidi makes available to developers a library of classes to handle some of the most common requirements of an application, so as to speed up the development process, reducing costs and time-to-delivery.
Moreover, you can use Vendidi Framework classes as they are or you can refine them to better suit your needs, deriving from them to extend their attributes and behavior. The rationale behind Vendidi Framework is to give developers a head start when they begin a new application, through some building blocks of proven reliability.
In fact, when creating Vendidi classes, well established, and almost universally accepted, analysis and design patterns have been implemented and the specifications of the Object Management Group (OMG) for business objects have been followed. This should put a developer in a familiar environment and make the learning curve less steep.
|
How to use Vendidi.
Click on each section of the image to get more details.
|
PRODUCT DESCRIPTION
Vendidi Framework includes Vendidi Framework Class Library and Vendidi Database Manager. Vendidi Framework Class Library allows any experienced programmer to create Windows or web applications, using Vendidi classes, according to his/her own needs. The class library can be handled through Microsoft Visual Studio .NET 2003, 2005 or other editors to develop .NET applications. Vendidi Database Manager (itself a web application), interacting with a SQL database, allows you to create the database structure for a web application or a traditional application for Windows. Regarding a web application, you can use Vendidi Database Manager also for inserting and maintaining data.
After you have installed Vendidi Framework, on your disk, class library assemblies, sample code and walkthroughs in VB e C#, sample data to import in a database, SQL script to create the Vendidi db schema on SQL Server, Database Manager website and help files are available. You can access to these Vendidi resources also through Start menu.
HOW TO START?
Before starting a new software project you need to create and structure a database for your data. So, the first operation is to create a database. At the moment, Vendidi supports any Microsoft SQL server database starting from 2000 version (entry level versions included). If you don't have Microsoft SQL Server, we suggest to download the free SQL Server 2005 Express Edition (.NET 2.0 is required).
CREATE A DATABASE
Connect to your SQL Server (as System Administrator or as a user having the necessary rights to create databases and users) and reate a new database (named as you prefer), accepting all default settings.
To create the Vendidi startup contents (tables, views, store procedures, etc.) inside the new database, you must execute the SQLServerDBSchema.sql script, available in Vendidi installation folder. To execute the script, you need to run a query on the database previously created. Please, note that, other than Vendidi start up contents, the SQLServerDBSchema.sql script creates also an additional database named Vendidi_tempdb used by Vendidi as a temporary database.
Disregard the warnings displayed during script execution: they're due to stored procedures dependent on each other.
After you created the structure, you need to create a new login, selecting the preferred authentication method. Choosing SQL Server Authentication, you must indicate a password (note that you could need to uncheck the User must change password at next login check box to confirm new login). Associate the account with the database previously created. Then, set the newly created login as db_owner (as Database role membership) of the following databases: [current] database and Vendidi_tempdb database. Obviously, [current] relates to the database name you have created.
Remember that, if you forget to assign the login to the Vendidi_tempdb, you can get problems in managing your data. For a correct use of Vendidi Framework features, you must join the database login also to the Vendidi_tempdb database.
|
|
|
To speed up the learning on how to create a Vendidi database, you can run the following flash movie
|