DappSocial DevLog #1

Wednesday 13 April 2011 6:49:48 am

By : Thiago Campos Viana

It has been some time since I started developing DappSocial, a social networking extension for eZ publish that mimics BuddyPress and DrupalCommons, so I will start a DevLog series.

What has been done so far:

  • A relationship datatype: Stores user relationship info.
  • An user experience datatype: Store user exp points.
  • A qavote datatype: It's a modified version of the ez star rating datatype, it works like a up/down vote system and uses user experience datatype.
  • A workflow event that creates some user subnodes after user activation.

All this features are not stable, so I decided to stop adding new features untill I make all the existing ones stable, or at least usable, so I will release a first stable version.

I think DrupalCommons and BuddyPress are great and I do not have any hope to release something as good as these products for eZ publish soon, specially not having any kind of support, but I hope release something that fill my current needs for my personal website that, as ez share site, needs user contributions, so, lets talk about what I see as my website problem, you may have the same problem.

I started a personal site about Unity3d and other softwares, so I wrote some tutorials, translated another ones, published some open source projects and so on. I was hoping to engage users to keep visiting the site, using the forums, giving me some feedback, inviting new users and everything more a user could do. So, I don't know how could I be surprised, I discovered that users just visit the site, read the content, and goes away, do not giving a "thanks" for my "hard" work, not commenting, doing nothing more than just read.

So I reallized that I can't blame the users, I needed to think about a solution for this problem, so, share team started talking about a new participation model for share site, and I started to think about this topic, participation model. Researching some solutions I found DrupalCommons and BuddyPress, both has an user points and badge system that I think is a great tool to improve the user experience, but as I don't like Drupal and Wordpress code, I started a new project for eZ publish called DappSocial.

I think it would be a nice idea to give user some extra content based on the merit, or to be straightforward, basing on the total user exp points or some badges. So, if a user reaches level 2 it gains access in a protected site area, then if he reaches level 3, or get some badge, he can download some secret content, and so on.

To gain exp and badges the user needs to participate on forums and complete some tasks.

I'm in an early stage of the development of my extension, I don't know how long I will continue developing it, but i really think it's the way to go for new websites that needs user contributions.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 01:00:31
Script start
Timing: Jan 18 2025 01:00:31
Module start 'layout'
Timing: Jan 18 2025 01:00:31
Module start 'content'
Timing: Jan 18 2025 01:00:31
Module end 'content'
Timing: Jan 18 2025 01:00:31
Script end

Main resources:

Total runtime0.0920 sec
Peak memory usage6,144.0000 KB
Database Queries44

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 587.9141152.6250
Module start 'layout' 0.00540.0034 740.539139.4531
Module start 'content' 0.00880.0817 779.9922365.9531
Module end 'content' 0.09050.0014 1,145.945315.7031
Script end 0.0919  1,161.6484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00303.2941150.0002
Check MTime0.00121.2935150.0001
Mysql Total
Database connection0.00070.756510.0007
Mysqli_queries0.042946.6309440.0010
Looping result0.00030.3429420.0000
Template Total0.056761.720.0284
Template load0.00232.465220.0011
Template processing0.054559.190320.0272
Template load and register function0.00010.110910.0001
states
state_id_array0.00151.655610.0015
state_identifier_array0.00101.140320.0005
Override
Cache load0.00192.0187240.0001
Sytem overhead
Fetch class attribute name0.00303.307030.0010
class_abstraction
Instantiating content class attribute0.00000.007530.0000
General
dbfile0.00171.8049100.0002
String conversion0.00000.009640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplblog_entry/full.tplextension/community_design/design/suncana/override/templates/blog_entry/full.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
1content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
3content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1content/datatype/view/ezkeyword.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezkeyword.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 8

Time used to render debug report: 0.0001 secs