| Proposal informations Zend_Xml (Full Fluent) is the complete refactoring of Zend_Xml that should be deprecated in favor of this new component. |
Zend Framework: Zend_Xml Component Proposal
| Proposed Component Name | Zend_Xml |
|---|---|
| Developer Notes | http://framework.zend.com/wiki/display/ZFDEV/Zend_Xml |
| Proposers | My E-mail Address |
| Revision | 0.1 - 30 November 2007: Initial release. (wiki revision: 15) |
Table of Contents
1. Overview
Zend_Xml (Full Fluent) is the complete refactoring of Zend_Xml.
Zend_Xml is a component that allow you to work on a Xml document in a fluent, rapid and powerful way.
This is possible combining dom, xpath, arrays and the fluent pattern.
Oh, I was forgetting. Do you need namespace? Well, Zend_Xml is full and easy namespace compliant.
2. References
3. Component Requirements, Constraints, and Acceptance Criteria
Zend_Xml is an high level library for XML document creation and manipulation.
- This component will not supports conversion in other markup languages or document types.
- This component should supports all PHP5 DOM methods and properties.
- This component will implements some SimpleXML interaction facilities.
4. Dependencies on Other Framework Components
- Zend_Exception
5. Theory of Operation
Instantiate Zend_Xml with the root name(s) of the xml document and, if required, the external stylesheet.
Now, you are ready to build your XML document quickly and with total control on every operation.
6. Milestones / Tasks
Zend_Xml maybe improved to support XQuery, SimpleXML and xml data conversion into a native php data type to integrate it in a more complex component for data manipulation and conversion (Zend_Data ?).
- Milestone 1: [DONE] Base operations support
- Milestone 2: Full support for PHP5 DOM methods
- Milestone 3: Support for pre-existent DOMDocument and SimpleXML objects
- Milestone 4: Performance tuning
- Milestone 5: SimpleXML methods and properties exposition
7. Class Index
- Zend_Xml - xml document creation facade
- Zend_Xml_Exception - exception handler
- Zend_Xml_Dom_Abstract - shared and abstract methods for dom manipulation
- Zend_Xml_Dom_Abstract_Exception - exception handler
- Zend_Xml_Document - domdocument facade
- Zend_Xml_Document_Exception - exception handler
- Zend_Xml_Exception - exception handler
- Zend_Xml_Nodes - implementation of the composite pattern
- Zend_Xml_Nodes_Exception - exception handler
8. Use Cases
| UC-01 |
|---|
| UC-02 |
|---|
| UC-03 |
|---|
| UC-04 |
|---|
| UC-05 |
|---|
| UC-06 |
|---|
| UC-07 |
|---|
9. Class Skeletons
The complete component is coded and ready
and will be published only under request of the Zend Framework team
or after a general judgment.
Daniele, is this proposal read for community review or does it still need some work? If it is ready for review, please re-parent it and announce on the mailing list. Otherwise, please either continue work on it or move it to the Archived section until you can get back to it.
Thanks.
,Wil
Hi Wil,
the proposal is coded and ready for the community review, but I have not noticed any interest about it from the community during this period.
So I would know any opinion about it.
p.s.: I improved the component especially about namespace handling.
ZF Home Page
Code Browser
Wiki Dashboard
I work with xml documents and I think it very useful.