PUBLIC   marks

PUBLIC MARKS with tag libraries

Sponsorised links

December 2007

September 2007

Best Practices for Applying Ajax to JSR 168 Portlets

by holyver & 1 other (via)
A year ago, the article Asynchronous Rendering of Portlet Content With Ajax Technology demonstrated how to apply Asynchronous JavaScript and XML (Ajax) to portlets. Since then, Ajax has become increasingly popular in the software arena and many new Ajax technologies have emerged. Examples are JavaScript libraries and toolkits, such as the Dojo Toolkit, the Yahoo! UI Library, the Google Web Toolkit, Script.aculo.us, and DHTML Goodies. In addition, new standards bodies like Open Ajax and the Dojo Foundation are key players. In light of the many developments in the past year and the host of feedback on how to use Ajax in portlets, this article describes several helpful tips and practices on how best to exploit Ajax in portlets that comply with the Java Specification Request (JSR) 168: Portlet Specification.

Sponsorised links

June 2007

OCLC FictionFinder—Splash

by decembre & 2 others
« Faire travailler les données ». En indexant tout ce qui peut l’être dans son immense catalogue collectif WorldCat, OCLC offre de nouveaux services aux possibilités fascinantes : WorldCat Identities , pour tout savoir sur un nom de personne, qu’

May 2007

April 2007

March 2007

February 2007

WorldCat [OCLC]

by Mal Burns & 8 others (via)
Another new search facility in Beta. This one allows you to investigate worldwide libraries - just that, pure and simple!

Progressive Librarian

by Mal Burns (via)
Website for alterntive librarians and archivists.

January 2007

13 New, Improved, and Removed Modules

by pvergain
The ctypes package, written by Thomas Heller, has been added to the standard library. ctypes lets you call arbitrary functions in shared libraries or DLLs. Long-time users may remember the dl module, which provides functions for loading shared libraries and calling functions in them. The ctypes package is much fancier. To load a shared library or DLL, you must create an instance of the CDLL class and provide the name or path of the shared library or DLL. Once that's done, you can call arbitrary functions by accessing them as attributes of the CDLL object. import ctypes libc = ctypes.CDLL('libc.so.6') result = libc.printf("Line of outputn") Type constructors for the various C types are provided: c_int, c_float, c_double, c_char_p (equivalent to char *), and so forth. Unlike Python's types, the C versions are all mutable; you can assign to their value attribute to change the wrapped value. Python integers and strings will be automatically converted to the corresponding C types, but for other types you must call the correct type constructor. (And I mean must; getting it wrong will often result in the interpreter crashing with a segmentation fault.) You shouldn't use c_char_p with a Python string when the C function will be modifying the memory area, because Python strings are supposed to be immutable; breaking this rule will cause puzzling bugs. When you need a modifiable memory area, use create_string_buffer(): s = "this is a string" buf = ctypes.create_string_buffer(s) libc.strfry(buf) C functions are assumed to return integers, but you can set the restype attribute of the function object to change this: >>> libc.atof('2.71828') -1783957616 >>> libc.atof.restype = ctypes.c_double >>> libc.atof('2.71828') 2.71828

PUBLIC TAGS related to tag libraries

no tag

Sponsorised links