| Welcome to vBulletin FAQ |
vBulletin FAQ Navigation
Getting Started
Customizing your vBulletin
Search Engines & SEO
Making Money with a Forum
Promoting your Community
|
| Get your own vBulletin Today |
|
| Webmaster Help |
|

|
|
Doing Objects in Visual Basic 2005 (Addison-Wesley Microsoft Technology Series)
vBulletin Book Store > vBulletin books beginning with D
|
Doing Objects in Visual Basic 2005 (Addison-Wesley Microsoft Technology Series) |
Author: Deborah Kurata
Published: 2007-03-02 |
List price: $49.99
Our price: $34.99
|
Usually ships in 24 hours
As of: December 02nd, 2008 04:13:06 AM
|
|
|
Customer comments on this selection.
great overall vb book on object I give this book 5 stars for the methodology (GUIDS) used alone. I think I can use that in my work. The chapter on interface layer is also good, but might confuse a beginner vb.net programmer. Overall the book is great, however, the chapter on business layer is not what i have expected. It delved on interfaces and state management of object for most of the chapter, but seems to be getting nowhere with the sample. I will have to read the chapter again to understand it fully, as I got lost in the process. I was actually expecting object collaboration on this chapter, but that was left out, so what's really the purpose of business layer chapter then? I will not recommend this book to novice programmers. For a much better discussion on object-oriented approach with clear explanation on 3-tier from the ground up, I highly recommend Dan Clark's Beginning Object-Oriented Programming using VB2005 book.
Useful and concise I have been using Ms. Kurata's book at work in making the transition from VB 6.0 to Visual Basic 2005. I find her explanations easy to understand and her examples immediately relevant to the work I am doing. I have a library of reference books on the subject, but lately I have found myself regularly referring to this book to quickly jog my memory on topics such as creating property statements and custom event handlers. This book packs a lot of knowledge into a well-written concise package.
br /
br /Ms. Kurata's book is similar to Tim Patrick's book, which is another of my recent favorites that I also recommend.
br /Start-to-Finish Visual Basic 2005: Learn Visual Basic 2005 as You Design and Develop a Complete Application (The Addison-Wesley Microsoft Technology Series)
Good book After searching long and hard for a book about business objects and databinding, I stumbled across this one. It gives you a good starting point and makes you think in a Object Orientated way. Lots of reuseable code and the presentation was good. I like a book that you can read and do a project at the same time.
br /
br /However, I thought the book ended abruptly and left things a little undone. Furthermore, I would of liked it to go into more detail on sorting and filter business objects since this is a major issue.
br /
br /In all, this was a great buy and I'll be referencing it for a while.
An objective review by VBRocks **** 4 Stars for Deborah Kurata ****
br /
br /This book accomplishes a few useful things:
br /
br /First of all, this book teaches you Object-Oriented development concepts, such as what Object-Oriented programming is, the basic elements of Object-Oriented architecture, and the benefits of using an Object-Oriented approach.
br /
br /It also teaches you how to design software using the GUIDS Methodology: Goal-centered design (includes use cases, scenarios, business object identification, and domain model), User Interface design, Implementation-Centered design, Data design, and Strategies for construction.
br /
br /Additionally, this book teaches you how to implement N-Tier architecture in an application, and explains its benefits. The N-Tier approach in this book is comprised of a Presentation Layer, Business Layer and a Data Access Layer.
br /
br /A downside to this book is that it leaves you short of having a fully functional application, supporting record sorting and filtering, which, in my opinion, is a fundamental element of data presentation.
br /
br /
br /Additional Comments:
br /
br /Being an ADO.NET proponent, and competent in extending ADO.NET, I found the OOP approach demonstrated in this book to be (frankly) a lot of work. A lot of the code that goes into this approach can be significantly reduced using ADO.NET. Furthermore, ADO.NET requires much less time to become proficient in, and faster to develop.
br /
br /Here's a simple example that creates a Customer Class:
br /
br / Public Class Customer
br /
br /
br / Public Sub New(ByVal customerName As String)
br /
br / Me.Name = customerName
br /
br / End Sub
br /
br /
br / Private m_Name As String
br / Public Property Name() As String
br /
br / Get
br /
br / Return m_Name
br /
br / End Get
br /
br / Set(ByVal value As String)
br /
br / m_Name = value
br /
br / End Set
br /
br / End Property
br /
br /
br / End Class
br /
br /
br /A customer can be created like this:
br /
br / Dim c As New Customer("Chili's Grill Bar")
br /
br /
br /Now, how do you get a list of Customers? You have to use List(Of Type):
br /
br / 'Create a list
br / Dim customerList As New List(Of Customer)
br /
br / 'Add Customers
br / customerList.Add(New Customer("Chili's Grill Bar"))
br / customerList.Add(New Customer("Dickey's BBQ Pit"))
br / customerList.Add(New Customer("La Hacienda Ranch"))
br /
br /
br /My Next question is, How do you handle sorting in a List(Of Type)? You may be tempted to, Well, Sort() of course!
br /
br / customerList.Sort()
br /
br /However, if you did not implement the IComparable interface in the Customer class, then you cannot use the Sort method... Any other ideas?
br /
br /
br /Now, what about filtering? How do you filter a List(Of Type)?
br /
br / ...
br /
br /
br /Put it this way, if you want to be able to bind the list to a control, like a DataGridView, and then have the list sorted when a DataGridViewColumn header is clicked, then you need to do some programming to implement the IBindingList interface. And then what if you want to do advanced sorting and filtering? You need to implement the IBindingListView... That's quite a bit of programming!
br /
br /
br /But life is MUCH easier with ADO.NET!
br /
br / 'ADO.NET (Create a Customer table and add a Name column)
br / Dim table As New DataTable("Customer")
br / table.Columns.Add("Name")
br /
br / 'Add 3 customers to the table
br / table.Rows.Add("La Hacienda Ranch")
br / table.Rows.Add("Chili's Grill Bar")
br / table.Rows.Add("Dickey's BBQ Pit")
br /
br / 'What about Sorting?
br / Dim view As DataView = table.DefaultView
br / view.Sort = "Name ASC"
br /
br / 'What about filtering?
br / view.RowFilter = "Name='La Hacienda Ranch'"
br /
br /
br /Another example is, How do you handle the IDataErrorInfo interface? You have to do a bit of work with OOP, but with ADO.NET... You don't have to do anything, because it's already implemented in a DataTable... Sweet!
br /
br /What about all of the other concerns about data validation? Create a Strongly-Typed DataSet, add a Customers DataTable to it, Double-Click on it to create the ColumnChanging event, and then validate away!
br /
br /
br /Overall, it's a pretty good book. And it's definitely worth reading, even if you don't end up using the OOP concepts presented, because there are quite a few things you can learn that will help you as a developer.
br /
br /In the end, the path to OOP architechture or ADO.NET architecture is up to, but hopefully I've provided you with a few helpful thoughts.
br /
br /
br /Gary Lima
br /aka VBRocks
br /2008 Microsoft Visual Basic MVP
br /VisualBasicRocks.com
br /
Like a finely honed detective thriller I have totally enjoyed this book. So much so that in my leisure I have opted to work through it a second time. Being a .Net programmer and just beginning to leverage the power object programming: I found the book exhilrating.
br /I never knew how she was going to pull together: like replacing hard-coded item for database tables.
br /My only disappointment was that the book ended a little too soon. I would have like to have to have seen somewhat more of a data-entry application.
br /
br /Stephan Onisick; VB/SQL Consultant
|
|
Our vBulletin book picks:
|
|
Find more vBulletin related products of interest.
|