PHP

eGogga / YaPHPfter

I've been working on a personal project for quite some time now, and would like to share it with the world. It's called eGogga, and it runs on the YaPHPfter framework.

Check it out at https://launchpad.net/yaphpfter and https://launchpad.net/egogga or read more here.

eGogga Components

eGogga runs on the YaPHPfter framework, which means that all of the application functionality are added though components.

Here is a list of components and what they do:

YaPHPfter Feature and Wish List

The idea with YaPHPfter is to give the coder a framework which takes away all of the grunt work of coding (another HTML form, another user login, remember me functionality AGAIN), and makes it easier for the coder to focus on creating an awesome app.

Here's some features and future features of YaPHPfter:

Names Explained

Some explanation for the name choices of YaPHPfter and eGogga:

eGogga
A "gogga" is Afrikaans for a bug, so from that we have eGogga for an electronic bug tracking system.
YaPHPfter
In the good tradition of acronyms and yet another's, I settled on Yet Another PHP framework, with the acronym YaPHPf. To pronounce it easier, it changed to YaPHPfter, which is almost like Jasper, which has nothing to do with the framework whatsoever :)

eGogga Release

This is just a prelim release of eGogga. It's chock n block full of functionality. Check it out!

Please don't hesitate to ask any questions!

You can also get the bazaar branch at https://code.launchpad.net/~jurgens.du.toit/egogga/main

PHP's <<< returns a value

A not well documented feature of heredocs or <<< in PHP is that it returns the string, making it possible to use with variables as well as with echo or print statements/constructs/functions:

ob_start et al or fopen('php://output', 'r+')

I was coding some extra functionality into some of my classes, and started writing code which exports a MySQL table to various formats, amongst others, CSV.

Now, PHP has to lovely functions, fgetcsv and fputcsv. The only problem is they only output to a file, nothing else. So, if you want the CSV data as a string, it complicates things.

Syndicate content