大道至简——软件工程实践者的思想200411(Aimingoo)AimingooDelphiDelphi200537200511蒋涛2005.11月jiangtao@csdn.net注:关于书的序的讨论,参见附录之一。Delphi110Coder()周爱民2005年10月14日1.编程的精义1.·······················································112.·············································133.=+········································144.··································································165.·············································162.是懒人造就了方法1.·············································182.············203.·········································234.=++··········253.团队缺乏的不只是管理1.····················································292.=?·······································313.ISO·····································334.·········································365.··································386.·············································397.···················428.··································444.流于形式的沟通1.CUML··············482.·······················503.···························································534.·······················575.················································605.失败的过程也是过程1.·············································632.·······························································653.················································654.················································665.··························696.··································716.从编程到工程1.····················································732.··································································753.··································································754.··································································765.··································································786.··································································807.BOSS·································································828.···························································847.现实中的软件工程1.·············································872.·············································923.·········································944.AOP··························································975.MDA························································1008.是思考还是思想1.·································1032.RUP···································1043.UML·······························1054.······················1065.·····························1076.······················································1087.···············································1101“虽我之死,有子存焉;子又生孙,孙又生子;子又有子,子又有孙。子子孙孙,无穷匮也。而山不加增,何苦而不平?”——《愚公移山》,《列子·汤问篇》1.1()IF()2.()1))))3.=+Coding=+Code14.APIAB5.2“道有蜀王兵,亦有神作大滩江中。其崖崭峻不可破,(冰)乃积薪烧之。”——《华阳国志》1.()()()22.HelloWorldGOTOGOTOCPascalEnDelphi1.0BUGBUGDelphi1.064KFansDelphi2.0VBDelphi2.0BUG264k1()3064k21843000Delphi1()3000PageDown/PageUp(Unit)5001PageDownUnit3.TurboPascal3.0UsesUnitANSIPascal2(Procedure)(Unit)CPUCPUCISCRISC1979Patterson80%CISC20%10(IF...THEN...)(JUMP)(CALL/RET)CISCRISC()CISCCISCx86IF...THEN...4.=++OICQSoulSoul()DelphiBBSDelphiBBSBII(OOP)Delphi()2=++Soul2(Unit)(Module)(procedure)CPU(unit)()()(engineering3“言人三为众,虽难尽继,取其功尤高者一人继之,於名为众矣。”——《汉书·高惠高后文功臣表序》颜师古注1.KV100KV2003AV959597·MSS·2.=?3))()()()3.ISOY20013ISOISOISO3Y19992001KISOY4.)))))35.EN()()6.35RRough()(Ruh)R)()())))()3()7.ENCPU(GeraldM.Weinberg))))3()8.(510)(GroupTeam)1997P&J()P&JP&J()P&J3P&JP&JP&J()4“足下求速化之术,不于其人,乃以访愈,是所谓借听于聋,求道于盲。”——唐·韩愈《答陈生书》1.CUMLCCC()CCCRCC()()()En...4()En...(ML)()UMLUMLCLanguageModelingLanguage2.()UML,OOADandRUPUMLUMLUnifiedModelingLanguage())(UserCase))UMLOOADRUPprojectteamUMLUMLUMLUserCaseUML*4()()UMLUMLUMLUMLUML(XP)UMLUMLUML43.D)))D()(XP)D))()mailmail))))4showadialog()()4.()()8414()-14()history()(History)HistoryHistory(History)(Comment)History))()))history4History5.HistoryClearCaseSourceSafeCVSUMLUMLUMLUMLUMLUML45“虚有其表耳。”——《明皇实录》1.605维护定义&实现维护定义&实现5RAD()RUPRADRUP2.AZRUPAZ(RUP)3.5()()RUPRAD4.RADRUPXYZ2002CSDNITVV5·VVV()VV()VWMRUPVWM()RUP5.5()RUPRUPXPRUPRUPR(Rational)U(Unified)P(Process)RationalRUP56.6“得其精而忘其粗,在其内而忘其外;见其所见,不见其所不见,视其所视,而遗其所不视。”——《列子·说符》1.CodingDelphiTPascalDelphiTASMC/C++(CPascal/DelphiC)6Delphi20043Delphi&Delphi.NET50DelphiDelphi.NET5199719982.3.()6IBMGoFMDASOAGoF4.()DOOMQUAKE6UML5.(SoftwareEngineeringArchitecturalLayers)2001WORD20()6()6.()()))6))shareware512M2G())))7.BOSSBOSS)))BOSSBOSSBOSSBOOOOSS6BOSS()BOSS8.()()=+()(OOA)(OOD)(OOP)()(IDE))::67“王不如远交而近攻,得寸,则王之寸;得尺,亦王之尺也。”——《战国策.秦策》1.RationalIBMIBMRationalIBMIBMRationalIBMRationalUMLRUPIBM7IBMJAVAMicrosoftIBMJAVAIBMIBMIBMIBMBorlandBorlandBorland(CJavaDelphi)BorlandBorlandUMLBorlandIBM/RationalMircosoftBorlandALM(ApplicationLifecycleManagement)Borland()ALMBorlandALMBorlandALMTeraQuestTogetherSoftBorlandALMIBMRUPUMLIBMBorlandEclipseUMLBorlandUMLEclipseBorland7BorlandKylixLinuxC++BuilderC#BuilderCBXDelphiWin32.NETJBuilderSUNBorland()BorlandBorlandMicrosoftBorlandBorlandSUNIBMLinuxBorlandIBMMicrosoftMicrosoftIBMBorlandMicrosoft.NETFrameworkMicrosoftUMLCLR+