kickasscommerce / kickasscommerce Goto Github PK
View Code? Open in Web Editor NEWA small proof of concept for building and eCommerce system based on an underlying API system.
Home Page: https://github.com/KickAssCommerce
License: MIT License
A small proof of concept for building and eCommerce system based on an underlying API system.
Home Page: https://github.com/KickAssCommerce
License: MIT License
There are some great ways out there to standardize API definition.
You know, to make it consistent and stuff. Nice read about it here: https://nordicapis.com/standard-api-definitions-demystified/
we should do this. some way
The Product router still has some Moltin dependencies that should be removed
While I was thinking about the Ninja/Dragon question my mind put our repository class into my head. I think we made a mistake I think the repo should be generic but at the moment it is moltin specific. Overall it knows too much.
Maybe when I am at home on my own I can put together a PR with the correct separation of concerns before anyone notices how bad we code!
Moltin Indicated they're hard at work at a version 2 of their API.
It's semi public and will be launched long before we go beta (since we don't have a date even)
So I'm voting to move the Moltin Bridge to that version
https://github.com/moltin/php-sdk/
Implement something like https://github.com/goaop/framework to have fancy interceptors that allow for project specific business logic
Could somebody create the following and provide write access (even if it's temp)? There is no point me setting one up to migrate it to an organisation account.
remove setters from maps. Is that even possible with the Symfony serializer?
So this one is a question. I don't know enough about AOP from a practical sense but is it a bad thing?
Does it mean we don't know how to build a "nice" system and so have to add in a hack to let people work with it? Or does it mean we are super cool and flexible?
src/Bridge/Moltin
should be moved to it's own repo
We suck at designing logos and need help badly!
I know I know we are super good and writing code that will not break with BC issues but maybe we should convert the * in the composer.json to "real" values.
We picked SlimPHP because of the ease of implementation but there is a lot more out there. I guess it depends on the direction we want to go.
Do we wanna be API based, only work with REST? Do we offer HTML rendered pages? Should we allow for our router to also function as a proxy to other services?
would Klein or Flight or even something outside of PHP be a solution?
All the cool kids have travis reports and code check badges in their readme. We are cool kids too so we should do this!
I tried to retrieve a product with a slug value of 12cup-coffemaker
, that's from Moltin's documentation example.
Then I tried a request to http://myhost/shop/product/12cup-coffemaker
Ive got an invalid cache key exception in \Cache\Adapter\Filesystem\FilesystemCachePool::getFilePath:152
.
It was due to the fact that the -
character is not admitted in cache keys.
It could be useful to hash the cache key; I think a base 64 encoding would be good enough.
Thank you!
What the hell are we? I think this is super important as we move and grow. Do we build a KickAssCommerceLib that is a lib and then a KickAssCommerceFramework that is an example implementation of our own lib?
My definitions would be.
At the moment the cache interceptor wraps the repository load methods. It would be cleaner to have it wrap the bridge class loading method in https://github.com/KickAssCommerce/KickAssCommerce/blob/develop/src/Product/Cache/Product.php#L29
We suck at FE and need help badly!
Since we will expand this and also aim to let others extend it for their use we should have some nice di that they can use.
How do we handle session data? Stuff like user cart id's or a users active profile.
Are there standards for that?
How can we make it easy to use different drivers for storage?
Maybe even use the cache library for this? (Or is that too far out)
So many questions.
--- update ---
while browsing the world wide web I found some stuff floating about
The Composer.lock should be not in the repo, the code is not working with PHP 5, so it should require PHP 7.
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.