As you know, I’m working on enhancing profiles.wordpress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ as a part of GSoC’13 and this is my second weekly update regarding how things are going.
First of all, you can find my whole final schedule here: http://www.mertyazicioglu.com/2013/06/25/gsoc-2013-schedule-enhance-profiles-wordpress-org/
As you can see from the schedule, the things I was planning to complete by now was as follows:
June 25th – A wireframe of the new profile design (Better Representation of the Information), a local replica of the live environment (Enhanced Activity Stream) and the research regarding how we can feed the Activity Stream with Trac Trac is the place where contributors create issues for bugs or feature requests much like GitHub.https://core.trac.wordpress.org/. and bbPress Free, open source software built on top of WordPress for easily creating forums on sites. https://bbpress.org. data properly (Enhanced Activity Stream) should complete by now.
Now let’s go into some details 🙂
I actually prepared the wireframe of the new profile design even before the coding started, so I was running ahead of the schedule for that task. I shared it with my mentors and no change was proposed. The only thing mentioned was the existence of the Gamification-related widgets I put for demonstration purposes only. As mentioned in my previous weekly update, we are not planning to work on Gamification this summer but we will most certainly work on it after the GSoC completes. So here is the wireframe I prepared which is still and completely subject to change, as Jen will be helping us on this 🙂
This is mostly just to explain better what I have in my mind right now.
My other task was to replicate the .org environment to be able to work on “Enhanced Activity Stream”-related tasks. I have installed bbPress, Trac, WordPress and BuddyPress locally and will be testing the codes I will be writing, on those installations in the upcoming weeks.
Finally and most importantly, my final task for this week was to conduct a research regarding how we can feed the Activity Stream with Trac and bbPress data properly. As a result of that research, I have decided to write a BuddyPress plugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party to receive the data we will be using to feed the Activity Stream. Here are the pieces of data I’m planning to store:
- Support Forums Activity
- New topic
- New reply
- Trac Activity
- Core Core is the set of software required to run WordPress. The Core Development Team builds WordPress. Trac
- New Ticket
- Reply in Ticket
- Plugins Trac
- New commit
- New Ticket
- Reply in Ticket
- Plugin Directory Activity
- New Plugin
- New Favorite
- New Review
- Theme Directory Activity
- New Theme
- New Review
To find the best way to listen to the Trac activity, I dug the Trac documentation quite a bit and analysed some of the Trac plugins. Luckily, Trac is fairly pluggable and we can write a plugin in Python that passes the necessary data to BuddyPress. However, I’m not quite sure whether it is okay to add a plugin to Trac for this purpose, or not. If we can’t, then I’ll be writing a PHP PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. http://php.net/manual/en/intro-whatis.php. script that regularly runs and checks to see if there are any new Trac activity, instead.
Similarly, in order to bind to Support Forums, Plugin Directory and Theme Directory, I will be writing bbPress plugins that send the data to BuddyPress, just like the plugin/script for Trac does.
To sum up:
To give some details regarding the endpoints I may use to listen to Trac activities:
In the next week’s update, I will be presenting the codebase for feeding the Enhanced Activity Stream from Trac and hopefully a little bit more 😉
See you next week!