Code Monkey home page Code Monkey logo

rrest's Introduction

Hi,

I'm a Senior Developer back in coding fulltime after more than a decade as CTO

40 years old, ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ฆ + ๐Ÿ˜บ
Paris area, France ๐Ÿ‡ซ๐Ÿ‡ท
Remote worker 10 years+ ๐Ÿก๐Ÿ’ป

๐Ÿ“ซ Reach me on Twitter

๐Ÿ•ต๏ธ Problem solver, takes initiative to identify and solve important problems
๐Ÿค“ Backend / Frontend agnostic
๐Ÿค Business oriented, I can bridge with stakeholder, sales, clients... & the tech team
๐Ÿ˜ธ Require minimal direction/oversight
๐Ÿ‘Š Very good communication, positive approach, team work
๐Ÿ‡ฌ๐Ÿ‡ง Fluent in English

๐Ÿ‘จโ€๐Ÿ”ง Practice

  • Industry standards: test, code review, continuous integration etc...
  • Product mindset: discovery, client-centricity, outcomes, effectiveness & cross-functionnal teams
  • Manage by creating clear, focused and measurable goals for a team, improving processes

๐Ÿ‘จโ€๐Ÿ’ป Tech

  • TypeScript
  • Node.js
  • NestJS
  • REST/GraphQL
  • React & React Native ecosystem
  • GCP / Firebase platform
  • LAMP stack veteran
  • ...

๐Ÿ‘ด Old

  • ActionScript 2 & 3
  • Adobe media server (realtime server)
  • ASP / Access

rrest's People

Contributors

ajabot avatar dpobel avatar mbagur avatar meroveecharrue avatar nreynis avatar retfu avatar yannickroger avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

rrest's Issues

Define response headers

Examples:

  • uniq request id
  • complete version

See http://stackoverflow.com/questions/3561381/custom-http-headers-naming-conventions why no X-
for the default naming.

API proposal

<?php

$rrest->addResponseHeader('X-Request-Id', 'b228f89c-115b-3bc1-a4f6-89c1f1cbed81');

RequestId

Very useful for debugging etc...

RequestId: b228f89c-115b-3bc1-a4f6-89c1f1cbed81

API proposal

<?php

$rrest->addRequestIdHeader();

Version

Indicate the complete API version, use for debugging too.

Version: 1.2.1
Version: 2016-03-26

API proposal

<?php

$rrest->addVersionHeader('1.2.1');

Customize controller for a route

The controller is determine by convention:

/item/{itemId}/ -> Item
/item/{itemId}/comment -> Item\Comment

But sometime you need to choose the controller manually

API proposal

<?php
$rrest = new RREST\RREST($apiSpec, $router, 'XXX\Controllers');
$rest->addControllerAlias('/item/{itemId}/comment', YYY\ZZZ\Comment);
$rest->addControllerAlias('/item/{itemId}/ping', YYY\ZZZ\Ping);
$rest->removeControllerAlias('/item/{itemId}/ping');

Must set a body response format

Actualy RREST force to define a response body format:

/XXX:
    delete:
        responses:
            204:
                body:
                    application/json:

But sometime you don't have a response at all.

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.