Re: Stroring html form settings

Поиск
Список
Период
Сортировка
От Martin Gainty
Тема Re: Stroring html form settings
Дата
Msg-id BLU142-W27DBAE1F52E33ED06E6123AE470@phx.gbl
обсуждение исходный текст
Ответ на Stroring html form settings  (Dianne Yumul <dianne@wellsgaming.com>)
Ответы Re: Stroring html form settings  (Dianne Yumul <dianne@wellsgaming.com>)
Список pgsql-general
which webserver does your client want to implement?
if webserver is Apache does your client favor any JavaScript Library <Dojo/Scriptaculous/Flex> ?
If JSLibrary = Dojo I would look at JSON (JavaScript Object Notation language)
http://today.java.net/pub/a/today/2006/04/27/building-ajax-with-dojo-and-json.html

if you want a full service multi-threaded solution you can implement your Dojo controls delivering JSON results
to Struts
http://struts.apache.org/2.0.11.2/docs/dojo-head.html

Martin
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission.


> To: pgsql-general@postgresql.org
> From: dianne@wellsgaming.com
> Subject: [GENERAL] Stroring html form settings
> Date: Thu, 25 Sep 2008 14:38:20 -0700
>
> Hello,
>
> I have some html forms that I save the settings into the database,
> things like which item was selected in the menu and if a checkbox was
> checked. The table looks like this:
>
> user_id | report_id | info
> ---------+-----------+------------------------------------------------
> 111 | 1 | A:::::CHECKED::::CHECKED::::CHECKED::
> 111 | 2 | A:::CHECKED::
> 111 | 3 | A::CHECKED:CHECKED::CHECKED::::CHECKED:::
>
> The info column has the settings separated with a : and consecutive
> colons mean the user didn't make a selection. Would this be the way
> to store them?
>
> I've done some searching and I could use XML (I will read some
> tutorials after writing this email). But there may be other ways and
> I'm just too much of a newbie to know. I'm using Postgresql 8.1.11
> and PHP on CentOS 5.2.
>
> Thanks in advance.
>
> Dianne
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general


See how Windows Mobile brings your life together—at home, work, or on the go. See Now

В списке pgsql-general по дате отправления:

Предыдущее
От: "Jeff Soules"
Дата:
Сообщение: Re: Stroring html form settings
Следующее
От: ries van Twisk
Дата:
Сообщение: Re: Doubt on query