Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ktor Tutorial for Artisans (Laravel developer) #3

Open
shengyou opened this issue Jan 15, 2021 · 2 comments
Open

Ktor Tutorial for Artisans (Laravel developer) #3

shengyou opened this issue Jan 15, 2021 · 2 comments

Comments

@shengyou
Copy link
Collaborator

Develop a Ktor 1.5 tutorial for artisan, mainly focus on the following topics:

  • Ktor introduction
    • What's it?
    • Quick history for the name, the goal, the team
    • Main advantage (eg. light-weight)
  • Development environment
    • IDE with JDK
    • Ktor plugin
  • Project creation & dependency
    • Ktor project template
    • Gradle
  • Routing
    • Hello world app
  • Request & Response
    • The call object & application cycle
    • Retrieve params
  • Features
    • Add ContentNegotiation to return JSON response
    • Add `View to return HTML page
  • Exposed
    • Add exposed and mysql-driver dependency
    • Create schema for migration
    • Create DAO for CRUD
  • Retrospective
    • What we learned?
    • Similarities and Differences
@khalidabuhakmeh
Copy link
Collaborator

I would recommend we all use an SQLite database so that users can have minimal environmental setup.

@shengyou
Copy link
Collaborator Author

shengyou commented Feb 7, 2021

Agree with you that we should make the environment setting as simple as possible. However, I found it's more common to use H2 in JVM ecosystem. Maybe we could introduce H2 in this article?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants