Git Product home page Git Product logo

node.pas's Introduction

node.pas & nodepaslib

Asynchronous Event-driven server applications framework

nodepaslib (libnodepas.so, nodepaslib32.dll, nodepaslib64.dll)

One dynamic library configured to use two static libraries in Delphi:

  • libuv-v1.32.0
  • openssl-1.1.1d

also compilled-in misc functions and http_parser.

Support platforms: Win32, Win64, Linux64

node.pas framework

The idea of the framework is to develop a server application with the Delphi language using the NodeJS approach. The framework is based on Delphi closures.

NodeJS-like ecosystem

  • Buffer
  • loop
  • setImmediate/nextTick
  • setTimeout/setInterval
  • udp/tcp/pipe/tty
  • shared handle over pipes
  • fs/fswatch
  • child process
  • Http(s) server/client
  • EventEmitter
  • Promises
  • JSON (Number values is integer for now)
  • JS-like Object/Array (JSON also. Number is Double or int64)
  • There is no Streams for now!
  • There is no documentation yet. But since the syntax is close to Node, it will be easy to understand the examples presented.

node.pas's People

Contributors

vovach777 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

node.pas's Issues

multi thread

procedure __connection_cb (server: puv_stream_t; Status: integer); cdecl;
begin

// can multithreading uv_accept be used here?

end;

could not find the entry

Unable to locate program input point http_parser_get_method on dynamic link library D:\svncheck\nodepas\branches\uses_nodepaslib\bin\ ex08_httpserver.exe.

Function not found? where 1.22.1-dev?

uv_set_close_cb
uv_get_close_cb

not found

Different function names

function uv_get_handle_type; external LIBFILE;
procedure uv_set_user_data; external LIBFILE;
function uv_get_user_data; external LIBFILE;

Where can I download the 1.22.1-dev source code?

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.