alexilyushkin / server Goto Github PK
View Code? Open in Web Editor NEWThe library for flexible building of your server application
The library for flexible building of your server application
The task of #1
Develop Protocol
interface. The interface is an abstraction over concrete application level protocol (such as HTTP, FTP, SMTP i.e.).
The task of #1
Develop ProcessingModel
interface. The interface is an abstraction over concrete request processing model (such as Sequential processing, Process per request, Thread per request and i.e.).
Mockup:
interface ProcessingModel {
fun process(runnable: Runnable)
}
The goal of the library is providing the ability to create flexible, maintainable, interface oriented application server architecture to user.
The entry point of the library should looks like TcpServer
class that has the only start()
method.
It should also have dependencies representing interfaces that are abstractions over the protocol and request processing model.
Mockup:
class TcpServer(
private val serverSocket: ServerSocket,
private val protocol: Protocol,
private val processingModel: ProcessingModel
) : Server
Linked tasks:
Add ProcessingModel interface - #2
Add Protocol interface - #3
Add Server interface and TcpServer implementation - #7
Runnable
provided as argument to execute(Runnable)
method call.start()
.Mockup:
interface Server {
fun start()
}
Mockup:
class TcpServer(
private val serverSocket: ServerSocket,
private val protocol: Protocol,
private val processingModel: ProcessingModel
) : Server
The task of #1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.