It is currently Fri Dec 05, 2008 2:00 pm (All times are UTC )

 





Post new topic Reply to topic  [ 12 posts ] 
Author Message
Posted: Mon Feb 27, 2006 10:11 am 
Joomla! Hero
Joomla! Hero
Offline

Joined: Fri Sep 02, 2005 10:06 am
Posts: 2986
Location: Solar system - Earth - European Union
My idea is to develop a new (simple & flexible) comment / review system based as Akocomment on bot (is it the right solution?) functionality. So through a bot you can add text at the bottom of an article.

Despite of Akocomment my idea is to use completely all Joomla power such as using the ID user in the DB and all the "hooks" of the new 1.1 environment... but in this case for avoiding any delay or misunderstanding I need links or suggestions/tips for my work.

Anyone?

_________________
former Q&T WorkGroup Joomla member - Italian Translation Team Member


Top
   
 
Posted: Mon Feb 27, 2006 3:57 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Fri Sep 16, 2005 8:41 pm
Posts: 3612
Location: NRW - Germany
you should at first take a look at the developer wiki on dev.joomla.org (the big button on top of this page labeled Developers) There are all events listed that are used in Joomla and how to use the plugin system.

_________________
god doesn't play dice with the universe. not after that drunken night with the devil where he lost classical mechanics in a game of craps.

Since the creation of the Internet, the Earth's rotation has been fueled, primarily, by the collective spinning of English teachers in their graves.


Top
   
 
Posted: Mon Feb 27, 2006 6:26 pm 
Joomla! Hero
Joomla! Hero
Offline

Joined: Fri Sep 02, 2005 10:06 am
Posts: 2986
Location: Solar system - Earth - European Union
well, thanx very much for your reply but my intention was to receive a more specific tip for this specific feature. We know that Akocomment isn't developped by anyone and there is a "protected" licence upon it. My intention is to start developping a new comment/review system in 1.1 in GPL with a glimpe at the Akocomment experience...

But reading the dev pages I'm a bit confused about how to well move. I don't like (as everyone, I presume) to delay my goal so I think it is more appropriate to ask for tips or a dedicated link in dev pages to study carefully or in deeper way... The problem is the time (very little), as usual and I need to use it at the best.

_________________
former Q&T WorkGroup Joomla member - Italian Translation Team Member


Top
   
 
Posted: Tue Feb 28, 2006 12:20 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Feb 09, 2006 1:41 am
Posts: 811
Location: Auckland, NZ
newart wrote:
well, thanx very much for your reply but my intention was to receive a more specific tip for this specific feature. We know that Akocomment isn't developped by anyone and there is a "protected" licence upon it. My intention is to start developping a new comment/review system in 1.1 in GPL with a glimpe at the Akocomment experience...


If you are asking about what features you should implement, I like the features that the AkoComment component has but I'd like to see the "Write Comment" link to be underneath the "Read More >>" link. Also I think the enhancement someone else made for spam protection (with the generated image) is a good idea, and it would be good to incorporate that.

Quote:
But reading the dev pages I'm a bit confused about how to well move. I don't like (as everyone, I presume) to delay my goal so I think it is more appropriate to ask for tips or a dedicated link in dev pages to study carefully or in deeper way... The problem is the time (very little), as usual and I need to use it at the best.


I find when I'm in a situation like that, I look at exising components/modules and try to figure out how they work and then slowly build up a skeleton just as proof of concept. Then, as I learn things I keep adding features. Ok, sometimes I have to backtrack when I see that I didn't plan ahead well enough but that's how I learn about these things.

I recently just built a component (to learn about component making) that just lists some joomla core parameters from $mainframe and some other objects and uses patTemplate and has a small admin section allowing the edititng of component parameters (which is pretty useless but still, practice). It doesn't have a database interface but that's for component.

The dev documentation is useful but I find looking through the actual code gets you into more advanced functionality. The problem is that the 1.1 code still has a lot of 1.0.x code lingering around and the use of the new features is not very consistent.

HTH


Top
  E-mail  
 
Posted: Tue Feb 28, 2006 2:46 pm 
Joomla! Hero
Joomla! Hero
Offline

Joined: Fri Sep 02, 2005 10:06 am
Posts: 2986
Location: Solar system - Earth - European Union
Thanx for the "feature request"and about your tip... if I well understand your one is that using the new 1.1 features isn't so much "necessary" as there are too many 1.0 codes or it is difficult to use the 1.1 code only... is it right?

So about the component I need to study a working component (simple with patTemplate) and the akoComment features. Thanx for your great tips about how to work and about the "skeleton process", I like very much!

well, about the proof component.... what component have I to study, in your opinion?

PS. I wonder if it is necessary a converter package from AkoComment DB...

_________________
former Q&T WorkGroup Joomla member - Italian Translation Team Member


Top
   
 
Posted: Tue Feb 28, 2006 2:54 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Fri Sep 16, 2005 8:41 pm
Posts: 3612
Location: NRW - Germany
He means that a lot of components still use 1.0 code and have not been refactored. At the moment, the most work has been done in regards to the API.

_________________
god doesn't play dice with the universe. not after that drunken night with the devil where he lost classical mechanics in a game of craps.

Since the creation of the Internet, the Earth's rotation has been fueled, primarily, by the collective spinning of English teachers in their graves.


Top
   
 
Posted: Tue Feb 28, 2006 3:09 pm 
Joomla! Hero
Joomla! Hero
Offline

Joined: Fri Sep 02, 2005 10:06 am
Posts: 2986
Location: Solar system - Earth - European Union
Thank you very much Hackwar for your clarification! Now it's very clear. Any tip from you? I have in the forge the project and I'd like to start...  :)

_________________
former Q&T WorkGroup Joomla member - Italian Translation Team Member


Top
   
 
Posted: Tue Feb 28, 2006 7:19 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Feb 09, 2006 1:41 am
Posts: 811
Location: Auckland, NZ
newart wrote:
Thank you very much Hackwar for your clarification! Now it's very clear. Any tip from you? I have in the forge the project and I'd like to start...  :)


Yes, indeed I meant to say that the 1.1 component code is still using a lot of 1.0 constructs and calls.

In your case, since you have to write a plugin I'd suggest to look at some of the new 1.1 plugins and how they hook into the page rendering process. As far as component code goes, your AkoComment rewrite really only has to have a component admin so look at some of the existing admin components like com_banners. The front end will be rendered in your plugin code and I'd say you could keep quite a bit of the original code and just replace some of the old style calls to the API with new style code like getting request parameters (JRequest :: getVar( 'task' )), JTemplate for patTemplates, JText for internationalisation etc...

Also, if you can make your component so that it is able to use an existing AkoComment database, that would be great.

HTH,
Robert


Top
  E-mail  
 
Posted: Tue Feb 28, 2006 8:03 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Fri Sep 16, 2005 8:41 pm
Posts: 3612
Location: NRW - Germany
A guide for plugins development is available on dev.joomla.org

_________________
god doesn't play dice with the universe. not after that drunken night with the devil where he lost classical mechanics in a game of craps.

Since the creation of the Internet, the Earth's rotation has been fueled, primarily, by the collective spinning of English teachers in their graves.


Top
   
 
Posted: Wed Mar 01, 2006 3:52 pm 
Joomla! Hero
Joomla! Hero
Offline

Joined: Fri Sep 02, 2005 10:06 am
Posts: 2986
Location: Solar system - Earth - European Union
I'm taking into great account the last 2 posts, about the guide and above all the clear tips for starting with the right step. I like the idea to "study" com_banners on the admin basis and about the AkoComment I think that I'll have a glimpe at that but I don't think to just rewrite the system...  :-\ My idea is to project a new comment system with some features, well known in AkoComment, inside it. So starting from a stable simple but complete version...

And about the spam comment risk, personally I don't like the image feature, it's difficult to read, it isn't an accessibility option, etc. IMHO it is important to have a wall against the spam but avoiding this confusing and ugly (graphicaly too) way of prevention. I have a revolutionary idea (but very simple) for that, never used before  :-\ but I am wondering if it is efficient or not...  ??? (another problem, so).

About the DB, I'd like to maintain the same one but for hardening the system I need at least another field for ID user... I think that an "upgrade" way such as a converter package should be necessary  :(

But at the moment I need to have well in mind my first step:
study the plugins guide
study the com_banners (admin)
find out a simple plugin in 1.1 for studing, too (any tip?)
study the com_content for editing/pubblishing rights

And about the request parameters, if I well understand these are the most important for my project:
JRequest :: getVar( 'task' )
JTemplate for patTemplates
JText for internationalisation
... stop?

_________________
former Q&T WorkGroup Joomla member - Italian Translation Team Member


Top
   
 
Posted: Fri Mar 24, 2006 1:06 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Nov 10, 2005 10:08 am
Posts: 799
newart wrote:
And about the spam comment risk, personally I don't like the image feature, it's difficult to read, it isn't an accessibility option, etc. IMHO it is important to have a wall against the spam but avoiding this confusing and ugly (graphicaly too) way of prevention.


Instead of com_securityimages, you could try the image feature from "spamfix for akobook" (find it on google). It's more subtle and less obtrusive than com_securityimages.


phlux0r wrote:
Also, if you can make your component so that it is able to use an existing AkoComment database, that would be great.

...Or you could add afeature to import from akocomment.

_________________
Services, training & extensions for Joomla
http://www.joomlatools.org
Better SEO & multi-lingual Joomla sites with Nooku
http://www.nooku.org


Top
  E-mail  
 
Posted: Mon Mar 27, 2006 8:23 am 
Joomla! Hero
Joomla! Hero
Offline

Joined: Fri Sep 02, 2005 10:06 am
Posts: 2986
Location: Solar system - Earth - European Union
:) Thanx a lot mjaz - I'll take yr tips into great consideration. At the moment I'm evaluating a lot of ideas... and I've already a project in mind but before developping I need to see a stable and unmodified joomla v. 1.5 (the new 1.1 renaming version)  ;)

_________________
former Q&T WorkGroup Joomla member - Italian Translation Team Member


Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group