November 9th, 2009
Some time ago I wrote a blog entry a modified demo of Wouter’s ACL & A2 using the AUTH module. At that time I used Kohana 2.3.4.
Now, this entry is to explain was needs to be changed to use the AUTH module instead of the A1 module for the demo of Wouter for the Kohana 3 release. At the same time, it can help you to understand what needs to be changed if you want to provide your own authentication module. The original announcement of Wouter’s module can be find at this Kohana forum discussion.
Keep reading for the explanation or go directly to the demo.
Read the rest of this entry »
10 Comments » | Posted in PHP, Uncategorized, kohana
September 21st, 2009
I have been using Kohana recently for a project I am working on. This project requires user registration and authentication, thus I found that there is a set of modules from Wouter that were created specifically for that. A thread in the Kohana Forum can be found here.
Those modules are:
A1: A simple & safe Authentication Library
ACL: Zend_ACL completely rewritten & improved for Kohana use.
A2: Object level authorization library
Even thought those modules work fine with each other, the first module, A1, can be easily replaced by any other module that provides the authentication, like the AUTH module from Kohana itself, and I will guess that maybe OpenID might do the trick here.
But in this post what I want to share is a modified version of the nice demo provided by Wouter on how to use those modules. My demo makes use of the AUTH module for authentication. So, let’s go to the explanation.
Try the online demo Here
Read the rest of this entry »
3 Comments » | Posted in PHP, kohana
July 15th, 2008
Follow these steps to have your Windows XP to work as a NAT but without the restrictions of ICS (Internet Connection Sharing)
Read the rest of this entry »
12 Comments » | Posted in Networking, Windows
July 15th, 2008
Hi all,
I will like to share with you that this project is going to be hosted at Google code. I have got the permission from one of the original authors and he agreed with it. I hope we can bring this package to a more serious level fixing bugs, adding new functionality and improving some performance issues. I haven’t had time to put the latest code in there, but as soon as I do it I will give an update in here.
Nano.
Leave Comment » | Posted in DICOM, PHP
July 1st, 2008
It’s been a while since I wrote something about this package. Gathering some statistics I found that there were about 12 downloads of the package in less than 3 months. Not so bad for me. But well, as every software development, it needs to be updated in order to fix bugs and to add some more functionality. And now is the time.
I will like to mention something about the page that I have placed for testing the package, for sure that page has more hits than the package downloads, and I do appreciate all the people who has taken the time to use it. But that page also needs some refinements. I will post the updates directly in there, but basically they are related to have the page do the parsing first and then put links to the images from the DICOM file and about the privacy of the contents of the uploaded files. In general I have noticed that the package works fairly well on parsing DICOM files (with one exception that created a huge error log) but it is not yet well suited for converting DICOM image data into image object.
Also, I just added the module for zip files on my server. Even though the functionality was already in place it was not working because the module was not enabled on my php.
Well, that’s it for the moment, I should be having a minor release soon.
2 Comments » | Posted in DICOM, PHP
April 7th, 2008
This is an updated version of the latest DICOM_php package available at the File_DICOM::Pear website. Last year I contacted David who is in charge of this package at pear.php.net, we had some emails exchanged but I haven’t seen any new release there; thus, I make this new unofficial version public so people can take advantage of the changes I made.
Read the rest of this entry »
11 Comments » | Posted in DICOM, PHP
May 24th, 2007
I have been developing an ePR (Electronic Patient Record) for Radiation Oncology at the research laboratory that I work (IPI Lab) . One of the tasks that I had to deal with was to have DICOM data automatically extracted. Since I like to work with php I found the php-DICOM package (technically called File_DICOM) at the PEAR website very helpful. It is a very nice piece of code that provides the elementary functionality to parse a DICOM file, which I certainly took advantage of. But due to the requirements for my project, I had to make some changes, thus I decided that it might be good to publish these changes so others like me will benefit from it. I have contacted the leader for this package and it looks that soon there will be a new release. Well, I’ll try to give more details next time.
Update: I have published the unofficial version of File_DICOM.php v0.3 here
2 Comments » | Posted in DICOM, PHP
April 3rd, 2007
In my previous posts I have given an update about the REST based authentication I am still working on; basically I am trying to have a two level of logout mechanism: one at the server side and the other at the client side. The server side to assure the authentication mechanism and the client side to share a common front-end logout to different back-end programming choices.
To start, I have to say that if you think that you will find a logout mechanism that works perfectly great for any browser platform in this article, then I recommend you to stop here and keep searching. From my experience, it can get really annoying at certain point; but it really helps you to understand what you are doing.
Read the rest of this entry »
3 Comments » | Posted in Javascript
March 26th, 2007
2 Comments » | Posted in Javascript, PHP
March 17th, 2007
Some time ago last year I wrote an article (link) describing a mechanism to achieve a logout when using apache authentication. Some time has passed and I think I should give it an update. Read the rest of this entry »
2 Comments » | Posted in Javascript, PHP