Hybrid View

  1. #1
    Sencha User MaximGB's Avatar
    Join Date
    Jun 2007
    Location
    Moscow, Russia
    Posts
    493
    Vote Rating
    3
    MaximGB is on a distinguished road

      0  

    Default [Ext.ux.UploadDialog] upload dialog extension.

    [Ext.ux.UploadDialog] upload dialog extension.


    Hi,

    just created the Upload dialog extension, any feedback is highly appreciated.



    description and download page is here at http://www.max-bazhenov.com/dev/upload-dialog.php
    Use the force - read the source.
    My ExtJS extensions can be found here: http://max-bazhenov.com/dev/

  2. #2
    Sencha User tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,663
    Vote Rating
    110
    tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all

      0  

    Default


    hi max,

    tested it short and this tool looks nice.
    but somehow it is a bit similar to jozefs file file uploader.

    what i am still missing in general by uploadtools, is the possibility, to select multiple files or even folders at once. i have not worked with it yet, but think that it is only possible with using flash or a plugin...

    when using php in the backend, it would be possible to integrate a status-bar to see, how much of a file is already submitted / still missing. im not sure, if / how it is possible in other serverside-languages, but guess it is.

    in your extension, i like the small grid-view in the dialog, which makes it possible via sorting, which file is uploaded first.

    the abort-button is not working as intended right now, i guess.
    it stops an upload after one file is completed.
    if you just upload one big file, it does nothing.


    interesting project! kind regards, tobiu

  3. #3
    Sencha User MaximGB's Avatar
    Join Date
    Jun 2007
    Location
    Moscow, Russia
    Posts
    493
    Vote Rating
    3
    MaximGB is on a distinguished road

      0  

    Default


    Hi, tobiu,

    Quote Originally Posted by tobiu View Post
    tested it short and this tool looks nice.
    but somehow it is a bit similar to jozefs file file uploader.

    what i am still missing in general by uploadtools, is the possibility, to select multiple files or even folders at once. i have not worked with it yet, but think that it is only possible with using flash or a plugin...
    Yes you are right, but as Jozef mentioned it's unstable under FF && linux, that's why I don't use swf-upload or fancy-upload (or any other flash uploaders) right now.

    Quote Originally Posted by tobiu View Post
    when using php in the backend, it would be possible to integrate a status-bar to see, how much of a file is already submitted / still missing. im not sure, if / how it is possible in other serverside-languages, but guess it is.
    Yes I know it, but still haven't time to play with php's uploadprogress pecl extension.

    Quote Originally Posted by tobiu View Post
    in your extension, i like the small grid-view in the dialog, which makes it possible via sorting, which file is uploaded first.
    Sorry, english isn't my native, I can't understand what do you mean

    Quote Originally Posted by tobiu View Post
    the abort-button is not working as intended right now, i guess.
    it stops an upload after one file is completed.
    if you just upload one big file, it does nothing.
    It's by design actually, just don't know how to abort the hidden iframes form submit action.

    Quote Originally Posted by tobiu View Post
    interesting project! kind regards, tobiu
    Thanks for response
    Use the force - read the source.
    My ExtJS extensions can be found here: http://max-bazhenov.com/dev/

  4. #4
    Sencha User tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,663
    Vote Rating
    110
    tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all

      0  

    Default


    hi max,

    the ext.ajax class has a method abort().
    have not tested it though.

    "in your extension, i like the small grid-view in the dialog, which makes it possible via sorting, which file is uploaded first."

    i meant, that your upload queue always submits the first row of the grid, then the second etc. (chronologically).

    i inserted 3 files and sorted the grid by the column filename.
    then the upload-order was different from the order, i inserted my files into the queue.

    i am not sure if the row-model of the grid support exchanging rows via drag and drop, but if so, users could complete order their files to their own upload-priority before uploading them to the server.


    kind regards, tobiu

  5. #5
    Sencha User MaximGB's Avatar
    Join Date
    Jun 2007
    Location
    Moscow, Russia
    Posts
    493
    Vote Rating
    3
    MaximGB is on a distinguished road

      0  

    Default


    Hi, tobiu

    Quote Originally Posted by tobiu View Post
    the ext.ajax class has a method abort().
    have not tested it though.
    It doesn't abort the form submit.

    Quote Originally Posted by tobiu View Post
    "in your extension, i like the small grid-view in the dialog, which makes it possible via sorting, which file is uploaded first."

    i meant, that your upload queue always submits the first row of the grid, then the second etc. (chronologically).

    i inserted 3 files and sorted the grid by the column filename.
    then the upload-order was different from the order, i inserted my files into the queue.

    i am not sure if the row-model of the grid support exchanging rows via drag and drop, but if so, users could complete order their files to their own upload-priority before uploading them to the server.
    Ok, now I see, but this is a free feature derived from Ext.data.Store .
    Use the force - read the source.
    My ExtJS extensions can be found here: http://max-bazhenov.com/dev/

  6. #6
    Ext User
    Join Date
    Aug 2007
    Posts
    31
    Vote Rating
    0
    Nikoms is on a distinguished road

      0  

    Thumbs up


    Hi MaximGB!

    That's (almost) exactly what I was looking for. Fantastic! (I just registered for you :p)

    I have 2 questions :

    - Is there anyway to simply limit the number of uploaded file? (1...n)

    - Is it possible to upload the file directly when I choose a file? And so, have more than 1 process if I choose 5 files... and maybe give the possibility to put the upload process dialog on background (hide it)

  7. #7
    Ext User
    Join Date
    Sep 2007
    Posts
    11
    Vote Rating
    0
    southside is on a distinguished road

      0  

    Default Help

    Help


    Hi;

    Your demo looks great, Iam trying to learn EXTJS to create someting just like this.

    I have downloaded your zip, but it is missing upload-dialog-request.php, which I assume is the required file to save the uploads to a file location or mysql database.

    Can you help by supplying the file so I can learn how it is done.

    Thanks.

  8. #8
    Sencha User MaximGB's Avatar
    Join Date
    Jun 2007
    Location
    Moscow, Russia
    Posts
    493
    Vote Rating
    3
    MaximGB is on a distinguished road

      0  

    Default


    The upload-dialog-request.php isn't missing , the code of upload-dialog-request.php which I use in the demo is following:
    Code:
    <?php
    $response = array(
        'success' => true
    );
    echo json_encode($response);
    ?>
    As you can see it doesn't save uploaded file anywhere and just returns success response in any case. I don't want all that files that visitors uploaded during the demo testing

    If you are using php on the server side then you can get all data required to handle an uploaded file in the $_FILES['file'] variable. The PHP's uploaded file handling is described here
    http://www.php.net/manual/en/features.file-upload.php
    Use the force - read the source.
    My ExtJS extensions can be found here: http://max-bazhenov.com/dev/

  9. #9
    Ext User
    Join Date
    Sep 2007
    Posts
    11
    Vote Rating
    0
    southside is on a distinguished road

      0  

    Default


    Thanks MaximGB I will have a look, sorry if this is elementary but I am just finding my way and appreciate the help.

  10. #10
    Ext User
    Join Date
    Sep 2007
    Posts
    11
    Vote Rating
    0
    southside is on a distinguished road

      0  

    Default


    Quote Originally Posted by MaximGB View Post
    The upload-dialog-request.php isn't missing , the code of upload-dialog-request.php which I use in the demo is following:
    Code:
    <?php
    $response = array(
        'success' => true
    );
    echo json_encode($response);
    ?>
    As you can see it doesn't save uploaded file anywhere and just returns success response in any case. I don't want all that files that visitors uploaded during the demo testing

    If you are using php on the server side then you can get all data required to handle an uploaded file in the $_FILES['file'] variable. The PHP's uploaded file handling is described here
    http://www.php.net/manual/en/features.file-upload.php
    Hi Maxim;

    Do you have a zip of full project to assist in my learning curve, I am new to this and eager to learn.

    I know some are sensitive about being asked to supply their hard work so if this applies to you then let me know and I will trudge along through the forum until I can pull together a working example that I can build on.

    Starting from a blank sheet may be to steep for me at this time.

    Thanks for your help.

    SC

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar