j.a.rajan Bm08529 3mca Final Rev

Embed Size (px)

Citation preview

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    1/29

    PHP CODE GENERATOR FORSEDNA SPACE

    By

    J. ANTHONY RAJAN (FINAL REVIEW)

    BM08529

    3-MCA

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    2/29

    CONTENTS1. Profile of the Company

    2. Problem Description

    3. Spin and Project Vision

    4. SRS and URS (Include System Modules)

    a. Architecture Diagram

    b. Use Case Diagram

    c. Process Flow Diagram

    d. Data Flow Diagram

    5. User Interface Design

    6. Test Case Design

    7. Component Diagram

    8. Implementation Report

    9. Deployment Report

    10. Bibliography

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    3/29

    Profileofthe company

    SednaSpace is a browser based software development platform for the

    technical and non-technical people to develop web based software

    products/projects having BPM, Workflow and SOA.

    Deploy applications without any effort, which can co-exist with the

    existing applications in any environment such as .Net, Flex, Java, PHP and CloudComputing.

    SednaSpacealsooffersitsownreal elastic cloud computing platform for

    private/public cloud.

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    4/29

    Project Overview

    SednaSpace is a tool to create web application online currently they

    support java and C# now developing PHP Source Code Generator to PHP also.

    All the business logic are represent in XML. These XML needs to be

    converted in to PHP

    The generated code will follow industry standards, and handle database

    connectivity exception handling and security.

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    5/29

    CONT...

    PHP Code Generator is based on the XML DOM Parser. For Each XML

    Node is generator. The generated code is store in file. Zend Studio is developing

    tool for PHP.

    In our module 3 major modules has been playing vital role in that

    project, because of its necessity to generate source code.

    This Code Generator application depends on the SednaSpace Tool. This

    tool to merge the SednaSpace Tool, It help the company as well as programmer

    in day to day activities.

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    6/29

    PROBLEM

    Sednaspace support Java & .Net Now

    Sednaspace Need to develop PHP code

    generator based on their XML standard, to attract

    the customer and Integrate the Open source.

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    7/29

    PROBLEM DESCRIPTION

    PURPOSE

    All business logics are defined using XMLs. These

    XMLs can be converted to 3GL languages such as

    C#, Java, PHP. Code generator generates 100%

    code for all the three layers i.e. presentation (.aspx

    , .jsp , .php), business (.cs, .java, .php) and

    database (.sql) layers.

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    8/29

    CONT

    SCOPE

    The generated php sourcecode based on XML

    documents of SednaSpace. The generated PHP

    sourcode is not dependant on SednaSpace. The

    source contains database access and business

    logic.

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    9/29

    CONT

    VISION

    To attract the customers and Open source

    integration for SednaSpace.

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    10/29

    PROBLEM STATEMENT

    The Problem Of Sednaspace support Java & .Net Now

    Sednaspace Need to develop PHP code

    generator based on their XML standard, to

    attract the customer and Integrate the Open

    source.

    Affects Custormer of SednaSpace.

    The impact of which is Open source customers will buy SednaSpace.

    A Successful solution would be To generate PHP code based on the XMLstandard for SednaSpace.

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    11/29

    XML Document structure ofSednaSpace.

    SYSTEM STUDY

    SUB SYSTEMS

    1. XML Traversing ofSednaSpace Document.

    2. PHP Code generation.

    3. Saving the generated code.

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    12/29

    XML TRAVERSING

    PHP XML dom library was used for xml

    traversing.

    Each XML node is converned to xml code.

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    13/29

    PHP CODE GENERATION

    Based on the Node and Attributes php

    source code is generated.

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    14/29

    SAVING THE GENERATED CODE

    Generated codeissavedinfiles .

    Savingfilesmaintains SednaSpace DB

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    15/29

    SRS AND URS

    The SRS precisely defines the

    functionalities and features of PHP source

    code generator.

    PHP source code generator is written

    using PHP.

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    16/29

    USE CASE DIAGRAM

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    17/29

    CONTDESCRIPTION

    In PHP Code Generator, ifthe user (programer)

    is already registered SednaSpaceTool, then he logins

    himself by using the username and password.

    If the user is new user (programer), then he

    opens the registration page (SednaSpaceTool)registers

    the Registration Form .

    After he/she generate the source code to be

    stored on separate file . It Should be maintained

    sednaSpace DB.

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    18/29

    CONT

    DESCRIPTION

    The Admin logins in to the Admin Page for

    uploading the Activity Code to SednaSpace Tool.

    After he uploaded the Activity Code. User can

    generate PHP Source Code for SednaSpace, the

    Source Code should be generated on programer,

    where the source code could not be modified; they

    can be view only .

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    19/29

    Architecture Diagram

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    20/29

    PROCESS FLOW DIAGRAM

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    21/29

    DATA FLOW DIAGRAM LEVEL 0

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    22/29

    DATA FLOW DIAGRAM LEVEL 1

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    23/29

    USER INTERFACE DESIGN

    The User Interface Design contains the

    following models. They are

    1.XML Traverse

    2.PHP Code generation.

    3.Saving the generated code.

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    24/29

    UI DESIGN

    Click Here

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    25/29

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    26/29

    COMPONENT DIAGRAM

    COMPONENT DIAGRAM

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    27/29

    IMPLEMENTATION REPORT

    CLICK HERE

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    28/29

    DEPLOYMENT REPORT

    Click here

  • 8/6/2019 j.a.rajan Bm08529 3mca Final Rev

    29/29