Yahoo! 360° News | Beta Feedback
Start your own Yahoo! 360° page
1 - 5 of 21 First | < Prev | Next > | Last

Antonio's DevTech Blog Full Post View | List View

Welcome to my DevTech Blog - A place for me to express my thought and anything about software development

OTK Custom dbInstaller 2.0 Released!
OTK Custom dbInstaller LogoFinally, OTK Custom dbInstaller 2.0 is released! We apologize for the delay. Since the release of our first free edition on 2nd January 2007, we have learnt a lot from the past. Now, with this new version, we have added a lot of exciting new features in order to make achieving full application deployment automation, especially for those database-driven application, possible at the most affordable price and lowest cost of ownership!

What's New in 2.0
Below are the great new values that we have been added to this new version:
  • Backup option before install/uninstall
  • Options selection safety check
  • Restore from backup source or execute custom SQL script file or both
  • Selectable target location for data file and log file to restore
  • Update connectionString in app.config or Web.config
  • Command-line arguments to be dynamically called by installer's custom actions or independently run from task scheduler, command window, and shortcuts.
  • Uninstall with database detach or drop option
  • Fully customizable user interface behaviors based on usage, target users, and target environments
  • and more...
How to move forward?
The following is a list of useful resources for you to find out more about Custom dbInstaller 2.0:
We hope that you enjoy playing with the demo and discover how Custom dbInstaller 2.0 can give you a tremendous gain on your cost saving, productivity, and better customer relationship!
Thursday December 6, 2007 - 04:55pm (SGT) Permanent Link | 0 Comments
Applying MVP on dbI 2.0 to achieve high flexibility without sacrificing stability
Applying MVP on dbI 2.0 to achieve high flexibility without sacrificing stability magnify
As some of you already know, Model-View-Presenter (MVP) is a design pattern that cleanly separate the concerns between UI (View), UI-data interaction logic (Presenter), and your data logic (Model). If you came across with Web Client Software Factory (WCSF), you may notice that when you added a specific business module, guidance automatioin will create a presenter class for you for each page view. However, that doesn't mean that in MVP, you can only have one presenter for one view. In fact, you can have one presenter for multiple views. This is what dbI 2.0 alpha is currently implementing now.

If you browse through the OTK Web Community photos, you will notice quite easily that dbI 2.0 is actually providing a wizard-like database installer to facilitate the database deployment tasks of your enterprise applications. What you may not notice is that, one of the great features that dbI wanted to achieve is to allow the developers to easily take out/incorporate in any wizard dialog steps with any combinations for different usage and target users. Developers can decide which steps they want to allow the users to customize for the installation of their application's database and which they do not.

In order to achieve that, dbI 2.0 needs to find a way to separate the concerns between the dialog specific logics and cross-dialog standard logics so that the common logics do not need to be repeated on each form. Duplicating the same logic across multiple forms may introduce bugs as well as making the programs very hard to maintain.

(NOTE: The 'cross-dialog standard logics' involve the manipulation of those common form controls together with some function calls from the data object, which may not be easily achieved a clean SoC by creating common class.)

Therefore, to tackle this issue, we do the following:

1. First of all, we got to identify what are standard UI components that available on every wizard dialog. Then we create an interface called IWizardView that exposes these standard UI objects as properties.

2. Then we implement IWizardView on each of the wizard dialog boxes. Now every form will have all these common controls exposed as its public properties.

3. We now create a presenter class called InstallerPresenter, having one of its property as the type of IWizardView and its associated private variable called _wizardView.

4. Meanwhile, we also make the presenter's constructor to accept a parameter of type IWizardView and get the parameter value assigned to _wizardView.

5. Back to each wizard form, we want the presenter class to be created once the Form object is created. Hence, on each form's contructor, we do the following:

_presenter = New InstallerPresenter(Me)

where Me is the form itself.

Since the constructor's parameter is just an interface but not the form, we can say that the presenter does not have the knowledge of the specific form but just the "rules" that it can accept, i.e. the IWizardView interface. Through this way, the presenter will therefore can serve multiple forms with its logic as long as each form is implementing the IWizardView interface.

Here, I also want you to take note that, in order to implement MVP design pattern, it is not necessary that you need the ObjectBuilder (for Dependecy Injection purposes) as proposed by WCSF. It is optional and just a nice-to-have feature that will further pushing the loosely-coupled practices into extreme.
Rate this blog:
1
0
2
0
3
0
4
0
5
0
Sign in to vote
Tags: mvp, di, dbi, wcsf
Tuesday November 20, 2007 - 05:19am (SGT) Permanent Link | 0 Comments
Launching OTK Web Community at Facebook.com
Launching OTK Web Community at Facebook.com magnify

Come and join us at OTK Web Community at Facebook.com and find out how we can improve the way we work and therefore boosting up our career and company's software businesses! We already have some of our ex IT colleagues joining!

Those who have Facebook account, please add me at: antonio.ooi@gmail.com

See you there!

Sunday November 18, 2007 - 06:13am (SGT) Permanent Link | 0 Comments
Recommended Downloads for .NET Developers
Recommended Downloads for .NET Developers magnify
  • Microsoft Visual Basic 2005 Power Packs 2.0
    Microsoft Visual Basic 2005 Power Packs 2.0 includes a new set of Line and Shape controls and updated versions of the two previously released Visual Basic 2005 Power Packs, the PrintForm Component and the Printer Compatibility Library. All three are now included in a single assembly making them even easier to use and redistribute with your application.
  • Process Explorer v11.04
    Wondering which program holding a specific file causing you to receive "The file is in use" or it becomes read-only? This is when this tool comes into handy.
  • Giant Poster of .NET Framework 3.5 in PDF Format
    Get an overall picture of .NET Framework 3.5 or decorate it in your office (provided you have a color plotter :P)
  • CopySourceAsHtml (CSAH)
    Want to share or discuss your source code with someone in your blog but want it to be well-formatted as well? Download and install this as an add-in to your Visual Studio now!
Rate this blog:
1
0
2
0
3
0
4
1
5
0
Sign in to vote
Tags: download, .net, blogging, tools, developers, development, programming
Sunday November 4, 2007 - 11:42pm (SGT) Permanent Link | 0 Comments
Solving ReportViewer Rendering Issue on IIS7

Simple solution but took me two days to discover the answer. For those who are facing the ReportViewer rendering problem on IIS7, you may find my following blog helpful:

http://otkfounder.blogspot.com/2007/11/solving-reportviewer-rendering-issue-o...

Rate this blog:
1
0
2
0
3
0
4
0
5
0
Sign in to vote
Tags: iis7, reportviewer, ssrs, asp.net
Saturday November 3, 2007 - 03:41am (SGT) Permanent Link | 0 Comments

Add Antonio's DevTech Blog to your personalized My Yahoo! page:

Add to My Yahoo!RSS About My Yahoo! & RSS
1 - 5 of 21 First | < Prev | Next > | Last