Support Forum Project Downloads FAQ Documentation About Demo Tutorials Blog Plugins
November 21, 2009, 09:44:36 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: cpg1.5.2 beta released
The brand new cpg1.5.x series that comes with a lot of new features finally has reached the release stage: a first public beta release cpg1.5.2 has been released that is mainly aimed at translators, testers and community members that have contributed in the past. The beta release is not meant to be used in a production environment, but only on testbeds and for evaluation purposes. There is currently no support for cpg1.5.x yet!
[more]
   Home   Help Search Board rules Login Register  
Pages: [1] 2   Go Down
  Send this topic  |  Print  
Author Topic: GSOC: ideas for implement AJAX features to core.  (Read 51514 times)
0 Members and 1 Guest are viewing this topic.
sameera Topic starter
VIP
***
Gender: Male
Sri Lanka Sri Lanka

Posts: 76

♫ Enjoying with your heart is the wealth


« on: March 26, 2008, 02:42:40 pm »

Hi all,

Last few days I was working with the Coppermine code (1.5x) and got familiarized with it. As Sander and Abbas suggested I hope to add more Ajax features to the Coppermine core and I'm sure it will give a good feeling to users.

Here are few points I would like to work on during the SoC period.

1. Drag and drop sorting of albums and categories using JQuery UI, which I believe will help to improve the look and feel of Coppermine. 

2. One major negative point (but which can be improved very easily) I noticed is current help box system which create a new popup every time in a new window. We can replace this easily using AJAX dialog boxes and again give a new feeling to the help system.

3. Another idea is to give the ability to upload any number of files using some Javascript node handling and also to show the upload progress using a PHP Ajax file upload script.

4. To improve the look of features like commenting by adding some AJAX sliding, transparency effects .etc (instead of the current singe line text box for commenting).

5. Improving the look of Slid Shows by introducing AJAX navigation and display.

6. Use unobtrusive Javascript to improve the usability and using Javascript styles to minimize the loading time and optimize the performance.
 

These are few suggestions that can improve the look of Coppermine IMHO and I'd be thrilled to have your input into these suggestions. Also I'd be very grateful if you can prioritize these ideas so I can think of a project scope suitable for SoC time period.

please comment, then it will help to prepare the proposal.

Thank you

Cheers!
Nuwan..
Logged
chetan_j9
Coppermine newbie

Posts: 15


« Reply #1 on: March 26, 2008, 04:29:01 pm »

hi ..

In the idea #3
ie.
> 3. Another idea is to give the ability to upload any number of files using some Javascript node handling and also to show the upload progress using a PHP Ajax file upload script.

- What do u mean by Javascript node handling ??
- Did u mean a client side javascript that can parse though directory structure of client ? ( this is not possible using javascript )
- Can u explain , how would u try to show the upload progress usiong a PHP Ajax file upload scrip ?? ( I have never seen such a thing any where .., i wonder ! )
Logged
SaWey
Dev Team member
****
Gender: Male
Belgium Belgium

Posts: 1119



WWW
« Reply #2 on: March 26, 2008, 04:59:15 pm »

I have the same question about the 'node handling'?

a progress bar is possible though it will need something more then AJAX, there's already a plugin for jQuery that can do the job: jqUploader
It comes with the same licence as jQuery, so it is possible to be used in CPG.
Logged
Aditya Mooley
Dev Team member
****
Gender: Male
India India

Posts: 769



WWW
« Reply #3 on: March 26, 2008, 06:55:04 pm »

The best way to handle upload is to make it like the one in cpgNG.
Register on the site and see how the upload screen works.
The JS code written for it is very ugly as at the time we wrote this, there was no library available.
I don't have the NG code currently with me, but as far as I remember, we had used sessions to handle multiple uploads.
Logged

--- "Its Nice 2 BE Important but its more Important 2 Be NICE" ---
Follow Coppermine on Twitter
sameera Topic starter
VIP
***
Gender: Male
Sri Lanka Sri Lanka

Posts: 76

♫ Enjoying with your heart is the wealth


« Reply #4 on: March 26, 2008, 08:59:42 pm »

Hi..,
I thought it's clear enough when I said 'javascript node handling', but seems it wasn't Smiley, what I meant is to add a file browsing field using DOM handling.

This is a URL for having some of information about file upload handling using AJAX.
http://bluga.net/projects/uploadProgressMeter/
To use a 3rd party upload script which handles this upload task using AJAX + php.

As Aditya mentioned “>>the best way to handle upload is to make it like the one in cpgNG”.
I will check and determine how can implement handling multiple uploading in this case.

Thanks.
Logged
SaWey
Dev Team member
****
Gender: Male
Belgium Belgium

Posts: 1119



WWW
« Reply #5 on: March 26, 2008, 10:14:37 pm »

Hi..,
I thought it's clear enough when I said 'javascript node handling', but seems it wasn't Smiley, what I meant is to add a file browsing field using DOM handling.

This is a URL for having some of information about file upload handling using AJAX.
http://bluga.net/projects/uploadProgressMeter/
To use a 3rd party upload script which handles this upload task using AJAX + php.

As Aditya mentioned “>>the best way to handle upload is to make it like the one in cpgNG”.
I will check and determine how can implement handling multiple uploading in this case.

Thanks.


Hmm, how would you use the DOM for file browsing???
Logged
Aditya Mooley
Dev Team member
****
Gender: Male
India India

Posts: 769



WWW
« Reply #6 on: March 27, 2008, 04:53:27 am »

@sameera - The link you have given has two demos. One shows actual upload progress like upload speed and remaining time but it needs you to patch PHP. So, we cannot use this type of upload.
The second one just shows the progress bar with no information on progress.

So, IMO, we should not think of upload progress functionality at this moment and concentrate on a more user friendly way to upload multiple files.
Logged

--- "Its Nice 2 BE Important but its more Important 2 Be NICE" ---
Follow Coppermine on Twitter
Abbas Ali
Administrator
*****
Gender: Male
India India

Posts: 2087


Spread the PHP Web


WWW
« Reply #7 on: March 27, 2008, 05:04:03 am »

@sander: sameera is saying to create a form (for picture info) on the fly i.e. user will click a button "Add More" and a form will be inserted in the dom. When the user first opens the upload page, he will see only one form (for one picture) and then he will be able to add more.

@sameera: Remember that this will not be just the front end (i.e. javascript and view) changes, but you will need to rewrite the back end too i.e. the php code which actually uploads the photo and places them to correct album. As far as i think, this means a complete rewrite of current upload system.
Logged

--- Love is blind, wish it was mute too ---
Visit me @ www.abbasali.net
sameera Topic starter
VIP
***
Gender: Male
Sri Lanka Sri Lanka

Posts: 76

♫ Enjoying with your heart is the wealth


« Reply #8 on: March 27, 2008, 05:09:14 am »

Hmm, how would you use the DOM for file browsing???

Hi SaWey,

Actually what I meant here was using java script to control the number of file upload fields. Currently it's just a finite number of file upload boxes is possible. Wouldn't it better to add the fields dynamically ?.

Idea is better explained with a code : node = document.getElementById("file").cloneNode();
wrapper.appendChild(node); .  or something like it.

Thanks.
Logged
sameera Topic starter
VIP
***
Gender: Male
Sri Lanka Sri Lanka

Posts: 76

♫ Enjoying with your heart is the wealth


« Reply #9 on: March 27, 2008, 05:29:18 am »

Ok!, Mainly  I will concentrate on improving multiple file upload view enhancements rather than focusing on showing file upload progress. 

@Aditya: I registered in cpgNG but cannot login to it. I registered using two mail address, but didn't received activation mail yet. can you tell me possible way to login.
Logged
Aditya Mooley
Dev Team member
****
Gender: Male
India India

Posts: 769



WWW
« Reply #10 on: March 27, 2008, 06:21:08 am »

I have activated the account with username "sameera". Try to login now.
Logged

--- "Its Nice 2 BE Important but its more Important 2 Be NICE" ---
Follow Coppermine on Twitter
Aditya Mooley
Dev Team member
****
Gender: Male
India India

Posts: 769



WWW
« Reply #11 on: March 27, 2008, 06:27:47 am »

Also, notice on upload page that the keyword field is AJAXified.
Logged

--- "Its Nice 2 BE Important but its more Important 2 Be NICE" ---
Follow Coppermine on Twitter
sameera Topic starter
VIP
***
Gender: Male
Sri Lanka Sri Lanka

Posts: 76

♫ Enjoying with your heart is the wealth


« Reply #12 on: March 27, 2008, 06:52:26 am »

Thanks..  I can login now, I will work with it.
Logged
Joachim Müller
Administrator
*****
Gender: Male
Germany Germany

Posts: 45051


aka "GauGau"


WWW
« Reply #13 on: March 27, 2008, 08:10:34 am »

A real progress bar (that actually displays how much of the file has been uploaded) is not that important imo - just some visual animation during the upload stage should be OK for most users. I second most of sameera's initial proposals on this thread - Ajaxification (with a fallback for users with older browsers) should be the best method to improve cpg dramatically in terms of end user experience.
Logged
sameera Topic starter
VIP
***
Gender: Male
Sri Lanka Sri Lanka

Posts: 76

♫ Enjoying with your heart is the wealth


« Reply #14 on: March 27, 2008, 09:02:18 am »

Thanks all, and will be very grateful for all the suggestions to improve my initial proposal.
Logged
Abbas Ali
Administrator
*****
Gender: Male
India India

Posts: 2087


Spread the PHP Web


WWW
« Reply #15 on: March 27, 2008, 10:28:29 am »

@sameera: Not necessarily, but can you show us some ajax work done by you?
Logged

--- Love is blind, wish it was mute too ---
Visit me @ www.abbasali.net
sameera Topic starter
VIP
***
Gender: Male
Sri Lanka Sri Lanka

Posts: 76

♫ Enjoying with your heart is the wealth


« Reply #16 on: March 27, 2008, 05:01:34 pm »

This is a one of work on Coppermine done by me, URL...

http://cpg.web2media.net/cpg/thumbnails.php?album=1&page=1&newslideshow=yes
   
by clicking on the image, can be view full size of image without loading separate window. as well as can be navigate each images.
   
Logged
SaWey
Dev Team member
****
Gender: Male
Belgium Belgium

Posts: 1119



WWW
« Reply #17 on: March 27, 2008, 06:34:03 pm »

@sander: sameera is saying to create a form (for picture info) on the fly i.e. user will click a button "Add More" and a form will be inserted in the dom. When the user first opens the upload page, he will see only one form (for one picture) and then he will be able to add more.

I don't see usability improvements when using such a system, as amount of uploads are limited by admins?
Logged
Abbas Ali
Administrator
*****
Gender: Male
India India

Posts: 2087


Spread the PHP Web


WWW
« Reply #18 on: March 28, 2008, 05:28:21 am »

@Sander: Please see the upload system in cpgNG (url given by Aditya above). We need something similar.
Logged

--- Love is blind, wish it was mute too ---
Visit me @ www.abbasali.net
SaWey
Dev Team member
****
Gender: Male
Belgium Belgium

Posts: 1119



WWW
« Reply #19 on: March 28, 2008, 04:32:16 pm »

ok Smiley
Logged
Pages: [1] 2   Go Up
  Send this topic  |  Print  
 
Jump to:  

Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
Page created in 0.053 seconds with 16 queries.