Giter VIP home page Giter VIP logo

levart's Introduction

Levart Test 1

Scenario Take the included XML file ‘text.xml’ and use PHP to parse and output in the following html table format: " Genre | Title | Author | Publish | Date | Description | Price "

Key Point

  • The results should be ordered by Genre first, then Title.
  • Publish date should be represented as ‘Mon, 10 Feb 2014’ format.
  • Description should be limited to the closest full word around 32 chars and suffixed with an ellipsis.
  • Output should be html5 and be utf-8 encoded.
  • Under every Genre there should be a sum of the prices within that genre and a grand total at the bottom including a sum of all prices.

DEVELOPMENT I Use CodeIgniter as a framawor. It is a PHP full-stack web framework that is light, fast, flexible and secure.

More information can be found at the official site.

I can also capable to do this without any framwork.

Structure

You will find the main controller file in "app/Home.php". And view file in "Views/file_reader.php". Your XML file is in public folder.

Server Requirements

PHP version 7.3 or higher is required, with the following extensions installed:

Thak you

Layout

levart's People

Contributors

chowdhuryankur avatar

Watchers

 avatar

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.