kamilaalv / gardenofeden Goto Github PK
View Code? Open in Web Editor NEW:blossom: :rose: Java Flower Shop with Management features
License: MIT License
:blossom: :rose: Java Flower Shop with Management features
License: MIT License
DO NOT IMPLEMENT THIS
Items would need a boolean expired
Getter isExpired
It will be set automatically according to the date from the database
For now, we just need to add it
Do not add it to parameter lists of constructors
https://cdn.ttgtmedia.com/rms/onlineimages/naming_conventions_in_java-f.png
pay attention to package and finals namings
We need a method in some common interface(which needs to be created) to assign ids.
Ids for flowers, jewelry, and bouquets must be differentiable somehow (for example flower 0 - 100, bouquet 100 - 200, jewelry 200 - 300)
This is just an example in reality we would need more ids for flowers than for bouquets cuz bouquets consist of flowers.
U can add some constants in the options class for max num of ids for each type.
Also, u would need to keep track of the last id for each type
Ids should be reusable if u reached max, start from zero.
Constructors should be changed:
Ps. Bouquets do not have ids in our implementation but I think we might need them for orders in the future. This is debatable. But we definitely need to assign ids for all items.
//THESE ARE JUST SUGGESTIONS
Bouquet
1.No need to keep track of wrapping paper colors in the bouquet (I have them in ItemOptions)
2. No need for separate prices for each color
3. What is BouquetsCreated (Is its purpose keeping track of the same bouquets in one cart or?)(same questions for the similar fields)
fakeorReal() method in flower jewelry is meaningless
Item System should be used as a class for the Cart
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.