[TYPO3-ect] getFrondEnd() ??

Philip Almeida philip.almeida at gmail.com
Thu Aug 9 17:34:10 CEST 2007


Files in attach:
MODEL_EXAMPLE.PHP <?ik=86829090e4&view=att&th=1144b37162c4a283&attid=0.1>
TEMPLATEFILE.PHP <?ik=86829090e4&view=att&th=1144b37162c4a283&attid=0.2>
FUNCTION_FOR_APPRECIATION.PHP<?ik=86829090e4&view=att&th=1144b37162c4a283&attid=0.3>

Elmar,

I send for consideration a method or a conceptual ideia if you prefer to be
used in MODEL.

The method retrieves a complete update query based on defined values from
template file:

sdd  -> string data definition
idd   -> integer data definition
tdd   -> table data definition
sud  -> string unique data
iud   -> integer unique data

(usage example: <input name="sdd_databasefieldname" value="myValue">)

It also gives possibility for programmer to define extra field format types
and a method to deal with them.

         /* extra field definition handler */
        $specialParameter = array(
            "uod" => "oracleDateFormatFunction"
        );
        $stquery = $this->prepareUpdateQuery($parameters,$specialParameter);

PS- the bad side of it is that it's only prepared for 3 digit identifier.

Thanks,

Philip
<?ik=86829090e4&view=att&th=1144b37162c4a283&attid=0.3>
On 8/9/07, Philip Almeida <philip.almeida at gmail.com> wrote:
>
> Thanks Elmar
>
> ----------------------------------------------------------------------------------------------
> IMHO i think there is the urgent need for a developer user manual.
>
> Philip
>
> PS - Thanks once again for your great project
> and for opening the MVC world for me.
>
> On 8/9/07, Elmar Hinz <elmar07 at googlemail.com> wrote:
> >
> > Philip Almeida wrote:
> >
> > > Greetings from Portugal and hello to all at ECT.
> > > My name is Philip Almeida and this is my first post.
> > >
> > > I started using MVC, like 2 days ago and I am very happy.
> > > I still don't now how the best way to interact with more than one
> > > controller though, but it's the beginning.
> > >
> > > I would like to give my congratulations to Elmar for his "beautiful"
> > job.
> > > MVC is a delight to work with.
> > >
> > > I would like to become a cantidate for the MVC project.
> > >
> > >
> > -----------------------------------------------------------------------------------------------------------------------------------
> >
> > > A question:
> > > Is there any site where we can browse a phpdocumentor or similiar for
> > the
> > > MVC project?
> > >
> > -----------------------------------------------------------------------------------------------------------------------------------
> >
> > >
> > > Thanks,
> > >
> > > Philip Almeida
> >
> > Hi Philip,
> >
> > thank your for compliments. People "grow" into the team. You start by
> > using
> > the software and reporting bugs. You contribute ideas, conceptions and
> > sources, whatever you feel is needed.
> >
> > Kind Regards
> >
> > Elmar
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > TYPO3-team-extension-coordination mailing list
> > TYPO3-team-extension-coordination at lists.netfielders.de
> > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-extension-coordination
> >
> >
>
>
>
> --
> -- -- -- -- -- -- -- -- -- -- -- -- --
> Philip de Oliveira de Almeida
> Tel. 966 356 008
>



-- 
-- -- -- -- -- -- -- -- -- -- -- -- --
Philip de Oliveira de Almeida
Tel. 966 356 008


More information about the TYPO3-team-extension-coordination mailing list