GithubHelp home page GithubHelp logo

wsdltophp / domhandler Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 91 KB

Decorative design pattern to ease DOM handling

License: MIT License

PHP 99.60% Dockerfile 0.40%
xml dom decorator-pattern domhandler dom-handler decorator php-library

domhandler's Introduction

WsdlToPhp

Latest Stable Version Build Status Scrutinizer Code Quality Code Coverage

WsdlToPhp

This project aims to provide multiple components that eases the use of SOAP oriented Web Services.

To do this, the first component if the Package Generator.

The package generator

This component as it is named provides an easy way to generate a PHP package.

The generated package then provides all the methods to send any request to any operation provided by the Web Service.

You can find this component under src/WsdlToPhp/PackageGenerator directory.

The php generator

This component as it is named provides an easy way to generate a PHP source code.

This component is used by the package generator to ensure stability and consistency among generated PHP files.

You can find this component under src/WsdlToPhp/PhpGenerator directory.

The package base classes

This component as it is named provides base classes for the classes generated by the package generator.

This component is used by the package generator and as a dependency for the generated package.

You can find this component under src/WsdlToPhp/PackageBase directory.

The bundle generator

The bundle generator will aim to provide an easy way to generate a symfony bundle based on the generated package.

The generated bundle then provides services and other things to use the generated package as a symfony bundle.

This component will be available under src/WsdlToPhp/BundleGenerator directory.

Roadmap

First step: finalize package generator refactoring

As you must know, the package generator is based on the original project WsdlToPhp with a more robust and extensible way.

Nevertheless, it still remains some code parts that are not optimal and require refactoring.

This step will be developed under the feature/mandevilla branch.

Second step: optimize what can be optimized

In order to be able to provide a real interesting bundle generation experience, it's essential to be sure that the package generator is as fast as possible.

This step will be developed under the feature/anthurium branch.

Third step: create the bundle generator

As soon as the package generator is really finished, this generator will be developped under the feature/orchid.

domhandler's People

Contributors

mikaelcom avatar phordijk avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

domhandler's Issues

getAttributes returns an empty array

Having an element such as:

<xsd:element minOccurs="0" maxOccurs="1" name="Version" type="xsd:string" default="2.2" />

And having loaded this element using the ElementHandler class.

When calling the getAttributes, an array containing the element attributes (minOccurs, maxOccurs, name, type and default) should be returned whereas it is currently an empty array that is returned.

DOMXPath::query(): Node From Wrong Document

When using getElementsByNameAndAttributes with the $node parameter defined, if the $node is not contained by the DOMDocument contained by the current element on which the getElementsByNameAndAttributes is called, the error DOMXPath::query(): Node From Wrong Document is throwned

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.