AUTO GENERATION OF CODE AND TABLE TOOL

Similar documents
Batch Inherence of Map Reduce Framework

A Survey on k-means Clustering Algorithm Using Different Ranking Methods in Data Mining

Different QoS Based TORA Reactive Routing Protocol using OPNET 14.5

Enhancing the Efficiency of Radix Sort by Using Clustering Mechanism

Ontology for Exploring Knowledge in C++ Language

CONSISTENCY MODELS IN DISTRIBUTED SHARED MEMORY SYSTEMS

Finger Print Enhancement Using Minutiae Based Algorithm

MAIL MERGE DIRECTORY USE THE MAIL MERGE WIZARD

Manual Trigger Sql Server 2008 Update Inserted Or Deleted

Design and Implementation of Search Engine Using Vector Space Model for Personalized Search

A Supervised Method for Multi-keyword Web Crawling on Web Forums

Imagine you ve written a piece of code but then accidentally deleted and lost it.

A WEB BASED QUALITY FUNCTION INFORMATION MANAGEMENT, 1,2

1 Version management tools as a basis for integrating Product Derivation and Software Product Families

Constructing an University Scientific Research Management Information System of NET Platform Jianhua Xie 1, a, Jian-hua Xiao 2, b

DESIGN AND IMPLEMENTATION OF TOOL FOR CONVERTING A RELATIONAL DATABASE INTO AN XML DOCUMENT: A REVIEW

An Overview of various methodologies used in Data set Preparation for Data mining Analysis

The Edge Domination in Prime Square Dominating Graphs

Towards the integration of security patterns in UML Component-based Applications

A Comparative Study of Various Computing Environments-Cluster, Grid and Cloud

Copy Table From One Database To Another Sql

V. Thulasinath M.Tech, CSE Department, JNTU College of Engineering Anantapur, Andhra Pradesh, India

Manual Trigger Sql Server 2008 Insert Update Delete

Handwriting Recognition of Diverse Languages

An UML-XML-RDB Model Mapping Solution for Facilitating Information Standardization and Sharing in Construction Industry

ST. JOHN FISHER COLLEGE

Alumni Tracking System

Enterprise Architect. User Guide Series. Maintenance

Collaborative Framework for Testing Web Application Vulnerabilities Using STOWS

Periodic LSA Broadcasting for Monitoring Resource Availability and Sharing in a Network of Hosts

Improvement of Web Search Results using Genetic Algorithm on Word Sense Disambiguation

Development of Online Banking System with High Level of Security using ASP.NET Technology and Microsoft SQL

Two Traditions of Metadata Development

AES and DES Using Secure and Dynamic Data Storage in Cloud

Automatized Generating of GUIs for Domain-Specific Languages

All India Council For Technical Skill Development (AICTSD) In Association with IITians Embedded Technosolution

A Weighted Layered Approach for Code Clone Detection

CLOUD COMPUTING: SEARCH ENGINE IN AGRICULTURE

Implementation of Privacy Mechanism using Curve Fitting Method for Data Publishing in Health Care Domain

A Proposed Cipher Technique with a Study of Existing Cryptography Techniques

SYLLABUS PLUS 2007 Timetabling/Room Booking Manual

Cued Click Point Technique for Graphical Password Authentication

Manual Trigger Sql Server 2008 Update Insert Or Delete

.NET & Web Services. Mike Lockyer, Gary Griffiths, Briony Oates, Barry Hebbron School of Computing. University of Teesside

International Journal of Advanced Research in Computer Science and Software Engineering

CPEG 852 Advanced Topics in Computing Systems The Dataflow Model of Computation

Programming Shell Scripts by Demonstration

PACKET HANDLING SCHEDULING IN MULTIPLE ROUTING CONFIGURATIONS FOR FAST IP NETWORK RECOVERY

Navigating Large Hierarchical Space Using Invisible Links

Advanced Spam Detection Methodology by the Neural Network Classifier

Data Store and Multi-Keyword Search on Encrypted Cloud Data

Correlation Based Feature Selection with Irrelevant Feature Removal

Site Activity. Help Documentation

Improving Adaptive Hypermedia by Adding Semantics

A Latex Template for Independent Work Reports Version 2016v3

A Review on Various Interactive CAPTCHA Techniques Concerning Web Security

Council for Innovative Research

A Proposed Method in Agile Practices to Create Requirements Documentation and Test Cases

SERG. Sort-based Refactoring of Crosscutting Concerns to Aspects

Design and Implementation of File Sharing Server

INTERNATIONAL JOURNAL OF RESEARCH IN COMPUTER APPLICATIONS AND ROBOTICS ISSN EFFECTIVE KEYWORD SEARCH OF FUZZY TYPE IN XML

Inverted Index for Fast Nearest Neighbour

CANDIDATE SKILL ANALYSER

A Comparative Study of Selected Classification Algorithms of Data Mining

Inheritance Metrics: What do they Measure?

Java. Murphy-Hill[1] Eclipse 90% 90% Fowler. Eclipse *2 Visual Studio *3 [2] Eclipse. Eclipse 26. Java. Eclipse

Rubrics. Creating a Rubric

Impact of Pause Time on the Performance of DSR, LAR1 and FSR Routing Protocols in Wireless Ad hoc Network

Nearest Neighbor Query in Location- Aware Mobile Ad-Hoc Network

20486-Developing ASP.NET MVC 4 Web Applications

Meta-Content framework for back index generation

Lesson 13 Transcript: User-Defined Functions

SPECIFICATIONS Insert Client Name

Crystal Report Parameter Default Value Current Date

Configuring Microsoft Outlook to Connect to Hosted Exchange Service

Workspace Administrator Help File

STUDY ABOUT OBJECT ORIENTED MODELING

Developing Software Applications Using Middleware Infrastructure: Role Based and Coordination Component Framework Approach

Research and Design of Education and Teaching Resource Management System based on ASP.NET Technology

Secured Way of Ciphering Text Using Audio Steganography

Specifying Usability Features with Patterns and Templates

Best Equity House in India Query Management System

MULTI-NODE DATABASE APPLICATION DEPLOYMENT ON LAMP ARCHITECTURE

Manual Trigger Sql Server 2008 Examples Insert Update

MultiHop Routing for Delay Minimization in WSN

Page 1 of 13. E-COMMERCE PROJECT HundW Consult MENA Instructor: Ahmad Hammad Phone:

TSM Studio Server Installing Version 3

PHP: Code Reuse & Functions

kalmstrom.com Business Solutions

ONLINE UPDATES: A COLUMN FOR SEARCH ANALYSTS. AgeLine: Free and Valuable Database from AARP

Integration of Multiple-baseline Color Stereo Vision with Focus and Defocus Analysis for 3D Shape Measurement

A Study of Bad Smells in Code

Data Mining Techniques Methods Algorithms and Tools

A Survey on KSRS: Keyword Service Recommendation System for Shopping using Map-Reduce on Hadoop

Word Disambiguation in Web Search

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

This manual will explain how to do a mail merge in Cordell Connect, using the following Windows programs:

A Review on Cloud Service Broker Policies

Text Document Clustering Using DPM with Concept and Feature Analysis

C1 CMS User Guide Orckestra, Europe Nygårdsvej 16 DK-2100 Copenhagen Phone

Transcription:

Available Online at www.ijcsmc.com International Journal of Computer Science and Mobile Computing A Monthly Journal of Computer Science and Information Technology IJCSMC, Vol. 4, Issue. 4, April 2015, pg.487 492 RESEARCH ARTICLE ISSN 2320 088X AUTO GENERATION OF CODE AND TABLE TOOL Mr. Sandeep Agarwalla #1, Ms. Priyanka Roy #2 #1 Faculty [Dept. of Computer Science], Indian Institute of Management & Commerce, Khairatabad, Hyderabad, India agarwalla.sandeep@gmail.com #2 Lecturer at Computer Science Dept. Aurora PG College, Ramanthapur, Hyderabad, India priyanka.roy08@gmail.com Abstract-- The paper is about a windows application of which will generate initial code files, tables schema and stored procedures to deal with the tables generated. The generated codes will be used by the software developers of a company which can be integrated with any web/window application(s). This tool can connect with any database server on network and execute the script generated. In the proposed system, there must exist a database where the user can create table with the required number of fields. Every table created is be placed under the same database. The code can be generated by any top level manager/ project head (with basic knowledge of computers). The tool will even guarantee the level of abstraction to be maintained between the developers hierarchy. Keywords: Code Generation, Table, Stored procedures, Database, Abstraction I INTRODUCTION In recent years technology has surpassed general human thoughts and task are needed to be completed in moments with minimal error; that too in a secured and controlled manner. In today s software development companies; they follow a new way to develop their software in faster and optimized way. For most of the web development, they create templates prior by which it gives the client a better understanding of the website outlook. The developer even have to work less to generate the code and most of task is already being done while creating the template. Similarly for developing a software which may have too many tables in the database and it needs C# or java code to create the business logic to access it from front end and place to in the back end. More over triggers, stored procedures are also required for other support of the software. To avoid the hustle to repeating the above tasks again and again develops create auto generation code. So in development Industries the new era has began for auto generation of code, tables, scripts and documentation that can be helpful in creating products in moments and maintain the standard as well. Every company creates their own way of code generation and are being used by the managers or the administrators who not maintain the level of hierarchy in distributing the task but also the creates a outline structure of the database, tables. Scripts to handle the database. Code to handle the tables. The functionality which must be used to access the database and so on. The project done me is creating some auto generation of code, tables, scripts and the functionality that must be used by developers to deal with the tables in the database. 2015, IJCSMC All Rights Reserved 487

Methodology II METHODOLOGY & OBJECTIVES 1. Basic Front end code (C#/Java/Android) Generated Automatically. 2. Basic Back end code (Tables, SQL triggers and stored procedure) Generated Automatically. 3. Level of Abstraction to done automatically The present study focuses on the secondary sources of data from Books, Journals, Articles, and interviews with eminent personalities from various departments of the University. III EXISTING SYSTEMS The existing system is to generate the code after making a lot of team effort. Continues interaction between team mates are mate as clash between the namespace are there. Sometimes some inexperienced developers does not create the hierarchy of management. Distribution of functional part in coding takes a lot of time. Even naming conventions creates problem. The Manager or Architect need to continuously monitor the code. Finally Project completion time becomes huge. Figure 1: How hierarchy is used for developing a s/w project development 2015, IJCSMC All Rights Reserved 488

IV PROPOSED SYSTEM Utility tools are commonly used now a days by developers to get optimized software in a faster way. Customization must be in high rather than coding. As most of the code are auto generated or created previously in the form of templates. The proposed system solves the problems discussed above. The tool is very user friendly and with basic knowledge of computers the tool can be operated. The tool is developed for a project manager/ team lead to generate the required basic coding structure for the project development. AUTO GENERATION OF CODE AND TABLE TOOL is built on dot net windows platform and executable with single mouse click. This tool creates web forms for ASP.Net web applications on Dotnet 4.0 and sql scripts for the respective table at the desired directory. Once the files are created script can be executed on the SQL server which is either on same server or on network when provided the credentials. Solution Summary The solution is a windows executable application. The tool can be executed on any windows server without any dependencies. The structure is as follows Figure 2 : Hierarchy to develop a s/w project development using the proposed tool 2015, IJCSMC All Rights Reserved 489

It solves the problem which was discussed in the existing system 1. Namespace problems raised for developers will be resolved. 2. The separate code generated for the developers will maintain the abstraction level. No need to write separate code or plan for maintaining the abstraction level. 3. Distribution of work to developers will be easier. 4. The database design and the structure will be created immediately. 5. Triggers/ Stored Procedures will be automatically created to handle the various requirement of the database. Simple Application to show how to use the tool A sample application is developed using Microsoft C# and SQL Server. The following window will be seen when the application is opened Figure 3: Sample Application Window Provide name for the webpage in the text box provided for which code file and script file required. Default SQL table with 7 fields will be automatically created and modifications for them is not allowed but additional columns can be provided to the table by be inserted as new rows into the grid with the respective data type. Click on the Browse button which opens directory browsing dialog from which the destination directory is to be selected. A child directory with name CodeGenDirectory will be created inside it and files will be created inside it. Figure 4: Directory browsing to store the generated files 2015, IJCSMC All Rights Reserved 490

SQL server credential region will be enabled which is again optional and provided for executing the script on SQL server, the credentials are to be provided and then select the database from the dropdown on which the script to be executed and finally click on Execute Script button to complete the step. All the respective codes will be generated. Figure 5 : Sample Application Window after all information added Sample generated Codes in C# and SQL Server Figure 6 : Generated Codes 2015, IJCSMC All Rights Reserved 491

V CONCLUSION This project reduces the burden for managers to create namespaces for developers of same project; even the burden for levels of authorization is also reduced. Accessibility to the required is given to the developers. Table schema and insertion, deletion stored procedure is also created. The sample test shows how C# code is also generated for the tables and the stored procedures. So a lot of time is saved for the developers. Certain future enhancement is always necessary. But code generation is based on specific requirement only. REFERENCES [1] Martin Fowler, "Crossing Refactoring's Rubicon" ( http://martinfowler.com/articles/refactoringrubicon.html ) [2] Generative Programming: Methods, Tools, and Applications by Krzysztof Czarnecki and Ulrich W. Eisenecker, Addison Wesley, 2000. [3] Code Generation for Dummies (http://www.methodsandtools.com/archive/archive.php?id=86) [4] Code Generation with Macrofort (http://claudegomez.fr/macrofort/macrofort.html) [5] Ricardo Aler Mur, "Automatic Inductive Programming (http://www.evannai.inf.uc3m.es/et/icml06/aiptutorial.htm)", ICML 2006 Tutorial. June 2006. [6] Fraser, C. W., and Hanson, D. R. Engineering a simple, efficient code generator generator. ACM Letters on Programming Languages and Systems 1, 3 (1992), 213 226. [7] Ganapathi, M. Code Generation and Optimization using Attribute Grammars. PhD thesis, University of Wisconsin, Madison, 1980. [8] E. Hill, L. Pollock, and K. Vijay-Shanker. Automatically capturing source code context of nl-queries for software maintenance and reuse. In Proceedings of the 31st International Conference on Software Engineering, ICSE '09, pages 232{242, Washington, DC, USA, 2009. IEEE Computer Society. [9] R. Holmes and G. C. Murphy. Using structural context to recommend source code examples. In Proceedings of the 27th international conference on Software engineering, ICSE '05, pages 117{125, New York, NY, USA, 2005. ACM. [10] E. Reiter and R. Dale. Building natural language generation systems. Cambridge University Press, New York, NY, USA, 2000. 2015, IJCSMC All Rights Reserved 492