Using Code Generators when Creating Ready-Made Templates for Application Development

2020 ◽  
Vol 3 (1) ◽  
Author(s):  
Daniel Damyanov ◽  
◽  
◽  

Code generation is basically about writing programs that write programs. Given today’s complex code-intensive frameworks, such as Java 2 Enterprise Edition (J2EE), Microsoft’s. NET and Microsoft Foundation Classes (MFC), it is becoming increasingly important that we use our skills to create programs which aid us in developing our applications. Generally speaking, the more complex the framework is, the more appealing you will find a code generation solution. Many object-oriented programming (OOP) languages lack reusability and flexibility, and require a similar code to be written repeatedly. This paper reviews the code generators that are most useful for implementation in applications for automatic code generations, their pros and cons, where they are most widely used nowadays, as well as their versatility. In Visual Studio we use the term “scaffolding” when we want to generate identities automatically. When we start a new ASP.NET project, it genrates a template where we start from.

Model-Driven Development (MDD) tools for Rich Internet Applications (RIAs) development are focused on software modeling, and they leave automatic code generation in a second term. On the other hand, Rapid Application Development (RAD) tools for RIAs development enable developers to save development time and effort by leveraging reusable software components. AlexandRIA is a RAD tool that allows developers to automatically generate both source and native code of multi-device RIAs from a set of preferences selected throughout a wizard following the phases of a User Interface (UI) pattern-based code generation approach for multi-device RIAs. In this chapter, the use of the UI design process behind AlexandRIA is demonstrated by means of a sample development scenario addressing the development of a cloud services Application Programming Interfaces (APIs)-based cross-platform mobile RIA. This scenario is further revisited in a case study that addresses the automatic generation of an equivalent application using AlexandRIA.


2009 ◽  
Vol 19 (1) ◽  
pp. 51-60
Author(s):  
Sergio Ledesma ◽  
Gustavo Cerda-Villafana ◽  
Donato Hernández Fusilier ◽  
Miguel Torres Cisneros

The Multiple Document Interface (MDI) is a Microsoft Windows specification that allows managing multiple documents using a single graphic interface application. An MDI application allows opening several documents simultaneously. Only one document is active at a particular time. MDI applications can be deployed using Win32 or Microsoft Foundation Classes (MFC). Programs developed using Win32 are faster than those using MFC. However, Win32applications are difficult to implement and prone to errors. It should be mentioned that, learning how to properly use MFC to deploy MDI applications is not simple, and performance is typically worse than that of Win32 applications. A method to simplify the development of MDI applications using Object-Oriented Programming (OOP) is proposed. Subsequently, it is shown that this method generates compact code that is easier to read and maintain than other methods (i.e., MFC). Finally, it is demonstrated that the proposed method allowsthe rapid development of MDI applications without sacrificing application performance.


2021 ◽  
Author(s):  
Nehul Singh ◽  
Satyendra Chouhan ◽  
Karan Verma

This article reviews and discusses emerging applications of object-oriented programming languages. A history in brief on development of object-oriented analysis and methods eventually leading for important soft programming techniques are discussed. Emphasis mainly is given to discuss and differentiate popular object-oriented programming languages such as; C++, Python and Java. The pros and cons of these programming languages are also highlighted in view of their futuristic developments and possible application areas.


2020 ◽  
Vol 3 (4) ◽  
pp. 252
Author(s):  
Yulisman Yulisman ◽  
Refni Wahyuni ◽  
Yuda Irawan

Archiving incoming and outgoing mail is very important in an organization, especially for institutions such as SMP Negeri 32 Pekanbaru. The filing of letters at SMP Negeri 32 Pekanbaru is still done by writing incoming and outgoing letters on the agenda book and storing letters in filing cabinets, making it difficult to find old letter archives and often losing letters. The purpose of this research is to find the right solution so that the archiving of incoming and outgoing mail at SMP Negeri 32 Pekanbaru is more effective and efficient by making an application for archiving incoming and outgoing mail. The method used in this research is the system development model method, namely the Waterfall Model. The application design and analysis model uses the UML (Unified Modeling Language) model which is an object-oriented language or OOP (Object Oriented Programming). Application development and development uses a static programming language, namely PHP (Hypertext Pre-processor) and MySQL as application database. The results of the research on the making of incoming and outgoing mail archiving applications are very helpful and easier for SMP Negeri 32 Pekanbaru in filing incoming and outgoing mail, especially the Administration (School Administration) section because letter archiving is already stored in the database. The conclusion is that the application is very easy and helpful in archiving incoming mail and this letter is evident from the user's assessment of the application with a value of 92% more effective and efficient.


2013 ◽  
Vol 14 (1) ◽  
pp. 9-18 ◽  
Author(s):  
Andrejs Bajovs ◽  
Oksana Nikiforova ◽  
Janis Sejans

Abstract The paper draws attention to the problem of code generation under advanced software development. In their previous publications the authors already discussed several issues associated with the inconsistency between the generated software components and those expected in respect with the rules for object-oriented programming. The current research is an effort to systematize the information about code generation methods and techniques applied in the task of code generation and to try to answer the question of what is the reason for code generation failing to work correctly.


2015 ◽  
Vol 22 (2) ◽  
pp. 31 ◽  
Author(s):  
Abilio Parada ◽  
Milena Marques ◽  
Lisane B. de Brisolara

This paper proposes a MDD approach for mobile application development, which includes modeling and code generation strategies for An- droid and Windows Phone. UML class and sequence diagrams are employed for modeling mobile applications and code is generated from this model. To support the automatic code generation, GenCode was re-structured and ex- tended to meet the particularities of these two platforms. As result, GenCode’s current version is able to automatically generate Java-Android and C# codes, according to the specified application model and target platform. Finally, case studies are used to demonstrate the proposed approach, as well as to validate the code generation tool.


Sign in / Sign up

Export Citation Format

Share Document