mirror of
https://github.com/kataras/iris.git
synced 2025-02-02 15:30:36 +01:00
Add two more just-published articles at README.md > Blogs
Former-commit-id: ecf7a03013f6c2bd3025a19688b7fd3ce9df7ae7
This commit is contained in:
parent
2013411400
commit
8410b12436
|
@ -103,6 +103,8 @@ Help this project to continue deliver awesome and unique features with the highe
|
||||||
* [Dockerize](https://github.com/iris-contrib/cloud-native-go)
|
* [Dockerize](https://github.com/iris-contrib/cloud-native-go)
|
||||||
* [Community & Support](#-community)
|
* [Community & Support](#-community)
|
||||||
* [Blogs](https://iris-go.com/v8/blogs)
|
* [Blogs](https://iris-go.com/v8/blogs)
|
||||||
|
- [How to build a file upload form using DropzoneJS and Go](https://dev.to/kataras/dropzonejs--go-series---part-1-474)
|
||||||
|
- [How to display existing files on server using DropzoneJS and Go](https://dev.to/kataras/dropzonejs--go-series---part-2-4n1)
|
||||||
- [Iris Go vs .NET Core Kestrel in terms of HTTP performance](https://hackernoon.com/iris-go-vs-net-core-kestrel-in-terms-of-http-performance-806195dc93d5)
|
- [Iris Go vs .NET Core Kestrel in terms of HTTP performance](https://hackernoon.com/iris-go-vs-net-core-kestrel-in-terms-of-http-performance-806195dc93d5)
|
||||||
- [Go vs .NET Core in terms of HTTP performance](https://medium.com/@kataras/go-vs-net-core-in-terms-of-http-performance-7535a61b67b8)
|
- [Go vs .NET Core in terms of HTTP performance](https://medium.com/@kataras/go-vs-net-core-in-terms-of-http-performance-7535a61b67b8)
|
||||||
- [Iris, a modular web framework](https://medium.com/@corebreaker/iris-web-cd684b4685c7)
|
- [Iris, a modular web framework](https://medium.com/@corebreaker/iris-web-cd684b4685c7)
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# Articles
|
||||||
|
|
||||||
|
- [How to build a file upload form using DropzoneJS and Go](https://dev.to/kataras/dropzonejs--go-series---part-1-474)
|
||||||
|
- [How to display existing files on server using DropzoneJS and Go](https://dev.to/kataras/dropzonejs--go-series---part-2-4n1)
|
||||||
|
|
||||||
|
# Content
|
||||||
|
|
||||||
This is the part 1 of 2 in DropzoneJS + Go series.
|
This is the part 1 of 2 in DropzoneJS + Go series.
|
||||||
|
|
||||||
- [Part 1: How to build a file upload form](README.md)
|
- [Part 1: How to build a file upload form](README.md)
|
||||||
|
@ -145,7 +152,8 @@ func main() {
|
||||||
7. If file is sent to the page, store the file object to a temporary "file" variable.
|
7. If file is sent to the page, store the file object to a temporary "file" variable.
|
||||||
8. Move uploaded file to destination based on the uploadsDir+uploaded file's name.
|
8. Move uploaded file to destination based on the uploadsDir+uploaded file's name.
|
||||||
|
|
||||||
**Run the server**
|
### Runing the server
|
||||||
|
|
||||||
Open the terminal at the current project's folder and execute:
|
Open the terminal at the current project's folder and execute:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# Articles
|
||||||
|
|
||||||
|
- [How to build a file upload form using DropzoneJS and Go](https://dev.to/kataras/dropzonejs--go-series---part-1-474)
|
||||||
|
- [How to display existing files on server using DropzoneJS and Go](https://dev.to/kataras/dropzonejs--go-series---part-2-4n1)
|
||||||
|
|
||||||
|
# Content
|
||||||
|
|
||||||
This is the part 2 of 2 in DropzoneJS + Go series.
|
This is the part 2 of 2 in DropzoneJS + Go series.
|
||||||
|
|
||||||
- [Part 1: How to build a file upload form](README.md)
|
- [Part 1: How to build a file upload form](README.md)
|
||||||
|
@ -5,7 +12,7 @@ This is the part 2 of 2 in DropzoneJS + Go series.
|
||||||
|
|
||||||
# DropzoneJS + Go: How to display existing files on server
|
# DropzoneJS + Go: How to display existing files on server
|
||||||
|
|
||||||
In this tutorial, we will show you how to display existing files on the server when using DropzoneJs and Go. This tutorial is based on [How to build a file upload form using DropzoneJs and Go](README.md). Make sure you have read it before proceeding to content in this tutorial.
|
In this tutorial, we will show you how to display existing files on the server when using DropzoneJS and Go. This tutorial is based on [How to build a file upload form using DropzoneJS and Go](README.md). Make sure you have read it before proceeding to content in this tutorial.
|
||||||
|
|
||||||
## Table Of Content
|
## Table Of Content
|
||||||
|
|
||||||
|
@ -276,8 +283,8 @@ Copy content below to "./views/upload.html". We will go through modifications in
|
||||||
4. Retrieve files details from the new "/uploads" via ajax.
|
4. Retrieve files details from the new "/uploads" via ajax.
|
||||||
5. Create mockFile using values from server. mockFile is simply JavaScript objects with properties of name and size. Then we call Dropzone's **addedfile** and **thumbnail** functions explicitly to put existing files to Dropzone upload area and generate its thumbnail.
|
5. Create mockFile using values from server. mockFile is simply JavaScript objects with properties of name and size. Then we call Dropzone's **addedfile** and **thumbnail** functions explicitly to put existing files to Dropzone upload area and generate its thumbnail.
|
||||||
|
|
||||||
|
### Runing the server
|
||||||
|
|
||||||
**Run the server**
|
|
||||||
Open the terminal at the current project's folder and execute:
|
Open the terminal at the current project's folder and execute:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
Loading…
Reference in New Issue
Block a user