Portable drupal
Posted January 17th, 2009 | Last edited 01/17/2009 - 19:04 by xjsI was looking for a quick way for demonstrating Drupal to friends (.Net people). Asking people to install/config Apache and MySQL before they can feel Drupal has proven to be futile. Preferably I can have everything on a USB drive and the package can run on Windows with one click. Back to Rails days, I know Instant Rails can do the trick. Apparently there's no such thing for Drupal.
- xjs's blog
- Read more
- 9372 reads
- Comments
Authentication in Drupal's services module
Posted December 9th, 2008 | Last edited 12/08/2008 - 22:04 by xjsI have been struggling with user authentication for the services module ( 5-x.0.92). This is the first version I installed. However, by checking the handbook and the outdated examples, it's not hard to tell significant change has been made in this version, especially the user authentication part which requires api keys, HMAC with sha256 hashing function, etc.
- xjs's blog
- Read more
- 8392 reads
- Comments
Java XML-RPC client for Drupal's Services module
Posted November 29th, 2008 | Last edited 11/28/2008 - 23:12 by xjsI am trying to write a java xmlrpc client for Drupal's Services module. However, I got the "org.xml.sax.SAXParseException: Content is not allowed in prolog" error when I tried to call "system.connect()". This error occurs no matter which library I use, Redstone or Apache.
After some searching, I found this: http://www.openrdf.org/forum/mvnforum/viewthread?thread=86
Java doesn't handle BOMs on UTF-8 files properly, making the three header bytes appear as being part of the document. ...
- xjs's blog
- Read more
- 10322 reads
- Comments
Testing out Drupal's Service module using Python
Posted November 21st, 2008 | Last edited 11/20/2008 - 23:40 by xjsDrupal's Services module seems to be a right fit for my purpose as I am in the process of integrating a desktop application into my Drupal website. I decided to give it a quick test using Python. Although I don't know much about Python, there's an example available on Drupal.org and it's a scripting language.
- xjs's blog
- Read more
- 9334 reads
- Comments
xml-rpc, java, and eclipse
Posted November 12th, 2008 | Last edited 11/11/2008 - 21:46 by xjsThis writeup serves as a quick summary of my initial investigation of writing xml-rpc applications using java in Eclipse. It's hoped to be useful to whoever is reading this.
xml-rpc is a popular web service protocol. In case you haven't heard this before, one common application is publishing blogs from your desktop.
Popular open source XML-RPC library implementation in Java includes:
Apache XML-RPC
- xjs's blog
- Read more
- 9004 reads
- Comments
Bluetooth Audio
Posted October 24th, 2008 | Last edited 10/24/2008 - 10:10 by xjsThe Bluetooth mandatory audio codec for music is subband codec (SBC), as described in the
specification of the Advanced Audio Distribution Profile (A2DP) in appendix B.
SBC obtains high quality audio at medium bit rates with low
computational complexity. It uses the same polyphase filter bank as in MP3 with 4 or 8 subbands, an adaptive bit allocation
- xjs's blog
- Read more
- 4611 reads
- Comments
image transformation in C#
Posted October 21st, 2008 | Last edited 10/25/2008 - 17:37 by xjsTo perform image transformation in C# (c sharp), we'll need to use GDI+ of windows.
GDI+, supersedes GDI, is an improved 2D graphics environment. Graphics Device Interface (GDI) is one of the three core components or "subsystems" of Microsoft Windows. However, for games that need fast graphics rendering and rasterization for 3D, DirectX or OpenGL is preferred.
To use GDI+, you need to use System.Drawing namespace in C#.
- xjs's blog
- Read more
- 7170 reads
- Comments
C# tutorial
Posted October 17th, 2008 | Last edited 10/17/2008 - 14:09 by xjsFor a project I am working on, I need to have a basic understanding of C#. I've heard C# for very long time and been surrounded by .net developers, but my knowledge of it stays at a very rudimentary level. I only know it's very similar to Java, like single inheritance, interface, etc, and don't really understand why many programmers told me that they feel good about using C#.
Finally I decide to take a look. This is the first tutorial I found.
http://www.csharp-station.com/Tutorial.aspx
- xjs's blog
- Read more
- 4324 reads
- Comments
Integration of advanced profile kit
Posted October 3rd, 2008 | Last edited 10/03/2008 - 21:10 by xjsAdvanced Profile Kit (APK), as described its author, is a module that glues several drupal modules together to give you a professional looking user profile page.
- xjs's blog
- 1094 comments
- Read more
- 24629 reads
- Comments
Creating photo album in Drupal
Posted August 7th, 2008 | Last edited 08/08/2008 - 06:03 by xjsI am absolutely amazed by various of ways to create a photo album in Drupal
Popular modules include:
Gallery: uses external gallery2 package
Acidfree: uses Taxonomy, Image, Video, and Views modules
related discussion can be found here
Also see gallery review at http://drupalmodules.com/module/gallery
- xjs's blog
- 1534 comments
- Read more
- 49819 reads
- Comments
SpeakingX
Recent comments
10 hours 14 min ago
10 hours 45 min ago
15 hours 10 min ago
15 hours 11 min ago
15 hours 12 min ago
15 hours 12 min ago
15 hours 13 min ago
15 hours 14 min ago
15 hours 15 min ago
15 hours 16 min ago