On Apr 29, 2008, at 7:06 AM, Asiri Rathnayake wrote:
Hi Sergiu,
On Mon, Apr 28, 2008 at 3:21 AM, Sergiu Dumitriu <sergiu(a)xwiki.com>
wrote:
Hi Asiri,
Asiri Rathnayake wrote:
Hi Devs,
I've gone through xwiki-core JIRA list and i selected following
three
issues
out of which i wish to pick a one. But before
jumping in, i need
some
guidance on which one to select. I thought it's best to ask from the
list
since i might not be aware of the severity of
these issues.
* XWIKI-2191 <http://jira.xwiki.org/jira/browse/XWIKI-2191> -
(When user
logout, his pages locks should be removed - Reported by Thomas
Mortagne)
This is the only focused issue from this list, as it has a specific
goal. It would take an experienced developer with some free time less
than 20 minutes to solve it. It would be a good issue for a complete
beginner.
I need some guidance :)
How can i track the execution from web interface to core ? I mean
when user
performs an action on the UI (like logging in, logging out, saving a
document etc.) how can i track down the execution of code ? From where
should i start looking into the code (entry point) ?
The entry point is XWikiAction.execute(). It initializes the xwiki
context, then the xwiki object and then calls the abstract action()
and render() methods, implemented by the specific action executed (for
example ViewAction). The render() method returns the name of a
template file (*.vm files) to load. The template file then executes.
-Vincent
I hope my explanation is clear enough.
Thanks.
- Asiri
>
>> * XWIKI-1538 <http://jira.xwiki.org/jira/browse/XWIKI-1538> -
>> (Improve
>> performance by efficiently using synchronized code - Reported by
>> Sergiu
>> Dumitriu)
>
> This is not something easy, as requires searching all the platform
> for
> synchronized code, deciding how to best fix it, and all this
> requires a
> deeper knowledge of how the entire core works, so I'd advice against
> this. Yet, this would be the issue with the best impact, as it will
> improve the speed.
>
>> * XWIKI-671 <http://jira.xwiki.org/jira/browse/XWIKI-671> -
>> (Refactor
> the
>> code using deprecated API - Reported by Sergiu Dumitriu)
>
> This is a good issue if you want to learn the platform. Again, it
> is not
> something specific, and requires looking through all the code,
> learning
> how different parts of the platform work, getting in contact with
> different libraries. The downside is that it is quite large, so it
> will
> take several days to fix all the deprecations.