I propose to automatically set formatter to the field based on it's name and data type:
Imported from wiki, originally suggested by S.G.
Task: http://tracker.in-portal.org/view.php?id=494 (0000494: Slight improvement to automatic field array builder (service tools)).
Sorry, not to be pain in a butt, but would you please describe this
with a bit more details so we all can get the whole picture?
Currently it's very limited description of functionality we have now
and what we are trying to improve and how it's going to help us and
where.
Thanks!
DA.
On Dec 23, 7:56 am, Alexander Obuhovich <aik.b...@gmail.com> wrote:
> I propose to automatically set formatter to the field based on it's name and
> data type:
>
> - field's name ends with Date or On then it's kDateFormatter;
> - field's data type is tinyint, then it's sure kOptionsFormatter with
--
You received this message because you are subscribed to the Google Groups "In-Portal Development" group.
To post to this group, send email to in-por...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-de...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-dev?hl=en.
On Dec 24 2009, 5:13 am, Alexander Obuhovich <aik.b...@gmail.com>
wrote:
> When you create new unit config based on database table of course there is
> need to create Fields definitions. Here is where automatic field builder
> comes in (seehttp://guide.in-portal.org/eng/index.php/K4:%D0%9E%D0%BF%D0%B8%D1%81%...).
> For now there is simple formatter detection method, but I propose to advance
> it a bit to save time for developer each time it creates a new unit config
> or adds new fields to existing one.
>
>
>
> On Thu, Dec 24, 2009 at 2:31 AM, Dmitry A. <dandre...@gmail.com> wrote:
> > Hi Alex,
>
> > Sorry, not to be pain in a butt, but would you please describe this
> > with a bit more details so we all can get the whole picture?
>
> > Currently it's very limited description of functionality we have now
> > and what we are trying to improve and how it's going to help us and
> > where.
>
> > Thanks!
>
> > DA.
>
> > On Dec 23, 7:56 am, Alexander Obuhovich <aik.b...@gmail.com> wrote:
> > > I propose to automatically set formatter to the field based on it's name
> > and
> > > data type:
>
> > > - field's name ends with Date or On then it's kDateFormatter;
> > > - field's data type is tinyint, then it's sure kOptionsFormatter with
> > > Yes/No options.
>
> > > Imported from wiki, originally suggested by S.G.
> > > Task:http://tracker.in-portal.org/view.php?id=494(0000494: Slight
> > > improvement to automatic field array builder (service tools)).
>
> > > --
> > > Best Regards,
>
> > >http://www.in-portal.orghttp://www.alex-time.com
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "In-Portal Development" group.
> > To post to this group, send email to in-por...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > in-portal-de...@googlegroups.com<in-portal-dev%2Bunsu...@googlegroups.com>
On Dec 23 2009, 3:56 pm, Alexander Obuhovich <aik.b...@gmail.com>
wrote:
> I propose to automatically set formatter to the field based on it's name and
> data type:
>
> - field's name ends with Date or On then it's kDateFormatter;
> - field's data type is tinyint, then it's sure kOptionsFormatter with
--
You received this message because you are subscribed to the Google Groups "In-Portal Development Team" group.
To post to this group, send email to in-por...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-de...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "In-Portal Development Team" group.
To post to this group, send email to in-por...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-de...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-dev?hl=en.
We'll be complete the truslation of this apge to English (from
Russian) and I propose to add all those super useful Article to have
linked on System tools page so developers don't have to go far once
they need it.
http://guide.in-portal.org/eng/index.php/K4:Formatters
Comments?
On Jan 20, 2:14 am, Alexander Obuhovich <aik.b...@gmail.com> wrote:
> Description of all formatters already exists athttp://guide.in-portal.org/rus/index.php/K4:Formatterspage.
>
> On Wed, Jan 20, 2010 at 4:54 AM, Dmitry Andrejev <dandre...@gmail.com>wrote:
>
>
>
>
>
> > Nikita even your idea is not that bad, I think Alex is right here.
>
> > The proposed logic will make developers to remember and start using wrong
> > Data types while we barely have 5 or 6 all together.
>
> > One other nice idea would be to have description of the Formatters (link to
> > it) handy. This can be done later of course.
>
> > What do think on this?
>
> > DA
>
> >> > Task:http://tracker.in-portal.org/view.php?id=494(0000494: Slight
> >> > improvement to automatic field array builder (service tools)).
>
> >> > --
> >> > Best Regards,
>
> >> >http://www.in-portal.orghttp://www.alex-time.com
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "In-Portal Development Team" group.
> >> To post to this group, send email to in-por...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> in-portal-de...@googlegroups.com<in-portal-dev%2Bunsubscribe@goog legroups.com>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/in-portal-dev?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "In-Portal Development Team" group.
> > To post to this group, send email to in-por...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > in-portal-de...@googlegroups.com<in-portal-dev%2Bunsubscribe@goog legroups.com>