I need a solution for CMS. I would like to edit and create FORMS
easily, especially list of settings. Which is better and why?
$$ XML or HTML $$
Forms occur in View layer - in presentation file. To simplify editing
forms and to improve readability, webmasters use additional tags and
attributes, e.g. , , arrayname... The compiler of
templates changes XML code into (X)HTML with conditional expressions
in PHP and variables (until the template class doesn't compile
templates but parse them).
$$ PHP $$
Form fields and their properties are defined in PHP logic code. Form
class generates the HTML form. However, the class needs HTML code of
each
Re: Generating forms - XML or PHP?
am 12.04.2008 14:36:44 von Jerry Stuckle
WebCM wrote:
> I need a solution for CMS. I would like to edit and create FORMS
> easily, especially list of settings. Which is better and why?
>
> $$ XML or HTML $$
> Forms occur in View layer - in presentation file. To simplify editing
> forms and to improve readability, webmasters use additional tags and
> attributes, e.g. , , arrayname... The compiler of
> templates changes XML code into (X)HTML with conditional expressions
> in PHP and variables (until the template class doesn't compile
> templates but parse them).
>
> $$ PHP $$
> Form fields and their properties are defined in PHP logic code. Form
> class generates the HTML form. However, the class needs HTML code of
> each
Re: Generating forms - XML or PHP?
am 12.04.2008 15:04:13 von webcm123
You haven't understood me. :) Example of unclear code:
checked="checked" />
A lot of such constructions make the code unclear. Similar in pure
PHP:
'' ?> />
So I'm looking for a good solution for making
Re: Generating forms - XML or PHP?
am 12.04.2008 16:06:16 von Jerry Stuckle
WebCM wrote:
> You haven't understood me. :) Example of unclear code:
>
>
> checked="checked" />
>
> A lot of such constructions make the code unclear. Similar in pure
> PHP:
>
>
> '' ?> />
>
> So I'm looking for a good solution for making
OT Re: Generating forms - XML or PHP?
am 12.04.2008 16:32:00 von Pat Willener
> WebCM wrote:
>> You haven't understood me. :) Example of unclear code:
>>
>>
>> checked="checked" />
>>
>> A lot of such constructions make the code unclear. Similar in pure
>> PHP:
>>
>>
>> '' ?> />
>>
>> So I'm looking for a good solution for making
Re: Generating forms - XML or PHP?
am 12.04.2008 16:50:47 von piotr
WebCM wrote:
> I need a solution for CMS. I would like to edit and create FORMS
> easily, especially list of settings. Which is better and why?
>
> $$ XML or HTML $$
> Forms occur in View layer - in presentation file. To simplify editing
> forms and to improve readability, webmasters use additional tags and
> attributes, e.g. , , arrayname... The compiler of
> templates changes XML code into (X)HTML with conditional expressions
> in PHP and variables (until the template class doesn't compile
> templates but parse them).
>
> $$ PHP $$
> Form fields and their properties are defined in PHP logic code. Form
> class generates the HTML form. However, the class needs HTML code of
> each
Re: Generating forms - XML or PHP?
am 12.04.2008 20:08:55 von Teh Riddler
On Apr 12, 7:50 am, Piotr wrote:
> WebCM wrote:
> > I need a solution for CMS. I would like to edit and create FORMS
> > easily, especially list of settings. Which is better and why?
>
> > $$ XML or HTML $$
> > Forms occur in View layer - in presentation file. To simplify editing
> > forms and to improve readability, webmasters use additional tags and
> > attributes, e.g. , , arrayname... The compiler of
> > templates changes XML code into (X)HTML with conditional expressions
> > in PHP and variables (until the template class doesn't compile
> > templates but parse them).
>
> > $$ PHP $$
> > Form fields and their properties are defined in PHP logic code. Form
> > class generates the HTML form. However, the class needs HTML code of
> > each
Re: OT Re: Generating forms - XML or PHP?
am 12.04.2008 21:28:24 von Jerry Stuckle
Twayne wrote:
>> WebCM wrote:
>>> You haven't understood me. :) Example of unclear code:
>>>
>>>
>>> checked="checked" />
>>>
>>> A lot of such constructions make the code unclear. Similar in pure
>>> PHP:
>>>
>>>
>>> '' ?> />
>>>
>>> So I'm looking for a good solution for making
Re: Generating forms - XML or PHP?
am 12.04.2008 23:53:48 von Manuel Lemos
Hello,
on 04/12/2008 04:50 AM WebCM said the following:
> I need a solution for CMS. I would like to edit and create FORMS
> easily, especially list of settings. Which is better and why?
>
> $$ XML or HTML $$
> Forms occur in View layer - in presentation file. To simplify editing
> forms and to improve readability, webmasters use additional tags and
> attributes, e.g. , , arrayname... The compiler of
> templates changes XML code into (X)HTML with conditional expressions
> in PHP and variables (until the template class doesn't compile
> templates but parse them).
>
> $$ PHP $$
> Form fields and their properties are defined in PHP logic code. Form
> class generates the HTML form. However, the class needs HTML code of
> each
Re: Generating forms - XML or PHP?
am 13.04.2008 03:40:15 von Jerry Stuckle
Manuel Lemos wrote:
> Hello,
>
> on 04/12/2008 04:50 AM WebCM said the following:
>> I need a solution for CMS. I would like to edit and create FORMS
>> easily, especially list of settings. Which is better and why?
>>
>> $$ XML or HTML $$
>> Forms occur in View layer - in presentation file. To simplify editing
>> forms and to improve readability, webmasters use additional tags and
>> attributes, e.g. , , arrayname... The compiler of
>> templates changes XML code into (X)HTML with conditional expressions
>> in PHP and variables (until the template class doesn't compile
>> templates but parse them).
>>
>> $$ PHP $$
>> Form fields and their properties are defined in PHP logic code. Form
>> class generates the HTML form. However, the class needs HTML code of
>> each