Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

My problem is simple : when I'm programming in an OO paradigm, I'm often having part of a main business process divided in many classes. Which means, if I want to examine the whole functional chain that leads to the output, for debugging or for optimization research, it can be a bit painful.

So I was wondering : is there an IDE that let you put a "process tag" on functions coming from different objects, and give you a view of all those functions having the same tag ?

edit : To give an example (that I'm making up completely, sorry if it doesn't sound very realistic).

Let's say we have the following business process for a HR application : receive a holiday-request by an employee, check the validity of the request, then give an alert to his boss ("one of those lazy programmer wants another day off"); at the same time, let's say the boss will want to have a table of all employee's timetable during the time the employee wants his vacations; then handle the answer of the boss, send a nice little mail to the employee ("No way, lazy bones").

Even if we get rid of everything not purely business-related (mail sending process, db handling to get the useful info, GUI functionalities, and so on), we still have something that doesn't really fit in "one class". I'd like to have an IDE that would give me the opportunity to embrace quickly, at the very least :

  • The function handling the validation of the request by the employee;
  • The function preparing the "timetable" for the boss;
  • The function handling the validation of the request by the boss;

I wouldn't put all those functions in the same class (but perhaps that's my mistake ?). This is where my dreamed IDE could be helpful.

share|improve this question
    
Are you looking for an IDE that will generate a call graph? –  Frank Shearar Mar 3 '11 at 8:53
    
Not exactly : I'd like all my process-related functions to be on a same synoptic page (withtout, of course, being in the same files). –  Raveline Mar 3 '11 at 8:56
1  
Oh, you mean tag a bunch of methods so you can view them together? –  Frank Shearar Mar 3 '11 at 10:08
    
Exactly ! A way of organizing this in the order of their call will be a plus, but already a simple tagging option would be great. –  Raveline Mar 3 '11 at 10:09
1  
@S.Lott: Off the top of my head, "what are all the methods involved in rendering a Foo?" Hey presto: some methods in your database access layer, your view class, your model class, ... –  Frank Shearar Mar 3 '11 at 12:52

3 Answers 3

If you are using the Microsoft toolset, look into Windows Workflow. It has some graphical designers and some pretty powerful features for the sort of process you are describing. I've used it in connection with Sharepoint, but you can incorporate workflow into any app.

share|improve this answer

I primarily do Java and the only thing I've heard that sounds similar to what you want is Mylyn

"Mylyn makes tasks a first class part of the IDE, integrates rich and offline editing for ALM tools, and monitors your programming activity to create a "task context" that focuses your workspace and automatically links all relevant artifacts to the task-at-hand."

You need to be developing using Eclipse IDE for this to be of use.

share|improve this answer
    
Not quite what I'm looking for, but it seems quite interesting, thanks ! –  Raveline Mar 3 '11 at 15:20

Looks like you need a graphical DSL, from which you'd generate your code. Take a look at the Microsoft DSL Tools.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.