Re: [WebDNA] Code Library

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110456
interpreted = N
texte = --Apple-Mail=_2329967C-0570-4D34-9392-87BBD1BFB03E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 The Kendo UI is easy to install but the documentation is a bit all over = the place when it comes to configuration. This gave me some good insite: http://docs.kendoui.com/tutorials/PHP/build-apps-with-kendo-ui-and-php The hardest thing was getting the JSON to come off the server properly, = but then I remembered a trick that Ken Grome told me about 10 years ago. = [SETMIMEHEADER] This is also invaluable for getting things right: http://jsonlint.com If your JSON does not validate then the Kendo will not work. The trap I = fell into was pasting my code into the validator which showed as valid, = however the server was sending back Content-Type text/html which caused = the validation to fail. I had the server set up to serve .json files as = application/json but when I ran it through WebDNA it reverted back to = text/html. This in the top of the files creating the JSON fixed the = problem: [SETMIMEHEADER name=3DContent-Type&value=3Dapplication/json] Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 17/06/2013, at 10:03 PM, William DeVaul wrote: > Looks really good. I like that changed fields are tagged with a red = triangle. How challenging was Kendo UI to learn? Just a javascript = library built on jQuery? >=20 > Bill >=20 >=20 > On Mon, Jun 17, 2013 at 7:09 AM, Stuart Tremain = wrote: > I knocked this together on the weekend while trying to teach myself = the Kendo UI. >=20 > http://code.idfk.net >=20 > It features resizable, sortable & rearranging table columns, just = click & hold a column to move it left or right. Click on a title to see = it sort. Drag the column divider to resize. Inline editing is done via = AJAX & JSON. >=20 > It is built with frames so they are resizable in the normal way. >=20 > I have also done the textarea with an elastic line numbered = background. >=20 > A few other bells and whistles. >=20 > The data is all live but not important if you trash it. >=20 > Search works on Snippet Name. >=20 > Love to hear your thoughts. >=20 >=20 > Regards >=20 > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au >=20 >=20 >=20 >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us --Apple-Mail=_2329967C-0570-4D34-9392-87BBD1BFB03E Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 The = Kendo UI is easy to install but the documentation is a bit all over the = place when it comes to configuration.

This gave me = some good insite:
http://docs.kendoui.com/tutorials/PHP/build-apps-with-kendo-ui-and-p= hp

The hardest thing was getting the JSON = to come off the server properly, but then I remembered a trick that Ken = Grome told me about 10 years ago. = [SETMIMEHEADER]

This is also invaluable for = getting things right:
http://jsonlint.com
If your = JSON does not validate then the Kendo will not work. The trap I fell = into was pasting my code into the validator which showed as valid, = however the server was sending back Content-Type text/html which caused = the validation to fail. I had the server set up to serve .json files as = application/json but when I ran it through WebDNA it reverted back to = text/html. This in the top of the files creating the JSON fixed the = problem:
[SETMIMEHEADER = name=3DContent-Type&value=3Dapplication/json]


Regards

Stuart = Tremain
IDFK Web Developments
AUSTRALIA




On 17/06/2013, at 10:03 PM, William DeVaul <wdevaul@gmail.com> = wrote:

Looks really good.  I like that = changed fields are tagged with a red triangle.  How challenging was = Kendo UI to learn?  Just a javascript library built on = jQuery?

Bill


On Mon, Jun 17, 2013 at 7:09 AM, = Stuart Tremain <webdna@idfk.com.au> = wrote:
I knocked this together on the = weekend while trying to teach myself the Kendo UI.


It features resizable, sortable = & rearranging table columns, just click & hold a = column to move it left or right. Click on a title to see it sort. Drag = the column divider to resize. Inline editing is done via AJAX & = JSON.

It is built with frames so they are resizable in the = normal way.

I have also done the textarea with = an elastic line numbered background.

A few = other bells and whistles.

The data is all live but not important if you trash = it.

Search works on Snippet = Name.

Love to hear your thoughts.


Regards

Stuart Tremain
IDFK Web = Developments
AUSTRALIA




--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us

= --Apple-Mail=_2329967C-0570-4D34-9392-87BBD1BFB03E-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Code Library (Stuart Tremain 2014)
  2. Re: [WebDNA] Code Library (christophe.billiottet@webdna.us 2014)
  3. Re: [WebDNA] Code Library (Lori Palmquist 2013)
  4. Re: [WebDNA] Code Library (Stuart Tremain 2013)
  5. Re: [WebDNA] Code Library (Stuart Tremain 2013)
  6. Re: [WebDNA] Code Library (Stuart Tremain 2013)
  7. Re: [WebDNA] Code Library (Donovan Brooke 2013)
  8. Re: [WebDNA] Code Library (John Butler 2013)
  9. Re: [WebDNA] Code Library (Lori Palmquist 2013)
  10. Re: [WebDNA] Code Library (Jym Duane 2013)
  11. RE: [WebDNA] Code Library ("Michael A. DeLorenzo" 2013)
  12. Re: [WebDNA] Code Library (William DeVaul 2013)
  13. [WebDNA] Code Library (Stuart Tremain 2013)
--Apple-Mail=_2329967C-0570-4D34-9392-87BBD1BFB03E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 The Kendo UI is easy to install but the documentation is a bit all over = the place when it comes to configuration. This gave me some good insite: http://docs.kendoui.com/tutorials/PHP/build-apps-with-kendo-ui-and-php The hardest thing was getting the JSON to come off the server properly, = but then I remembered a trick that Ken Grome told me about 10 years ago. = [setmimeheader] This is also invaluable for getting things right: http://jsonlint.com If your JSON does not validate then the Kendo will not work. The trap I = fell into was pasting my code into the validator which showed as valid, = however the server was sending back Content-Type text/html which caused = the validation to fail. I had the server set up to serve .json files as = application/json but when I ran it through WebDNA it reverted back to = text/html. This in the top of the files creating the JSON fixed the = problem: [SETMIMEHEADER name=3DContent-Type&value=3Dapplication/json] Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 17/06/2013, at 10:03 PM, William DeVaul wrote: > Looks really good. I like that changed fields are tagged with a red = triangle. How challenging was Kendo UI to learn? Just a javascript = library built on jQuery? >=20 > Bill >=20 >=20 > On Mon, Jun 17, 2013 at 7:09 AM, Stuart Tremain = wrote: > I knocked this together on the weekend while trying to teach myself = the Kendo UI. >=20 > http://code.idfk.net >=20 > It features resizable, sortable & rearranging table columns, just = click & hold a column to move it left or right. Click on a title to see = it sort. Drag the column divider to resize. Inline editing is done via = AJAX & JSON. >=20 > It is built with frames so they are resizable in the normal way. >=20 > I have also done the textarea with an elastic line numbered = background. >=20 > A few other bells and whistles. >=20 > The data is all live but not important if you trash it. >=20 > Search works on Snippet Name. >=20 > Love to hear your thoughts. >=20 >=20 > Regards >=20 > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au >=20 >=20 >=20 >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us --Apple-Mail=_2329967C-0570-4D34-9392-87BBD1BFB03E Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 The = Kendo UI is easy to install but the documentation is a bit all over the = place when it comes to configuration.

This gave me = some good insite:

The hardest thing was getting the JSON = to come off the server properly, but then I remembered a trick that Ken = Grome told me about 10 years ago. = [setmimeheader]

This is also invaluable for = getting things right:
If your = JSON does not validate then the Kendo will not work. The trap I fell = into was pasting my code into the validator which showed as valid, = however the server was sending back Content-Type text/html which caused = the validation to fail. I had the server set up to serve .json files as = application/json but when I ran it through WebDNA it reverted back to = text/html. This in the top of the files creating the JSON fixed the = problem:
[SETMIMEHEADER = name=3DContent-Type&value=3Dapplication/json]


Regards

Stuart = Tremain
IDFK Web Developments
AUSTRALIA




On 17/06/2013, at 10:03 PM, William DeVaul <wdevaul@gmail.com> = wrote:

Looks really good.  I like that = changed fields are tagged with a red triangle.  How challenging was = Kendo UI to learn?  Just a javascript library built on = jQuery?

Bill


On Mon, Jun 17, 2013 at 7:09 AM, = Stuart Tremain <webdna@idfk.com.au> = wrote:
I knocked this together on the = weekend while trying to teach myself the Kendo UI.


It features resizable, sortable = & rearranging table columns, just click & hold a = column to move it left or right. Click on a title to see it sort. Drag = the column divider to resize. Inline editing is done via AJAX & = JSON.

It is built with frames so they are resizable in the = normal way.

I have also done the textarea with = an elastic line numbered background.

A few = other bells and whistles.

The data is all live but not important if you trash = it.

Search works on Snippet = Name.

Love to hear your thoughts.


Regards

Stuart Tremain
IDFK Web = Developments
AUSTRALIA




--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us

= --Apple-Mail=_2329967C-0570-4D34-9392-87BBD1BFB03E-- Stuart Tremain

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

using listfiles to build a database? (2000) database size? (1997) Country & Ship-to address & other fields ? (1997) Shell script within a sandbox (2005) WebCatalog can't find database (1997) [WebDNA] doesn't "&max=1" work in a [delete] context? (2009) [isfolder] and [filename] (1997) Security Hole - NetCloak Update (1998) Sandbox Prefs (2003) How do you hide [math]stuff[/math] (1997) Problems getting parameters passed into email. (1997) Where's Cart Created ? (1997) Today's suggestions (1998) weird happenings (1997) Keep away (1997) All questions are welcome on this list (1997) Selected Item in Pop-down (2003) Possible Macv2.1b2 Merge Bug (1997) PCS Frames (1997) sendmail spaces (1997)