| Going Forward |
| Jmultimedia Suite | |||
| Written by Marcelo Eden Siqueira | |||
|
There was a week since the second milestone has began, JMultimedia back-end is divided in 3 parts (tabs) Medias, Categories & Comments. Flowing I explain deeply what i had done on each piece and the next steps Medias is the main pice of the comonent there administrators can manage (add, edit, delete, publish, ordering... all tipical fuctions) videos and medias, its already possible to upload videos from your computer, or add videos from suported streaming sites, admin can now play the video or run the applet direct from back-end, I overwriten the methods blind and check from JTable to validate the input data before save it, the model call functions from MediaTable , the controller run module methods, redirect the page and set messages, I've wrote some strs on en-GB-com_jmultimedia.ini just for test since languages is not the goal of this milestone. (Completed) Medias work is already finished if something still missing Im counting on you to report suggestions. Categories is used by JMultimedia to categorize Medias. One of most the interesting things there i found wile studing the core is simple com_categories, with this simple component is possible to categorize any item from any component in Joomla and this component is used by many core components like com_content, contacts and weblinks. and can be easly reused by any extenssion and its simple (I love simple solutions). When i began the program I was thinking on develop a custom categories system for JMultimedia with permitions control and multilevel. Then I read that this things are also on "white papers" and the core is already working on it.So I have no reason to "reinvent the whell" and don't like to hack the core. So I decided to take advantage of com_categories the best as possible, so when com_categories improves JMultimedia will also improve. (Completed) Hope to get tasks in com_categories for PBF, i woull like very mush to help refactoring this great extension. Comments is used b let users post their opinions about the media so orther may share. Well this is almost a prerequisit of web the 2.0, not just for articles. A great number of different extensions implements different comments systems and mayny cms iplements comments as part of the core. I passed some time studing joomla comment extensions, it was a bit dificult because the most relevant was for j1.0 so i needed to use legancy mode (got frustrating bugs..), i also installed drupal and WP. Like in categories I think that many different components can take advantage of a generic com_comments, So i started to develop the comments tab as simple as possible, in the table #__Jmultimedia_comments is a field called 'section' (just like in categories) this field must have the name of the component that the comment belong, and an the field 'itemid' tha holds the id of the item. (beginning) Im writing the controller and the model which iwill be commited tomorrow The youtube API is great and there are many cool applications build with it, is possible to upload videos to youtube and create customized players, the coolest exemple of the power of youtube api is timeTube http://www.dipity.com/mashups/timetube, and we may be able to put this kind of stuf into this project. but when this milestone end I must make a very important decission: should JMultimedia focus on fully integrating the youtube API and its aplications? Or to be as portable as possible accepting medias from many diferente streaming servers and developing generic functionalities that work any type? My next step is to finish the Comments tab, define configuration parameters, and create an usecases diagram for the frontend.
Thanks 4 the reading,
|




Monday, 16 June 2008
what u think about a generic comments system for joomla?
Monday, 16 June 2008