GithubHelp home page GithubHelp logo

code-examples's Introduction

Code examples

Most files are just parts of bigger projects and cannot be used separately.

JS

js/callboards - vue.js, example of a reusable component, which is used for displaying small widgets with data, like number of calls in queue, number of available agents, etc. Some widgets support colouring depending on their values (for example, 'agents available' widget turns red when all the agents are busy).

js/channels-lineup - example of vue.js component from Channels Lineup utility.

js/widget - jQuery-based widget. Implemented as jQuery plugin this widget can be installed on websites, whose owners would like to sell tickets online.

PHP

php/channel-lineup - Laravel-based implementation of one controller, which is responsible for generating OpenAPI 3 - compatible responses. It also has full api specification, which can be used for generating API documentation on the fly.

php/graphql - Yii-based implementation of GraphQL API, based on webonyx/graphql-php package.

php/iot-device - Zend framework-based example (although it mostly just vanilla PHP). This is a parser for messages from one type of IoT metering devices. Lots of low-level bitwise operations. My oldest (5+ years) PHP code in this set.

php/schedule-sync - Part of the cinema schedule synchronisation tool. Yii-based, uses modern PHP syntax.

php/system-mapper - Graph builder (Laravel). System mapper was a tool that allowed users to get filtered list of dependent entities. For example, get cities by state, get nodes by city, get headends by ZIP and so on. All entities are related to each other, but at the same time there can be other objects between two entities that we are currently looking for. For example, region and headend do not have direct relations, but we must be able to see all the headends assigned to a region and it can be done by adding related entities like region -> city -> node -> headend. I solved this problem by implementing graph and shortest path algorithm.

code-examples's People

Contributors

vstokarev avatar

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.