SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: Zend Framework

  1. #1
    SitePoint Guru Galo's Avatar
    Join Date
    May 2005
    Location
    Holland!
    Posts
    852
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Zend Framework

    Hi all,

    Anyone here has any experience with the Zend Framework, in particulair the zend_rest api, im trying to setup a REST backend, but im forced to work with only elements as in <element>data</element>.

    What i want is to use attributes in my elements, as in <element attrib="1"/>
    but as it seems it does not allow working with attributes unless you make up your own xml.

    So any of you folks here @ sp knows how to get around this ?

    thanks alot
    -Galo
    Business as usual is off the menu folks, ...

  2. #2
    SitePoint Guru
    Join Date
    Jan 2005
    Location
    heaven
    Posts
    953
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    And what would be wrong with just using what you know works already?
    Creativity knows no other restraint than the
    confines of a small mind.
    - Me
    Geekly Humor
    Oh baby! Check out the design patterns on that framework!

  3. #3
    SitePoint Guru Galo's Avatar
    Join Date
    May 2005
    Location
    Holland!
    Posts
    852
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, just the fact that i want to use attributes .... and the zeld_rest_server class does not provide me with any methods to do so, but i wondered, when loading in a class, can i make any class members in a particulair way so that they show up in the xml as attributes of a element ?
    Business as usual is off the menu folks, ...

  4. #4
    SitePoint Guru
    Join Date
    Jan 2005
    Location
    heaven
    Posts
    953
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Your probably better off creating a custom class.
    Creativity knows no other restraint than the
    confines of a small mind.
    - Me
    Geekly Humor
    Oh baby! Check out the design patterns on that framework!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •