LINQ makes code easier to write and maintain by abstracting the data source. It provides a uniform way to handle widely diverse data structures within an application. LINQ’s Lambda syntax is clever enough even to allow you to create generic building blocks with hooks into which you can inject arbitrary functions. Michael Sorens explains, and…
LINQ makes code easier to write and maintain by abstracting the data source. It provides a uniform way to handle widely diverse data structures within an application. LINQ’s Lambda syntax is clever enough to even allow you to create generic building blocks with hooks, into which you can inject arbitrary functions. Michael Sorens explains,…
Use case background
I have been asked on a number of occasions if our selectOneChoice
component could allow random text to be entered, as well as having a
list of selections available. Unfortunately, the selectOneChoice
component only allows entry via the dropdown selection list and doesn't
allow text entry. I was thinking of…
I have a windows desktop application with a tree view. Due to lack of a sound data-binding solution for a tree view, I've implemented my own layer of abstraction on it to bind nodes to my own data structure.
The requirements are as follows:
Populate a tree view with nodes that resemble fields in a data structure.
When a node is…
Wow, I’m still alive! I installed the RTM of Windows 8 when it became available, and in the last few days have started taking a look at writing a windows 8 app using HTML/JS, which in and of itself is a weird thing. I don’t think that windows developers of 10 years ago would’ve thought something like this would have ever come…
Over the years of using C#/.NET for a bunch of in-house projects, we've had one library grow organically into one huge wad of stuff. It's called "Util", and I'm sure many of you have seen one of these beasts in your careers.
Many parts of this library are very much standalone, and could be split up into separate projects…
I'm currently evaluating alternatives to refactor a drivermanagement.
In my multitier architecture I have
Baseclass
DAL.Device //my entity
Interfaces
BL.IDriver //handles the dataprocessing between application and device
BL.IDriverCreator //creates an IDriver from a Device
BL.IDriverFactory //handles the driver…
Have you ever been challenged with the situation where your work task asks you to implement functionality in the WebCenter Portal and you browse through the Resource Catalog (Business Dictionary) and find the functionality you need. However when you get started there is small short comings and you ask your self- how can…
I'm making a game that uses an Entity/Component architecture basically a port of Artemis's framework to c++,the problem arises when I try to make a PlayerControllerComponent, my original idea was this.
class PlayerControllerComponent: Component {
public:
virtual void update() = 0;
};
class…
A .NET software component is a compiled set of classes that provide a programmable interface that is used by consumer applications for a service. As a component is no more than a logical grouping of classes, what then is the best way to define the boundaries of a component within the .NET…
Keyword development is the foundation of any online business or organization that strives to establish and maintain a reasonably high internet presence. Quite literally the only way to be found onlin... [Author: TJ Philpott - Web Design and Development - May 25, 2010]
By Adding multiple Panels into a Panel or Dialog, Will it become heavy weight ?.
Is there any way to avoid it to make complex views in single panel ?
I'm making a java Swing application, there has many controls, I'm placing multiple panel in a single panel and place that panel as the…
What stumps most online entrepreneurs is how to figure out what keywords are the most important for their online business? Of course, most of the time business owners can figure out a handful of good keywords. It's not that hard when you have the right tools in place to help you choose…
apt-get is really great. However, when you want to install an application, you often are forced to install a lot of dependencies which I believe are very often optional.
For example, I want to install okular and I'm ask to install 97 packages / 233MB ! That is a lot. I particularly…
My question continues on topic discussed here
I have tried implementing attribute/behavior design
and here is a quick example demonstrating the issue.
class HealthAttribute : public ActorAttribute
{
public:
HealthAttribute( float val ) : mValue( val ) { }
float Get( void )…
I'm building an application in PHP, using Zend Framework 1 and Doctrine2 as the ORM layer. All is going well. Now, I happened to notice that both ZF1 and Doctrine2 come with, and rely on, their own caching implementation. I've evaluated both, and while each has its own pro's and…
Background
I have been developing a web application. I have been using Joomla platform and CMS as the base from my application. My application relies heavily on the joomla platform, but uses very few features of the CMS (I have to login users etc so I use the _users component…