Отображение произвольной XML структуры/ Mapping arbitrary XML structure - repost 6

Sedang Disiapkan Disiarkan Dec 12, 2013 Dibayar semasa penghantaran
Sedang Disiapkan Dibayar semasa penghantaran

Описание процесса работы приложения со стороны пользователя:

Сначала пользователь заходит на страницу скрипта, на которой должны быть размещены следующие элементы:

поле для выбора файла (можно загружать только xml-файлы);

кнопка "Upload XML".

Затем пользователь выбирает xml-файл и нажимает кнопку "Upload XML". Далее должно происходить следующее:

скрипт парсит xml файл и извлекает данные в форме удобной для формирования дерева;

на основе данных, полученных на предыдущем этапе формируется js-код построения дерева в браузере;

js-framework строит дерево.

Обязательные требования к скрипту:

Весь код должен быть написан в OOП стиле, т.е. с использованием классов, интерфейсов, исключений и т.д.

Весь код должен быть прокомментирован в стиле PHPDocumentor'a;

Все узлы дерева должны быть свёрнуты по умолчанию. При нажатии на определённый узел должно происходить его раскрытие;

Использовать для построения дерева один из следующих JavaScript-фрэймворков: jQuery, Mootools, ExtJS.

Желательно (но не обязательно) реализовать также раскрытие всех подузлов дерева через AJAX-запросы.

Description of the application process by the user :

First, the user visits a page of the script , which should be placed the following elements:

field to select the file (you can download only the xml- files );

button "Upload XML".

The user then selects xml- file and presses the "Upload XML". Next, the following must occur :

script parses the xml file and retrieves data in a form convenient for the formation of a tree ;

based on data obtained in the previous step is formed js- code for constructing a tree in the browser;

js-framework builds a tree .

Mandatory requirements of the script :

All code must be written in OOP style , ie using the classes, interfaces , exceptions , etc.

All code must be commented on in style PHPDocumentor'a;

All nodes in the tree must be folded by default. When you click on a particular node should be its disclosure ;

Used to build the tree one of the following JavaScript- proper framework : jQuery, Mootools, ExtJS.

It is desirable (but not required) to implement and disclosure of all components of the tree via AJAX- requests.

AJAX JavaScript PHP XML

ID Projek: #5223194

Tentang projek

1 cadangan Projek jarak jauh Aktif Dec 12, 2013