Topic: jQuery

Articles that touch on the jQuery Javascript library

Pharmaceutical Quality System Software Design

Posted in Tech on March 3rd, 2012 by Stephen DeGrace Link
Topics: jQuery, AJAX, Web Design, Django

I don't know much, or anything, about how software for pharmaceutical quality systems is designed, so this is a speculative article about how I think it might be done, and I may not come up with any good answers about how they do it after defining the requirements. So this is just for the mental exercise. By "quality systems," I mean computer systems that replace paper documents in a traditional quality system. So, for example, out of spec investigation reports, inspection reports, nonconformance, deviations and so on. LIMS systems expand this to include absolutely all raw data. All modern computerized quality systems evolved from paper-based systems from before the computer era, and in my view the place to start is to examine the specifications and capabilities of the paper system and see how it can be replicated in a computer-based system. I'm imagining this as if I wanted to get into this business, how would I make the product, although that's not something I seriously intend.

read more...

Review: Django JavaScript Integration: AJAX and jQuery

Posted in Django on April 16th, 2011 by Stephen DeGrace Link
Topics: Reviews, jQuery, AJAX

A while back, I was asked to review the book Django JavaScript Integration: AJAX and jQuery, written by Jonathan Hayward, published by www.PacktPub.com. The company is looking for people who have blogged about the topic of the book to write reviews of it on their blogs - as this is a topic I have written about and I was very interested reading a book-length discussion on the topic for free, of course I agreed. If you would like a sampling from the book, a chapter is available for free online (Chapter No.10 - Tinkering Around: Bugfixes, Friendlier Password Input, and a Directory That Tells Local Time). I think this chapter is fairly characteristic of the book as a whole and will give you a good sense of what Hayward has to offer. I think some people would enjoy this book and get something out of it, but my personal reaction was more of disappointment. Overall, I'm glad I didn't pay good money for this book.

read more...

Reviewing a Book on jQuery and Django

Posted in Django on March 21st, 2011 by Stephen DeGrace Link
Topics: Reviews, jQuery, AJAX

I got asked to review the book Django JavaScript Integration: AJAX and jQuery from www.PacktPub.com. That constitutes work, and I'm already a busy guy. However, I am quite excited to do it, because it means that basically I get to read the book for free, and it looks really interesting. In the meantime you can follow this link to read a chapter from the book for free (Chapter No.10 - Tinkering Around: Bugfixes, Friendlier Password Input, and a Directory That Tells Local Time). I haven't really had a chance to start reading yet, but I plan to start soon. I'm really excited to see that someone is addressing this topic in depth because of what I see as its key importance to the future of Django.

read more...

Django and jQuery Ajax Patterns

Posted in Django on January 30th, 2011 by Stephen DeGrace Link
Topics: jQuery, AJAX

In a previous article, I talked about the increasing role of Ajax libraries in the development of websites in Django's main target genre (news sites) in light of Django's policy not to "bless" any given popular Javascript library. This is in contrast with Rails's tight integration with the Prototype Javascript library, Rails being the framework Django is most often compared to. My experience with Javascript frameworks is with jQuery, apparently the rising star and most prominent example at the moment. I have found that Django and jQuery are actually able to interoperate quite well, and in this article I will summarize some basic development patterns in using Django together with jQuery.

read more...

Django and AJAX

Posted in Django on October 12th, 2009 by Stephen DeGrace Link
Topics: jQuery, AJAX

At the moment, Django does not heavily emphasize support for AJAX. Django does provide convenient serializers to exchange objects with the client in JSON or XML format, and of course it can easily send a response to a request in any format, so it certainly supports AXAJ, and JSON even when not running under Python 2.6 via the inclusion of simplejson in django.utils.

read more...