Comments (9)
!!
from docklet.
zhangwentao
from docklet.
Some notes after reviewing code:
https://github.com/nsknojj/notebook_task/tree/master/notes
from docklet.
@nsknojj
I recommend you writing notes using markdown format, which could be automatically rendered as HTML format.
from docklet.
I just figure out what I should do. I need to change the php server "Jquery-file-upload" provided to a new server side with "tornado" framework. Big file upload uses post method with "Content-Type: multipart/form-data". Luckily, it is well-supported by tornado.
from docklet.
Maybe implementing the backend in tornado is more complex.
You can use one apache/php server for all users. The server puts every file to the correct user's directory. In this way, you just need to pass username to server from browser and then the server gets the username and puts the file in the right path.
But maybe implementing the backend in tornado is not so complex. I noticed there is a GAE python example of backend in source code. And it is not complex. So this method is also ok.
Which way ? Up to you.
Go ahead.
from docklet.
I prefer using tornado.
The problem of using Apache server is that we have to set up the server just for file uploading. However, the other functions, like downloading, previewing, are all supported by tornado. That will confuse developers and administrators.
If uploading function is provided by tornado, then we do not have to bother setting up a third apache server.
from docklet.
Today, I have implemented the basic Multi-Blob upload function in tornado server side,
https://github.com/nsknojj/notebook_task/blob/master/handlers.py
In this version, the upload file is saved in current directory, and the response of POST is incorrect.
from docklet.
Almost completed
https://github.com/nsknojj/notebook/tree/big-upload
from docklet.
Related Issues (20)
- replace GRE with VXLAN to avoid critical-node crash
- not using default setting while scaling out a new node HOT 1
- setting default container setting in user config panel or admin panel HOT 1
- Add multiple nodes in one click
- record and display history of all containers HOT 1
- generated_password file not exist after master init HOT 1
- Separate user module from monitor HOT 1
- Image save failed HOT 2
- rename Dashboard to Workspace HOT 1
- add docklet hyperlink in web portal HOT 1
- Cannot modify users' info in /user/list HOT 1
- Add qos rate limiting and port mappings billings
- Threading Synchronization
- Job Management module in batch computing
- Task management module for batch computing
- agent enhancement to support batch computing
- Users' requests are blocked sometimes because of unreleased users' locks HOT 1
- acquire lock without release when exception occur HOT 1
- Refine container job creation HOT 1
- Any chance updating this to use LXD HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docklet.