标签 Blog 下的文章

Dominoo项目日记(一)

国庆节前夕见到了Darwin_yuan,他给我们带来了Dominoo。

Dominoo是什么?

在Darwin_yuan的blog中是这样描述的:Dominoo means "Design Of Model IN Object-Oriented.",从字面的意思来理解Dominoo就是“用面向对象的方法进行模型设计”。

Dominoo的主要意图是什么?

Dominoo的提出的大背景是UMLMDA(Model Driven Architecture)[1]等概念和方法论的提出和飞速发展。Dominoo的最直接意图就是由软件的设计模型直接产生可执行代码,也就是说Dominoo将传统的“需求”–〉“设计”–〉“编码”–〉“测试”的软件开发过程链缩短了,变成了“需求”–〉“设计”–〉“测试”。这将把开发人员从繁重的编码中解脱出来而专著于软件系统的模型设计,从而大大提高了软件开发人员的劳动生产率。

注1:什么是MDA呢?简而言之,就是一个围绕支持模型驱动开发过程的一系列标准的框架,这些标准包括:统一建模语言UML(Unified Modeling Language)、元对象机制MOF(Meta Object Facility)、XML元数据交换XMI(XML Metadata Interchange)、公共数据仓库元模型CWM(Common Warehouse Metamodel)等。MDA的三个主要目标是:通过架构性的分离来实现轻便性、互操作性和可重用性。

本不是第一篇的第一篇

刚入司时,给我们做技术培训的老员工强烈向我们推荐blog这个新兴(起码对我来说是新的^_^)的咚咚,当时也想写就申请了一个,可是不知一天都忙些什么了,到今天才写了这第一篇,要说今天为什么要写,两个字“心烦”,本来我的第一篇blog在我的头脑中早已构思多次了,内容也换了多次,可是都没能实现,这篇blog是在丝毫没想的前提下动手写的。我觉得这样也不错,现在我的感觉就是想写就写,不用考虑太多,呵呵。

今天我入司以来的第一个项目编码结束,上午代码评审,我的leader给我找出“一堆”问题。真是郁闷啊,原以为自己的水平可以了,原来还是有很多要学习的。以前在Windows平台上开发,早已有自己的规范或者说习惯。现在转移到Solaris上开发,有些东东还真得好好学习一下,比如C语言代码头文件和源文件的格式。下面的例子是从各个代码规范中提取出来的一部分,也是我以后在项目中要使用的形式,有可能只适合我,呵呵。

本不是第一篇的第一篇,我就写这么多了。

附代码规范示例:

/* in ANSI_C_CODING_STANDARDS.h */

/*
 * Copyright 2005, XX, Inc., China
 * All rights reserved. 
 *
 * XX's source code is an unpublished work and the use of a copyright notice does 
 * not imply otherwise. This source code contains confidential, trade secret material of 
 * XX, Inc. Any attempt or participation in deciphering, decoding, reverse engineering
 * or in any way altering the source code is strictly prohibited, unless the prior written 
 * consent of XX, Inc. is obtained.
 */
 
/*
 * @file ANSI_C_CODING_STANDARDS.h
 * @author tony_bai
 * @date 2005-07-01
 * @brief the template for ANSI C
 *        header file
 */
 
/* 
 * @revision
 *   @version 0.1
 *   @date 2005-08-01
 *   @Revisor tony_bai
 *   
 * @revision
 *   @version 0.2
 *   @date 2005-09-01
 *   @Revisor tony_bai
 */
 
/*
 * @glossary
 *   xx – xxxxx
 *   xx – xxxxx
 */
 
/*
 * @usage
 *
 */
 
#ifndef ANSI_C_CODING_STANDARDS_H
#define ANSI_C_CODING_STANDARDS_H
 
#include ANSI C Standard Library Header File
#include Operating System Library Header File
#include "Your System Library Header File"
 
/*
 * ####################
 * # global constants #
 * ####################
 */
 
/*
 * #################
 * # global macros #
 * #################
 */
 
/*
 * ##############################
 * # global abstract data types #
 * ##############################
 */
 
/*
 * ####################
 * # global variables #
 * ####################
 */
 
/*
 * #############
 * # externals #
 * #############
 */
 
/*
 * ###############################
 * # global functions prototypes #
 * ###############################
 */
 
#endif ANSI_C_CODING_STANDARDS_H 
 
/* in ANSI_C_CODING_STANDARDS.c */
/*
 * Copyright 2005, XX, Inc., China
 * All rights reserved. 
 *
 * XX's source code is an unpublished work and the use of a copyright notice does 
 * not imply otherwise. This source code contains confidential, trade secret material of 
 * XX, Inc. Any attempt or participation in deciphering, decoding, reverse engineering
 * or in any way altering the source code is strictly prohibited, unless the prior written 
 * consent of XX, Inc. is obtained.
 */
 
/*
 * @file ANSI_C_CODING_STANDARDS.c
 * @author tony_bai
 * @date 2005-07-01
 * @brief the template for ANSI C
 *        source file
 */
 
/* 
 * @revision
 *   @version 0.1
 *   @date 2005-08-01
 *   @Revisor tony_bai
 *   
 * @revision
 *   @version 0.2
 *   @date 2005-09-01
 *   @Revisor tony_bai
 */
 
#include ANSI C Standard Library Header File
#include Operating System Library Header File
#include "Your System Library Header File"
 
/*
 * ###################
 * # local constants #
 * ###################
 */
 
/*
 * ################
 * # local macros #
 * ################
 */
 
/*
 * #############################
 * # local abstract data types #
 * #############################
 */
 
/*
 * ###################
 * # local variables #
 * ###################
 */
 
/*
 * ##############################
 * # local functions prototypes #
 * ##############################
 */
 
/*
 * ####################################
 * # global functions implementations #
 * ####################################
 */
 
/*
 * ###################################
 * # local functions implementations #
 * ###################################
 */
如发现本站页面被黑,比如:挂载广告、挖矿等恶意代码,请朋友们及时联系我。十分感谢! Go语言第一课 Go语言进阶课 Go语言精进之路1 Go语言精进之路2 Go语言第一课 Go语言编程指南
商务合作请联系bigwhite.cn AT aliyun.com

欢迎使用邮件订阅我的博客

输入邮箱订阅本站,只要有新文章发布,就会第一时间发送邮件通知你哦!

这里是 Tony Bai的个人Blog,欢迎访问、订阅和留言! 订阅Feed请点击上面图片

如果您觉得这里的文章对您有帮助,请扫描上方二维码进行捐赠 ,加油后的Tony Bai将会为您呈现更多精彩的文章,谢谢!

如果您希望通过微信捐赠,请用微信客户端扫描下方赞赏码:

如果您希望通过比特币或以太币捐赠,可以扫描下方二维码:

比特币:

以太币:

如果您喜欢通过微信浏览本站内容,可以扫描下方二维码,订阅本站官方微信订阅号“iamtonybai”;点击二维码,可直达本人官方微博主页^_^:
本站Powered by Digital Ocean VPS。
选择Digital Ocean VPS主机,即可获得10美元现金充值,可 免费使用两个月哟! 著名主机提供商Linode 10$优惠码:linode10,在 这里注册即可免费获 得。阿里云推荐码: 1WFZ0V立享9折!


View Tony Bai's profile on LinkedIn
DigitalOcean Referral Badge

文章

评论

  • 正在加载...

分类

标签

归档



View My Stats