DocumentCode
633014
Title
Generation technique for Django MVC web framework using the stratego transformation language
Author
Annenkov, D.V. ; Cherkashin, E.A.
Author_Institution
Nat. Res. Irkutsk State Tech. Univ., Irkutsk, Russia
fYear
2013
fDate
20-24 May 2013
Firstpage
1084
Lastpage
1087
Abstract
Domain Specific Languages (DSL) allows one to raise level of abstraction, improve development productivity, and establish an equitable communication between domain experts and developers. Language-oriented programming (LOP) is a new paradigm based on DSL construction, allowing separating domain-specific and technology-specific aspects of a system under development. LOP shares some ideas with model-driven architecture and model-driven development. Spoofax language workbench is used as a primary tool for DSL design, and based on Stratego, a transformation language with programmable rewriting strategies, and Syntax Definition Formalism as language for grammar definition. As an example of DSL a simple textual language for domain modeling is considered. Rewriting rules and strategies are used as an uniform approach to generate, validate DSL code, and make arbitrary abstract syntax tree transformations. Rules for code generation implemented using so called “string interpolation” technique. Source DSL code translated to python code that can be deployed within Django web framework resulting to a web-application with create/update/delete functionality on a corresponding database. Developed DSL is an example of “definition by transformation“ approach. To get real benefits from DSL we need to add more domain specific features in DSL.
Keywords
Internet; computational linguistics; interpolation; object-oriented languages; DSL; DSL code; Django MVC Web framework; Django Web framework; LOP; Spoofax language workbench; Stratego transformation language; code generation; domain specific aspects; domain specific languages; driven architecture model; driven development model; generation technique; grammar definition; language oriented programming; programmable rewriting strategies; rewriting rules; rewriting strategies; string interpolation technique; syntax definition formalism; syntax tree transformations; textual language;
fLanguage
English
Publisher
ieee
Conference_Titel
Information & Communication Technology Electronics & Microelectronics (MIPRO), 2013 36th International Convention on
Conference_Location
Opatija
Print_ISBN
978-953-233-076-2
Type
conf
Filename
6596418
Link To Document