design

Creating an online catalogue using Drupal, what are the best modules/techniques?

I have a large collection of retro games consoles and computers, I want to create some sort of catalogue to keep track of them using Drupal. I could do it as a series of pages in Drupal, but would rather have some sort of more structured method. It'd be great if I could somehow define a record consisting of certain fields (manufacturer,...

Can someone provide a practical example of how they have used attributes on method parameters in .Net?

I know it's possible, and I've seen simple examples in the docs, but I was wondering if anyone on here has actually used them. I use attributes at the class and method level all the time, but have never used them on method parameters. Have any of you guys? If so, what was your reason and can we see the example? I'm not interested in see...

Is MVC-ARS preferable to classic MVC to prevent overloading?

The popular design pattern MVC (Model/View/Controller) has an extended cousin MVC-ARS (Action/Representation/State). The added components all live within the database layer and while are not part of the model, they are invoked by it. Details are as follows: State, as in state machine. This follows the classic state machine pattern. ...

Has anyone read Robert Martin's last Book, "Clean Code"?

Has anyone read Uncle Bob's last book Clean code? UPDATE: Is it similar to Martin Fowler's "Refactoring"? ...

Alternatives to the MVC

What are the alternative "design methods" to the Model View Controller? MVC seems to be popular (SO was built with it, I know that much) but is it the only method used? ...

Is it OK to have an 'empty' class that extends another class?

Let's say I have one class Foo that has a bunch of logic in it and another class Bar which is essentially the same. However, as Foo and Bar are different (but related) entities I need the difference to be apparent from my code (i.e. I can tell whether an instance is a Foo or a Bar) As I was whacking this together without much thought I ...

Window styles / Minimal titlebar/borders

I'm looking for some kind of a resource (website) that would list all possible window/dialog frame styles and their respective combinations with images. I'm only really interested in Vista, as my software won't support older platforms anyway. I have a more specific case here too: I'm wondering if there are other ways to achieve a smalle...

Refresh Oldschool GUI Design

I'm building Desktop Software for over 10 years now, mostly it's simple Data-Input Software. My problem is, it's always looking the same: A Treeview on the Left and a lot of Text/Data Fields to the right, depending on the type of data currently is worked on. Are there any fresh ideas how such software nowadays should look like? For furt...

StringCollection or an Object container?

I recently built an API and was often asked to replace the StringCollections i was returning by objects containing a single property, The reason being that it was easier to bind with a listview or other controls in ASP.Net. Since the API was used by the web application, the Web service and the dataloader I decided on keeping the StringC...

Which you think is the best class design tool for .net?

Do you use visual studio's class diagram generator? Or, do you suggest any other better tool? The main features I'm expecting out of such a tool are: Ability to generate C#/VB.net code skeletons Ability to reverse engineer C#/VB.net code (Ability to update class diagram if I modified my source code) Integration with Visual Studio, if ...

Ideal number of classes per namespace branch

What number of classes do you think is ideal per one namespace "branch"? At which point would one decide to break one namespace into multiple ones? Let's not discuss the logical grouping of classes (assume they are logically grouped properly), I am, at this point, focused on the maintainable vs. not maintainable number of classes. ...

coordination between Design and Development

Background: I am developing a site in Asp.net 2.0 . Up until now i was handling both the design and development of the site. I used css for the design part. Now the company wants to outsource the design work to a web designer. Question: How exactly are a designer and developer supposed to coordinate What specifications should i give...

Floating a New Programming Language

How does a new programming language get established? How could I design one and be famous? What steps would I need to take to get it 'Out There'? ...

What is the opposite of 'parse'?

I have a function, parseQuery, that parses a SQL query into an abstract representation of that query. I'm about to write a function that takes an abstract representation of a query and returns a SQL query string. What should I call the second function? ...

Best strategy to implement stackoverflow style badges system in asp.net mvc

I was wondering what would be the best strategy to implement a badges system using asp.net mvc. The one that stackoverflow has is pretty interesting. What do you suggest? I guess I need to clarify the question a bit. The problem would be the different criteria for earning every badges. How do make that logic extensible? ...

Open source Analysis & Design tools

When you move from analysis of the requirements through design, you go through a decomposition/workflow/dataflow/composition/etc process. I need tools to facilitate this process. The result of analysis & design would be an implementation design which I can happily document using UML. I cannot use UML for analysis & design: it is a...

If you don't design in UML, then what do you design in?

I was taught to draw diagrams in UML to see the interactions between classes, objects, and participants/the system and so on. However, I've seen several answers here stating the UML is a documentation tool and not a design tool. How do you depict designs graphically if you don't use UML? ...

How to wire a middle tier of Objects to a data tier consisting of a DataSet?

Howdy, I have a middle tier containing several related objects and a data tier that is using a DataSet with several DataTables and relationships. I want to call a Save method on one of my objects (a parent object) and have its private variable data transformed into a DataRow and added to a DataTable. Some of the private variable data ...

Developing for different platforms individually, does anyone recommend it?

I know it is easy to recommend several cross platform libraries. However, are there benefits to treating each platform individually for your product? Yes there will be some base libraries used in all platforms, but UI and some other things would be different on each platform. I have no restriction that the product must be 100% alike...

How to handle functions deprecation in library?

I'm working on a Java library and would like to remove some functions from it. My reasons for this is public API and design cleanup. Some objects have setters, but should be immutable, some functionality has been implemented better/cleaner in different methods, etc. I have marked these methods 'deprecated', and would like to remove them...