ProjectSkyLine has made available various open source tools and applications we've developed. And by open source we mean *free* utilities that you can take, alter and re-distribute...just don't forget to let us know about your improvements!
Abstract:
pCms (Project Content Management System) is a lightweight CMS solution for small applications and web pages. It provides a dynamic interface for any database tables you wish to edit. There is no configuration. Just enter the name of the database and password and hit 'Connect'. Developers don't always need the extra options of other CMS solutions and the relative bloat. pCMS provides the essential feature; content management, free of bloat and open source.
Latest Release:
pCms Alpha 0.3 (.tar)
Files included:
- lib/
- lib/DBAS.php
- lib/HTML.php
- lib/CONS.php
- lib/EERC.php
- PCMS.php
Documentation:
None yet
Abstract:
pCal (Project Calendar) is a Project Management Calendar for small companies. It helps remote users stay in touch with others in their team and provides a lightweight and easy to use interface.
 |
Works in any web browser |
Synchronize tasks across platforms and locations |
Schedule events in the future |
Easily move events forward with click of a link |
Uses HTTPS for secure transactions |
|
Latest Release:
pCal Beta 2.1 (.tgz)
Files included:
- createdb.php
- img/
- img/psl_logo.png
- index.php
- lib/
- lib/DBAS.php
- lib/HTML.php
- lib/PCAL.php
- README.txt
- style.css
Documentation:
pCal Manual (.txt)
Abstract:
nass (Network ASSistant) is an IRC Bot written in PHP. It was created to demonstrate the implementation of error handling wrappers for all function
calls. It is very unique because it requires variables to be defined before they are used and 'freed' after they are used. This exercise essentially creates a C-style syntax for PHP programming.
Here is a sample use of the Wrapper for every call in the program.
All procedures must return 'debug_backtrace( )'
on error or constAppSuccess on success.
If you want to check the return value of a procedure
pass that value by reference.
function myFunc($val, &$returnVal)
{
if ( $val < 0 )
{
$returnVal = constSomethingGood;
ERRH_HE(myFunc2($val));
}
else
{
$returnVal = constSomethingBad;
return -1;
}
}
function myFunc2($val)
{
if ( $val < 0 )
return debug_backtrace( );
else
return 1;
}
ERRH_HE(myFunc2(-1)); //generates entry in errorlog.txt
...
ERRH_HE(myFunc(-1, $returnVal)); // generates two entires..
if ( $returnVal == constSomethingBad )
exit 0;
Error log entries look like this:
date: Fri, 12 Jan 2007 17:34:17 -0500
file: /var/www/html/pslnew/nass/NASS.php
line: 46
func: COMM_SocketWrite
args: [0]Resource id #9 [1] [2]data is NULL
Which is very cool for PHP. This allows you to see the file, line, func and arguments passed to that function.
This is made possible because every 'failing' function call returns debug_backtrace( ), which will be returned
all the way to the file writing procedure. This enables us to actually see the parent function that failed.
Currently the bot will sit in a given channel and provide OP status to those that /msg the bot and provide the key.
ProjectSkyLine is currently using the bot to help control our channel.
Execute with:
linus@linux> php NASS.php &
Latest Release:
nass alpha 1.0 (.tar)
Files included:
- bot.conf
- COMM.php
- errorlog.txt
- NASS.php
Documentation:
None Yet
|