Git Product home page Git Product logo

arek00 / xmlreader Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 176 KB

Project of web application that read uploaded xml file that contains personal data. Data from xml file has to be put to database. Application has to display current records stored in database in table that should let to display personal data ordering by name, surname or login. Personal data includes: - name, - surname, - login, - MD5(name), Technologies to use: - servlets (JSF, Spring etc.), - www server (tomcat, jetty), - jdbc (or ORM), - mysql, - javascript, css, etc.,

Java 65.97% HTML 3.55% CSS 0.42% JavaScript 30.06%

xmlreader's People

Contributors

arek00 avatar

Watchers

 avatar  avatar  avatar

xmlreader's Issues

Page Template

Pages must be based on template that will be common for all pages of application.

STORY - List of users

When user successfully uploaded xml file then should be redirected to page that display data from that file.
List (or table) should let user sort records by data in columns that contains name, surname and login.
In addition, surname must be displayed in given format:

surname_MD5(name)
Example:
User:

  • Login: exampleUser,
  • Name: Example,
  • Surname: User
Id. Login Name Surname
1 exampleUser Example User_0a52730597fb4ffa01fc117d9e71e3a9

Where 0a52730597fb4ffa01fc117d9e71e3a9 is a result of MD5(Example).

Sorting table

User should has possibility to sort uploaded data by columns.

Uploading Page

Page must contains a field that let upload xml file from user's hdd (optionally from internet).

STORY - Import of Data

Application should let user upload xml file to it.

XML file has to contain at least 50000 records with persons' data.

Structure of XML file:

<users>
    <user>
        <name>name1</name>
        <surname>surname1</surname>
        <login>login1</login>
    </user>
…
    <user>
        <name>nameN</name>
        <surname>surnameN</surname>
        <login>loginN</login>
    </user>
</users>

Data obtained from user must be put to database. When upload procedure's been finished application should redirect user to page that display list of all users from uploaded xml file (not from database).

Putting uploaded users to database

Uploaded data should be put to database.
Application must establish connection with database.
May be use raw connection with JDBC or ORM like Hibernate.

Validation of Uploaded XML File

XML file should be checked for given conditions:

  • Structure must be looks like:
<users>
    <user>
        <name>name1</name>
        <surname>surname1</surname>
        <login>login1</login>
    </user>
…
    <user>
        <name>nameN</name>
        <surname>surnameN</surname>
        <login>loginN</login>
    </user>
</users>
  • has to contains at least 50 000 of objects user

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.