Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

uml - Reverse Engineering C++ code using "Enterprise Architect" -


it again sort of "how properly" question. sorry if annoyed.

i've got understand ca 150 tlocs of c/c++ mixture. i've imported code in uml-tool "enterprise architect" , got messy chart. many structs , enums had anonymous names because of c-ish constructs: typedef struct/enum {...} mytype;

in second run i've converted c++ form: struct/enum mytype{...}; got bunch of unrelated structs. unfortunately, enterprise architect doesn't resolve typedefs. e.g. no relations between a, b , c recognized:

struct a; struct b; typedef *ptra; typedef list<b> blist; struct c{ ptra pa; blist lb; }; 

thanks throughout naming convention, able replace typedefs original type this:

struct c{ pa; b lb; }; 

now importing source-code in "enterprise architect" gave nice diagram relations. of cause, code doesn't compile, , not same. changes in code require annoying conversion making "pseudo" code understandable ea again. therefore questions:

  1. is there possibility teach ea recognizing original types?
  2. do other uml-tools recognize types (and create relations between them) more robust?

thank advice! valentin heinitz

i have enterprise architect, , invariably doing attempting on large code body use doxygen instead. generates both class , call graphs. use graphviz , "uml-style" class diagrams, , have reasonably code navigation , comprehension tool, flexible configuration add or exclude detail necessary.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -