Академический Документы
Профессиональный Документы
Культура Документы
Purpose
At the time of learning languages like C, C++, Java Etc. The beginners had number of problem like to install compilers at desktop-pc. Some time student had to face the problem of configuring the compiler. So that they cant get execute the program successfully. And other problem is that if the users want to compile program on any other system they require again all processing to install and configuration problem. To solve these entire problems I am thought of designing an online compiler to execute the program on different type of source code by one editor. And also a well configured compiler providing services by servers. Simply to create a common server for different programming language. To create a common interface for all programming language. An online compiler has the same basic functionality as a conventional compiler, however with one significant difference: all of a project or application's source code is stored and executed online via a web browser. Storing and executing source code online significantly reduces both the hardware and the software required by programmers when working on any given project. Modern online compilers are still somewhat limited in their capabilities when compared to conventional compilers, however today's online compilers are capable of compiling Java, C Sharp (programming language), VB.net, C, HTML and C++. It gives benefits in mobility i.e., the primary purpose behind the development of online compilers is the mobility that they provide to programmers. This is only because of it require only a web browser and internet connection to access and edit code. This is in contrast to conventional compilers which require programmers to set up and store their code on a single computer. It can be access from anywhere using any device which has an internet connection. It can also give the benefits to share our logic or code and do not have installation procedure i.e., you can spend your time on what really matters the programming itself.
The cost factor is reduced, when using a single compiler for the entire network. Platform independent. The overall application is distributed, but the control is centralized, which increases the efficiency of the overall system. Can Develop Desktop / Web client.
application then they are in an activate state. Admin can delete, view all programs of each user and check it. Users can save programs to their profile. But it is visible only after activating by admin. Admin can also set programs as visible to everyone for future reference. Why admin do all these things is because, application wants to show the standard logic to everyone.
2.4.1. Administration
An administration module consists of a user management system. The different users of this system are confirmed by the administrator. The users can subscribe the system in language basis. The administration module deals with all the administrative tasks. The administrator module consists of user management.
2.4.2. User
User mainly interacts with the 3 modules. User may be a student or a learner or a beginner of the programming language or high level programmer.
The user can select the different language options. Currently the application includes java, C#, VB, HTML, C and C++. When the user selects the language, its corresponding skeleton is displayed. The different language has different skeletons. 2.4.2.3.2. Make the source code:After getting the skeleton user can make their source code. User can write and view example source code also. 2.4.2.3.3. Compile the code using multiple language compilers:After creating the source code user needs to compile it. According to the language they selected, the language compiler also changed. When the user press the execute button the server automatically finds the corresponding language compiler and compiles it at its own location. 2.4.2.3.4. View the result:After compilation, the result will be displayed on the result section of the editor. If there is any error the error message will be displayed. 2.4.2.3.5. View the errors:The error messages are displayed for the user. According to the user, can make the changes in the source code and execute again. 2.4.2.3.6. Download and save the compiled code:If there is no error, user can press the download button. So the user can refer the program in no internet access. When the user press download button, it will show the various destination options to which the downloaded file will store. So the user can choose the destinations for saving the code. So user can identify them by referring the extensions. 2.4.2.3.7. Save code:Executed code is saved to each users profile by clicking save to my programs. This is only visible after admin activating it.
3.1
Requirement Specification
The Requirement Specification will provide a detailed description about the hardware and software requirement needed for the global application development server. The clear understanding of the global application development server and its functionality will allow for the correct application to be developed for the end user and will be used for the development of the future stages of the project. The requirement of the application found to an application which is more user friendly and should have minimum user functionalities. To create a good application we will have to achieve some hardware and software specification. Without a proper hardware and software platform we cannot make this application. The description about hardware and software platform needed in the application development process as follows.
Design Tools
Dreamweaver
IDE is written in Java and can run on Windows, OS X, Linux, Solaris and other platforms supporting a compatible JVM. The Net Beans Platform allows applications to be developed from a set of modular software components called modules. Applications based on the NetBeans Platform (including the NetBeans IDE itself) can be extended by third party developers. NetBeans IDE 6.0 introduced support for developing IDE modules and rich client applications based on the NetBeans platform, a Java Swing GUI builder,
improved CVS support, Web Logic 9 and JBoss 4 support, and many editor enhancements. NetBeans IDE 6.5, released in November 2008, extended the existing Java EE features. NetBeans IDE 6.8 is the first IDE to provide complete support of Java EE 6 and the GlassFish Enterprise Server v3. NetBeans IDE 6.9, released in June 2010. NetBeans IDE 7.0 was released in April 2011. On August 1, 2011, the NetBeans Team released NetBeans IDE 7.0.1, which has full support for the official release of the Java SE 7 platform. NetBeans IDE 7.3 was released in February 2013 which added support for HTML5 and web technologies. NetBeans IDE 7.4 is currently in final testing and expected later in 2013. MySQL MySQL is the world's most popular open source database software, with over 100 million copies of its software downloaded or distributed throughout its history. With its superior speed, reliability, and ease of use, MySQL has become the preferred choice for Web, Web 2.0, SaaS, ISV, Telecom companies and forward-thinking corporate IT Managers because it eliminates the major problems associated with downtime, maintenance and administration for modern, online applications. MySQL Values The best and the most-used database in the world for online applications Available and affordable for all Easy to use Continuously improved while remaining fast, secure and reliable Fun to use and improve Free from bugs
4.4
UML Diagrams
Unified Modeling Language - UML is a standardized, general-purpose modeling language in the field of software engineering. As compared with data flow diagram the Unified Modeling Language includes a set of graphic notation techniques to create visual models of objectoriented software-intensive systems. In DFD the methodology only provides the flow data between elements. Using UML diagrams we can effectively represents the structure of the desired GADS application. The standard UML diagrams are classified into nine diagrams. These diagrams represent the same idea in different way. So there is no need to represent the same concept in different pattern. However, here we using important UML diagrams like input/output diagram, sequence diagram and activity diagrams. In GADS application perspective the UML diagrams are good to convey the structure of the application. The desired application is rely on to a web having different users. And also the web application that we created using this GADS application may facilitate different compilers and users too. So we cant describe these actives using a DFD. In GADS project presentation here we are using an UML activity diagram for representing functional modules and their activities. The activities that are mentioned in the GADS
application are represented in the UML activity diagram. The functioning of the admin module was depicted using an UML sequence diagram. Sequence diagram clarifies the each function in the admin module sequentially. The functioning of user module was also depicted using UML sequence diagram. The main activity in the user module is coding the data in the editor. This is clearly represented in a user module sequence diagram. A class diagram in the Unified Modeling Language is a type of static structure diagram that describes the structure of a system by showing the system's classes, their attributes, methods, and the relationships among objects. The classes, methods and the operation of them in the GADS web application project was depicted using UML class diagram. So we can conclude that UML diagram is better to depict the system design as compared with data flow diagram. It is important to distinguish between the UML model and the set of diagrams of a system. A diagram is a partial graphic representation of a system's model. The model also contains documentation that drives the model elements and diagrams. UML diagrams represent two different views of a system model. They are Static and dynamic model. Static or structural view: emphasizes the static structure of the system using objects, attributes, operations and relationships. The structural view includes class diagrams and composite structure diagrams. Dynamic or behavioural view: emphasizes the dynamic behaviour of the system by showing collaborations among objects and changes to the internal states of objects. This view includes sequence diagrams, activity diagrams and state machine diagrams. Global application development server UML Activity diagram
It is clear from the activity diagram the project has two design module and each module carrying several functional modules. The operations among these modules works as depicted in the diagram. In GADS application the admin initiate the authentication. After the end of whole communication purpose the admin and users can logout from the website. GADS web application Admin sequence diagram
The admin can establish the connection towards the online compiler with the help of internet connectivity. And also admin has the power to block or unblock the other users from the web site. Then admin can withdraw the existing users without prior notification. Admin can view programs, test it and set as public.
Users are main goal of desired application. They can select the language and type the program in the editor. They can compile and run by clicking the execute button. Programs can be downloading from an application. They can also view example programs of the corresponding language which is written by other user. An authorized user is firstly login and goes to the language selection process. After selecting a language, just typing corresponding programs and click an execute button. After clicking an execute button, they can get the result, download the program and save that program to their own profile. These programs are list in their profile as ' My Programs. They can also view other programs from an example list.
Tbl_userdetails This table is used for store user details who has register. Primary key: Id Foreign key: Login_id, references tbl_Login
Size 11 11 50
Address
Varchar
100
Country
Varchar
50
Phone
Bigint
20
Activate
Varchar
Tbl_userPrograms
Field Id
This table is used for store user program details who has register. Primary key: Id Foreign key: Login_id, references tbl_Login Type Int Size 11 Description Id of the user programs table
Login_id
Int
11
programName
Varchar
50
Activate
Varchar
Tbl_country Field Id Country This table is used for add name of the country for registration purpose. Primary key: Id Type Int Varchar Size 11 25 Description Id of tbl_country table Name of the country Which is to be present in sign up page