Git Product home page Git Product logo

1kb-php-mvc-framework's Introduction

Programmer for over 10 years. Over 2,800 different developers have started/watched my projects here. Stackoverflow lists in me in the top 1% of develpers. I've designed backend systems, shipped features to millions of people and rewriten applications to meet demand.

Experiance building queues, insurance onboarding, streaming encryption wrappers, audio extraction, natural language processing (NLP), video transcoding, content systems (blogs, forums, etc..), documentation generators, single sign on (SSO) providers, WebRTC, web crawlers, and many more diverse projects.

User interfaces with next.js, react, bootstrap, material-ui, and styled-components (powered by flexbox and typescript).

I'm a domain and services designer. I approach foundations with a focus on the business ideas and assertions that make up the core of a product or suite. I've mentored developers, written roadmaps, and started company-wide training initiaves to solve scaling problems through teaching and sharing.

I can scale teams and applications or build them from scratch.

1kb-php-mvc-framework's People

Contributors

xeoncross 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  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  avatar  avatar  avatar  avatar

Watchers

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

1kb-php-mvc-framework's Issues

ORM

Using ORM how is possible to do where conditions? Would like to join OR and AND but from what I see from the where function it only works with AND.

I have a class Users that extends ORM and I can't seem to get to $user->fetch() or $user->query().

Using db class in model

I'm playing around with the system but it looks like that I can't use db(c('db')) or $db->fetch($sql) in a model and if I extend ORM with Model_User it doesn't do anything. When using model, db is not loaded neither ORM. Did I miss anything or is it a bug?

P.S - Closed. Problem was mine. Loading wrong model.

Relations

I've been playing again with this system which I really enjoy.
Now there's one thing, I've got three tables

Users: user_id
Groups: group_id
Groups_Users: id, group_id, user_id

I'm trying to get user information using this relation.

$groups = new Groups();
foreach($groups->get() as $group):
    echo $group->user->name;
endforeach();

The results I get its the information from Groups_Users but not from Users. How would you do this? ( I don't know if this makes any sense to you )

what's the point?

I understand you are trying to fit your code into 1kb .. but it's impossible to read or follow -- besides php's libraries does not have restrictions such as css or js libraries; where the file size really matters.

--- Update:

ok, nevermind, I just saw the "last updated 3 years ago" :)

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.