Code Monkey home page Code Monkey logo

ktor-for-xyz's People

Contributors

gamesbrainiac avatar hhariri avatar khalidabuhakmeh avatar shengyou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ktor-for-xyz's Issues

ASP.NET to Ktor Tutorial

Write a coming to Ktor from ASP.NET article, and focus on the following topics.

  • idioms and vocabulary
  • general configuration (configuration screen, opt-in)
    • different than ASP.NET because more options
  • request & response handling
    • processing Form POST
    • processing JSON model
    • reading from other elements of the request (Headers, query string, etc.)
    • returning different responses (HTML, JSON, XML)
    • static files
  • utilizing a dependency like SQLite
    • setting up the connection
    • reading
    • writing

Build a single endpoint that explores these topics and relate them back to C# code. It might make sense to have a tab switcher to compare the two.

Ktor Tutorial for Express.js Developers

Create a Ktor 1.5 tutorial for the Express.js developers. It should introduce the migration process from the NodeJS to Kotlin and Ktor, highlighting the common points as well as differences between both technologies.

  • WIP

Ktor Tutorial for Flask and Djnago Users

Objectives

  • Making Ktor something that seems easy to grasp
  • Showing the similarities, in a way that is translated from one vernacular to another
  • Showing differences
  • Using idiomatic Kotlin

Outline

  • Introduction to Ktor (and what frameworks it is similar to)
  • Setup (this includes IDE and gradle setup to get a hello world app running)
  • How Kotlin is different in terms of Models, Views and Controllers/Templates
  • Connecting to a Database
  • Building out a simple API (could be a voting app), and rendering to Index.html
  • Conclusion on similarities and differences

Ktor Tutorial for Artisans (Laravel developer)

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.