Four Tenets of OOP
- Abstraction
- Encapsulation
- Inheritance
- Polymorphism
Assume you have to model Prakash, Sendhil and Manu for a payroll processing system. Prakash, Sendhil and Manu can be modeled as objects. These can be classified under the Employee class. This Employee class is an abstraction representing the real world entities Prakash, Manu and Sendhil in the context of a Payroll processing system. Their basic pay, joining date, bonus pay, incentive, hours worked or each of the months will be attributes of the Employee class.
Blogmark: Roadmap to high performance XML
Applying Design Patterns
Nice case study, A must read if you are applying design patterns
http://junit.sourceforge.net/doc/cookstour/cookstour.htm
Powered by Qumana
ASP.NET 2.0 VirtualPathProviders
One cool thing in ASP.NET 2.0 is the concept of VirtualPathProviders. You need not have to serve your pages from a filesystem always. For example you can serve your pages from the database. The VirtualPathProvider supports CacheDependency based invalidation of your content. One quirk though is what if your web server is on a DMZ and cannot access the database? I wrote a provider for such a scenario. I wrote a WebServiceVirtualPathProvider. So far so elegant. But to provide invalidation you have to write some kludge code which I don’t like. Has someone faced a scenario like this?
Powered by Qumana
Blah.Blah.Blog: How redundant is your manager?
Nice entry from a thoughtworker.
Good SQL Links
Software Factories / Guidance Packages from Microsoft
Testing 123 from Qumana
Test Post
Powered by Qumana
Web Services and Financial Services industry (Trading)
I was having a discussion with Manu the other day usage of services in the real-time trading systems. I decided to google for some information regading this. This post is a book(blog)mark of all the results for reference. This is what I understood after glancing through these stuff. Trading involves mutiple parties and hence multiple systems. The use cases for web services is integration. Either Technology Integration / Application Integration. Even if we are not there today with respect to performance, Eventually Web Services will get into this domain primarily because of the Integration involved in the life of a Trade.
A Web Services Architecture for Straight Through Processing (STP):
http://www.edgewater.com/NR/rdonlyres/3E74677C-65E5-449F-A58D-8211ACEC0168/0/EdgewaterTechnologyWebServices_STPWhite Paper.pdf – compares the existing architecture with an Web Service based proposed solution.
Evaluating SOAP for High Performance Business Applications: Real-Time Trading Systems:
http://www2003.org/cdrom/papers/alternate/P872/p872-kohlhoff.html -compares the performance of your traditional Fix based solutions with Web Services. Still Web Services have a long way to go in terms of performance 😉
A B2B Architecture for accessing real-time Financial Trade Data
http://www.financeit.unsw.edu.au/docs/SidsThesisReport.pdf
A Case Study in Developing Web Services for Capital Markets
http://citeseer.ist.psu.edu/706996.html
Performance Issues in Integrating a Capital Market Surveillance System using Web Services
http://citeseer.ist.psu.edu/dabous03performance.html
Using Software Architectures and Design Patterns for Developing Distributed Applications
http://citeseer.ist.psu.edu/705822.html
Using straight-through processing to successfully ride the equity derivatives wave
http://www-03.ibm.com/industries/financialservices/doc/content/resource/thought/1618642103.html
Collections in .NET
- Array
Predefined size, used for passing data around.
- ArrayList
Easy to work with, provides basic collection functionality and can easily be converted to an Array.
- CollectionBase
Abstract base for building your own collection classes.
Weakly typed
- Hashtable
Provides high performance access to items in the key-value pair collection, by a specific key.
- DictionaryBase
Abstract base for building your own collection classes using a key-value pair.
- Queue
Implements the FIFO mechanism.
- Stack
Implements the LIFO mechanism.
- SortedList
Provides access to items in the collection by a specific key or an index.
More info can be read here. A simple, to the point article. If I have some time I’ll update it for 2.0 considering Generics in the equation.