汪玨 龔建偉 柏鵬 賈穎



【摘要】隨著IT應用的推廣和Web 2.0的興起,用戶的個性化應用需求越來越多,如何迅速地滿足用戶大量的開發和維護需求成為軟件開發面臨的一個重要問題。能否讓最終用戶也能開發軟件?選擇中職院校Web信息系統為研究領域,研究最終用戶編程技術,設計了一個面向最終用戶的Web信息領域特定語言VUDSL,并開發了相應的編程工具,讓不具有軟件工程知識的最終用戶能使用可視化編程的方式開發出信息系統。VUDSL目前已在實際中成功試用。
【關鍵詞】最終用戶編程;可視化編程;領域特定語言
An end-user programming language for college information domain
Wang Jue1 ?Gong JianWei1 ?Bai Peng1 ?Jia Ying2
(1.Zhejiang Traffic Technician College,Zhejiang 321015;2.School of Software,Shanghai Jiao Tong University,Shanghai 200240)
Abstract:With the promotion of IT applications and the rise of Web 2.0,mass users'individual requirements continue to emerge.How to quickly meet usersdevelopment and maintenance requirements has been a critical problem of software development.Is it possible for end-users to develop software?This paper chooses college Web information systems as the research field,studies the end-user programming technology,designs an end-user oriented domain-specific language for college Web information system-VUDSL,and develops appropriate programming tools.The tools support end-users without the knowledge of software engineering to develop target information systems by visual programming.VUDSL has been successfully tested in practice.
Key word:End-user programming;Visual Programming;DSL
1.引言
軟件技術發展至今,軟件供不應求的現象依舊很嚴重,如何緩解這一矛盾一直是軟件工程領域面臨的一個重要問題。除了模型驅動開發、代碼自動生成、敏捷開發過程等,最終用戶編程(End-user Programming)可能將是有效解決上述問題的方法之一。最終用戶編程不僅可以利用數量巨大的最終用戶資源,而且可以解決傳統的應用開發方法中IT人員對業務需求理解不足的問題,從而能更加快速高效地開發出滿足實際需要的軟件產品。至今,最終用戶編程在一些商業軟件的應用中得到了普及,比如在文字處理器中錄制宏,電子表格計算和定義電子郵件過濾器等[1]。另外MIT多媒體實驗室和谷歌等也在最終用戶編程領域做了大量研究工作,并取得了一定的研究成果。
Ko、Myers和Aung等人描述了最終用戶在試圖學習和使用編程語言的過程中可能存在六個障礙:設計障礙、選擇障礙、協調障礙、使用障礙、理解障礙和信息障礙[2],最終用戶直接編程是很困難的。……