Web-Apps
In this section you'll find some web applications (or modules for other web applications) I have developed, mostly using PHP.
Contents:
AJAX solution for CGI disabled server
Consider this scenario: You want to primarily host your home-page on a server in which CGI scripting (PHP, ASP, JSP, etc) are disabled due to security reasons (this is typically the case for many university/academic web-sites).
Conference Photo Manager (standalone)
Introduction: I have managed and developed several conference web-sites. Typically they are Drupal or Wiki sites with customizations. Among many such customizations one significant one was setting up of a system for managing (uploading and displaying) photos taken by various people during the conference.
Node File Access for Drupal
I created this security module for Drupal - my first stab at Drupal development. "Node File Access", as it is called, uses a host of generic approaches to identify files uploaded/created and used by modules like IMCE, Galarix and Upload, and associate them with the respective nodes that use them. The access to those files is then monitored by Node File Access, and access is granted to the files only if the user requesting it is able to access the node with which the file is associated. It maintains those associations dynamically (that is, it keeps updating associations as the use of the files move from one node to another or new files are added or files are removed from a node; resolves conflict of association when multiple nodes use the same file; protects associated files when a node is deleted) and gives access to files based on whether an user have access to the node to which the file associated to. It is also possible to manually search for and alter associations, or explicitly mention not to associate certain files with any node.
YAG - A Gallery tool for PmWiki
One more PmWiki tool written hastily. "Yet Another Gallery tool" for PmWiki - simple tool that creates and caches thumbnails of images, and display them in gallery with links to original images. Similar to Mini, but more suited for creating a thumbnail gallery distributed over multiple pages for large number of images. Images can be within the PmWiki (page attachments) or can be in WWW.
Live Edit for PmWiki
I just quickly wrote this PmWiki module today. It lets one edit parts/blocks/sections of a wiki page separately and from the wiki's view page. No more need to go to the edit form and search for the part of the wiki-text you want to edit from the large mess of wiki texts of the whole page. The recipe is secure, highly customizable and easy to use.
Edit-form Custom Fields for PmWiki
Using this PmWiki recipe one can add "Title", "Creation Date", etc. custom input fields to the edit form of PmWiki. This enables mentioning the title of a page in a separate input field rather than in the markup within the wiki-text. Also enables changing the value of a page's 'ctime'. The recipe can be customized to include more fields.
LaTeX in PmWiki
I just finished creating a module for PmWiki for rendering latex commands. It makes use of PDF-LaTeX and ImageMagick utilities installed on the server to enable interpretation and rendering of LaTeX commands in PmWiki and display them as images. Also, the module makes use of a cache, thus avoiding the expensive task of re-rendering every time a LaTeX snippet is requested. CMS like Drupal (and I guess MediaWiki as well) already have similar modules. So now we also have it for PmWiki as well!
I have released the module under GNU-GPL.
You can download the latest release from here:
http://www.pmwiki.org/wiki/Cookbook/TrueLatex