You might be interested by these links (http://en.wikipedia.org/wiki/MXML,
http://en.wikipedia.org/wiki/Extensible_Application_Markup_Language).

I tend to like the idea as I am not familiar with Mark's dict solution.

Daniel Tousignant-Brodeur


On Mon, May 17, 2010 at 9:40 AM, Pablo Recio Quijano <[email protected]
> wrote:

> Well, actually is not a project right now. Only a little module I wrote for
> a big project. If people like the idea, I will expend some time in develop
> it like a 'big' project :)
>
>
> 2010/5/17 Thiago Chaves <[email protected]>
>
>> Aha. How's the project going, by the way? =)
>>
>> -Thiago
>>
>> On Mon, May 17, 2010 at 1:26 PM, Pablo Recio Quijano
>> <[email protected]> wrote:
>> > The main reason here is to make that file portable between Pygame and
>> SDL.
>> >
>> > 2010/5/17 Thiago Chaves <[email protected]>
>> >>
>> >> XML is kiinda nice for language-independent and editor-independent
>> >> file formats, just because so many languages are so unfriendly at
>> >> parsing text and happen to have a good XML library.
>> >>
>> >> But, yeah, don't see much reason for XML here either.
>> >>
>> >> -Thiago
>> >>
>> >> On Mon, May 17, 2010 at 7:37 AM, Luke Paireepinart
>> >> <[email protected]> wrote:
>> >> > I agree. Never understood why people love xml so much. I've always
>> had
>> >> > my cfg files be python files that I import. Works awesomely.
>> >> > and if you ever want to programmatically generate your data you can
>> >> > always include that code in the cfg file. Super easy and flexible.
>> >> > Only downside that i can see is non-python interaction. But you can
>> >> > always write code to dump to/from xml if you really need that.
>> >> >
>> >> > On 5/16/10, David Taylor <[email protected]> wrote:
>> >> >>
>> >> >> I like that idea a whole lot more than XML.
>> >> >>
>> >> >>> -----Original Message-----
>> >> >>> From: [email protected] [mailto:
>> [email protected]]
>> >> >>> On
>> >> >> Behalf Of
>> >> >>> Mark Reed
>> >> >>> Sent: Saturday, May 15, 2010 12:07 PM
>> >> >>> To: [email protected]
>> >> >>> Subject: Re: [pygame] Layout module for Pygame surfaces
>> >> >>>
>> >> >>> Why does it need to be XML? Write it out as python dict's and eval
>> the
>> >> >>> file. 2 lines of code.
>> >> >>>
>> >> >>> And use an existing library and write an editor for it. Thats
>> really
>> >> >>> the thrust of what you are trying to do. Support the code that is
>> out
>> >> >>> there instead of rewriting it.
>> >> >>>
>> >> >>> Mark
>> >> >>>
>> >> >>> On Sat, May 15, 2010 at 5:16 PM, Pablo Recio Quijano
>> >> >>> <[email protected]> wrote:
>> >> >>> > There's no GUI behind the the XML right now. I wrote the XML by
>> >> >>> > hand.
>> >> >>> >
>> >> >>> > The idea is to do the library and write an application like
>> Glade,
>> >> >>> > but
>> >> >> for
>> >> >>> > Pygame.
>> >> >>> >
>> >> >>> > 2010/5/15 jake b <[email protected]>
>> >> >>> >>
>> >> >>> >> What GUI are you using behind the xml?
>> >> >>> >> I'd be interested in seeing the code.
>> >> >>> >
>> >> >>> >
>> >> >>> >
>> >> >>> > --
>> >> >>> > Pablo Recio Quijano
>> >> >>> >
>> >> >>> > Estudiante de Ingeniería Informática (UCA)
>> >> >>> > Alumno colaborador del Departamento de Lenguajes y Sistemas
>> >> >>> > Informáticos
>> >> >>> >
>> >> >>
>> >> >>
>> >> >>
>> >> >
>> >> > --
>> >> > Sent from my mobile device
>> >> >
>> >
>> >
>> >
>> > --
>> > Pablo Recio Quijano
>> >
>> > Estudiante de Ingeniería Informática (UCA)
>> > Alumno colaborador del Departamento de Lenguajes y Sistemas Informáticos
>> >
>>
>
>
>
> --
> Pablo Recio Quijano
>
> Estudiante de Ingeniería Informática (UCA)
> Alumno colaborador del Departamento de Lenguajes y Sistemas Informáticos
>

Reply via email to