[FX.php List] dashboard widgets and fx.php
Carl Anderson
Carl.Anderson at asu.edu
Tue Feb 27 07:24:27 MST 2007
At this point, I've successfully returned information via the PHP script to
a DIV, which is passed back to a Scroll Area in the widget. Works quite
well, and lets me format the information on the PHP side in any way that I
want. (Right now, it's a simple first line reverse indent to give the
appearance of a definition list, but it could be expanded to anything.)
--
Carl Anderson
Technical Support Analyst
Distance Learning
Herberger College of Fine Arts
Arizona State University
http://herbergeronline.asu.edu
> From: Bob Patin <bob at patin.com>
> Reply-To: "FX.php Discussion List" <fx.php_list at mail.iviking.org>
> Date: Mon, 26 Feb 2007 20:23:18 -0600
> To: "FX.php Discussion List" <fx.php_list at mail.iviking.org>
> Subject: Re: [FX.php List] dashboard widgets and fx.php
>
> I've been working on widgets some more, and have taken it a bit
> farther now; I've got 3 widgets written, 2 of which are finished:
>
> The first one reads from a database and returns the records in a
> scrollable list. In addition, you can write to the database (it's a
> phone log).
>
> The 2nd is for querying a database; I have 3 fields: one for
> username, one for password, and one for the query. The PHP receives
> the 3 strings, and assuming the username/password pair are legit,
> performs a query and returns the results.
>
> The only thing I haven't done yet, and which Carl said he's made
> headway with, is to return results into a table of set of DIV
> elements. With that, I'll be able to edit returned records as well...
>
> The 3rd widget is a work log widget; it still needs the ability to
> edit log entries, but other than that is working great.
>
> Bob Patin
> Longterm Solutions
> bob at longtermsolutions.com
> 615-333-6858
> http://www.longtermsolutions.com
>
> CONTACT US VIA INSTANT MESSAGING:
> AIM or iChat: longterm1954
> Yahoo: longterm_solutions
> MSN: tech at longtermsolutions.com
> ICQ: 159333060
>
>
> On Feb 26, 2007, at 7:28 PM, Kevin Futter wrote:
>
>> On 16/2/07 3:25 AM, "Carl Anderson" <Carl.Anderson at asu.edu> wrote:
>>
>>> Bob:
>>>
>>> I downloaded Dashcode two days ago, and with my admittedly limited
>>> understanding of Ajax and whatnot, I was able to cobble together a
>>> decent
>>> widget that pulls data via a call to a PHP script on our server.
>>> (Essentially it's a Web service, but that's a different story.)
>>>
>>> Right now the PHP script is doing nothing more than spitting out
>>> line-by-line sets of data, but that's exactly what I want for my
>>> purposes.
>>> Goals for this week, and the weeks following, are to expand this
>>> to allow
>>> writing to a database as well as more complex formatting.
>>>
>>> (Incidentally, it should be easy to write to a database, since
>>> it's just
>>> like connecting to a PHP script.)
>>
>> I've done something similar with widgets, FM, FX and RSS.
>> Basically, I use
>> FX to write a dynamic RSS feed for news content in one of our FM
>> databases,
>> and then developed a widget that simply calls it. Dashcode has a
>> default RSS
>> template that worked well here.
>>
>> --
>> Kevin Futter
>> Webmaster, St. Bernard's College
>> http://www.sbc.melb.catholic.edu.au/
>>
>>
>>
>> ------------------------------------------
>> This e-mail and any attachments may be confidential. You must not
>> disclose or use the information in this e-mail if you are not the
>> intended recipient. If you have received this e-mail in error,
>> please notify us immediately and delete the e-mail and all copies.
>> The College does not guarantee that this e-mail is virus or error
>> free. The attached files are provided and may only be used on the
>> basis that the user assumes all responsibility for any loss, damage
>> or consequence resulting directly or indirectly from the use of the
>> attached files, whether caused by the negligence of the sender or
>> not. The content and opinions in this e-mail are not necessarily
>> those of the College.
>>
>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
More information about the FX.php_List
mailing list