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 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:
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:
Some explanation for the name choices of YaPHPfter and eGogga:
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
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:
I'm start work with a new company in October, and one of my duties will be to start up some kind of source repository. Yup, it's scary, there's still companies out there with no kind of source control. Anyway, I started thinking about how the log entries made when committing to the source repo can be helpful.
I'm busy creating a site for a client who wants to know when certain internal links get clicked. Not a problem, I just insert a record into a table every time the links they want to know about get accesesd. Only problem is, when I check the table, I notice that every page impression gets logged twice.
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.
I have a lot of info I'd like to post to one of my drupal website (www.whatsupinmelville.co.za), but, like any geek, I'm too lazy to do it manually. So instead of doing it manually (which will probably take me 2 or 3 hours), I'll code something to do it in a few minutes.
The fact that it will take me more than 2 or 3 hours, as I'm learning python in the process, doesn't detract from the experience :).