Skip to content

Recent Articles

12
Dec

YouTubeMaps / MapsTube / call it whatever you want..

Search for [local] videos by navigating through Google Maps.
Here’s my experiment of a YouTube and Google Maps APIs mashup:

 

http://youtubemaps.mplofa.com

Note that only Chrome/Chromium browsers are supported at the moment..

–enjoy!

27
Aug

YouTube PHP library

I was searching for a simple PHP library to access the YouTube API when I decided to create my own from scratch..

I ended up on spending a few hours fooling around in the YouTube API playground and coding.. The results can be found at the GitHub repository I’ve created for this library.

The following lines are part of the library’s Readme file:

YouTube PHP Library
Current Version: v0.6.0

A PHP library to retieve a user's video data from YouTube
Currently only READ operations are supported

Implements the following functions:
* Uploads :: getUploadsByUser
* Favorites :: getFavoritesByUser
* Playlists :: getPlaylistsByUser
* Playlist :: getPlaylist
* Playlist entries :: getPlaylistEntry
* Subscriptions :: getSubscriptionsByUser
* RelatedVideos :: getRelatedVideos

Supports the usage of a developer key - not required but suggested

Data can be retrieved in the following formats:
* ATOM
* RSS 2.0
* JSON

===== ToDo =====
* YouTubeVideoComments class to hold information about comments on videos
* YouTubeVideoUser class to hold informaiton about a user (its playlists / fav videos / comments, etc..)

===== CHANGELOG =====
v0.6.0 (2011/08/27 - 16:50) changelog:
* Added the following classes:
	* YouTubeVideo - A representation of a Video (TODO: add comments soon ;)  ) - a class for simplifying video loading
	* YouTubePlaylist - A representation of a Playlist - a class for simplifying playlist loading

Have fun! –Alex.

16
May

com_ask v0.6.3 repackaged

The com_ask v0.6.3 has been repackaged and reuploaded to github. This includes a hotfix for an bug relevant to the submission of answers from frontend. Please update!

8
Apr

Ask – com_ask v0.6.2 released!

Found some free time and released the next version of com_ask joomla 1.6 component!

v0.6.2 is here! More about ASK at its download page!

Features of this version include:

- IP Logging Functionality

- GRAVATAR Integration

- Categories

- Facebook Integration (Share, Like)

 

Have fun!

 

P.S: I would like to see your sites using my extension.. feel free to add a coment (or contact me) with a link!

21
Mar
Controller

Class Diagram: Joomla 1.6 Controller Classes

I am going to generate class diagrams for the most used classes in Joomla 1.6 in order to make its structure crystal clear and easy to adapt them.

I will begin with the core MVC classes, so here you can find a class diagram representing the controller classes ( JController, JControllerAdmin extends JController, JControllerForm extends JController).

Also, I am going to update this post so I will add comments and description of each class (and its methods, properties) – Soon!



(click on image for full-size view)

6
Feb

WUBI Ubuntu upgrade: 10.04 to 10.10

Ubuntu upgrades and updates were always been tricky for me. I assume this is because of the wubi installation and not a clear install.

First of all, after each kernel upgrade I had problems booting into ubuntu, because of grub / wubildr issues. I finally found a solution on this at the following site, Omar’s Blog. The solution this site proposes solved wubi booting problems.

Before about two hours, I decided to upgrade from Ubuntu 10.04 Lucid to 10.10 Maverick. Easy proccess:

  • Alt+F2
  • update-manager -d
  • ..following all the steps, reviewing the upgrade options..
  • and the necessary…REBOOT…

Everything seemed to be ok.. but this was not the case.. Selecting ubuntu from the dualboot screen made the computer reboot again..

Oh my..

I finally booted into windows searching ubuntu forums for a solution.. Guess what.. This is why I love ubuntu and its community.. Here is the solution!

For the record, it was enoough for my case to just copy C:\ubuntu\winboot\wubildr to C:\wubildr (the first was about 87KB while the second ~114KB).

To be honest, after all these, I think that keeping a Windows partition is essential to overcome ubuntu update issues..

29
Jan

Joomla 1.6 Component Developement

I recently came up on developing a joomla 1.6 native component. It is not ready yet but it’s a rather interesting process as there are many things changed in J!1.6 regarding the components.

Reading the official joomla documentation made me discover a lot of new things of 1.6′s core – apart from the ACL.

Firstly, the php classes. For creating an MVC component in Joomla 1.5 there was the need to use and extend three core classes:

  • JController
  • JModel
  • JView

Joomla 1.6 has a unique approach, extending these three classes a little further. JModel is now extended by JModelList for managing item lists and JModelItem for managing a single item. For the administration side of the component, JModelAdmin is also available.

1.6 also introduces some extension classes of JView, such as JViewForm. JContoller is also extended by JControllerAdmin, JControllerForm, etc.. I think there’s need of a class diagram including all theses new classes..(Or just open eclipse and navigate through joomla’s code..)

Currently, the tutorial available at Joomla 1.6 documentation is a little bit confusing, and not 100% complete. Let’s hope that in the recent future there will be a helpful update.

Conclusion: Joomla 1.6 changes the way of thinking about extensions development. It is a powerful framework that allows rich internet applications to be built on it..

I will come up soon with a case study of the aforementioned component, analyzing all the newly introduced parts of Joomla..

28
Jan

Attica24.gr – Finally Online..

Attica24 (http://www.attica24.gr) is finally online..