[En-Nut-Discussion] EIR and java script
Bernd Walter
enut at cicely.de
Sun Jan 31 12:07:38 CET 2010
On Sun, Jan 31, 2010 at 01:03:54PM +0100, Ulrich Prinz wrote:
> Hi András,
>
> looks like Ajax is sort of a 'simple' extension to java script and CGI
> that already exists in Nut/OS. And it looks like what I prefer for my
> EIR extension. I didn't find any option to submit a command to the
> server (EIR) without submitting the complete form and clearing the page.
You can always catch and tune form updates in javascript.
With javascript it is also possible to just submit the data without
touching the displayed data at all or just update a partial page.
> Can you hand me over that Ajax extension? I'd like to see it in Nut/OS
> if you don't mind.
Ajax is a browser thing.
Nut/OS already has everything you need.
On EIR you only need to add application related CGI functions.
E.g. add a CGI which only delivers the table with the radio station list
and not a full HTML page.
Then use Javascript/Ajax to do do the CGI request and fill the radio
station block in the page with the CGI result.
This is just a simple example - expirienced Javascript programmers
often ask for plain XML data instead of HTML fomated tables.
This way they can easily modify the result and use the plain data
almost everywhere.
>
> Best regards, Ulrich
>
> András Szemz?? schrieb:
> > Ohh, I see. I did it on SAM7X, where space is not so much. :)
> >
> > On Jan 29, 2010, at 6:06 PM, Ole Reinhardt wrote:
> >
> >> Hi!
> >>
> >>> I have implemented AJAX on one of my board. It's really simple, about 10-15 line of javascript and a CGI
> >>> function, no need to add that HUGE jquery lib.
> >> That's right. But jquery is still very cool to create very nice
> >> interfaces. If he uses the EIR he should have enough space to store the
> >> jquery library.
> >>
> >> Bye,
> >>
> >> Ole
> >>
> >> --
> >>
> >> Thermotemp GmbH, Embedded-IT
> >>
> >> Embedded Hard-/ Software and Open Source Development,
> >> Integration and Consulting
> >>
> >> Geschäftsstelle Siegen - Steinstraße 67 - D-57072 Siegen -
> >> tel +49 (0)271 5513597, +49 (0)271-73681 - fax +49 (0)271 736 97
> >>
> >> Hauptsitz - Hademarscher Weg 7 - 13503 Berlin
> >> Tel +49 (0)30 4315205 - Fax +49 (0)30 43665002
> >> Geschäftsführer: Jörg Friedrichs, Ole Reinhardt
> >> Handelsregister Berlin Charlottenburg HRB 45978 UstID DE 156329280
> >>
> >> _______________________________________________
> >> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
> >
> > _______________________________________________
> > http://lists.egnite.de/mailman/listinfo/en-nut-discussion
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
--
B.Walter <bernd at bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
More information about the En-Nut-Discussion
mailing list