
Hello!
Small in quantity, but huge in quality. The Shopping Cart (beta) has been released and XIVDB now runs on PHP7!
Shopping Cart (beta)
The Shopping Cart (beta) tool has been released! This is the first iteration for it and I am releasing it to try get some feedback and fix any bugs that are detected through the various different baskets you can create. It is also missing some final features:
- Saving is local storage and only includes prices. I will add ability to save to your account.
- Need a way to easily change basket quantity, right now you'd need to edit the URL.
- Not all details are brought through on "details" section.
What is the Shopping Cart?
Glad you asked! I've created a dedicate page for this: http://xivdb.com/shopping-cart
In short, its a tool that will list out all the required materials and quantities to create whatever you want, features include:
- Total number of items.
- Total number of inventory slots taken up.
- Total number of Shards/Items required.
- Ability to enter price for items (saves to local storage, on your PC).
- Ability to quickly view where each material comes from.
- Ability to enter in sale price, crafted quantity and perform a quick profit/loss
- Quickly view whats crafted each tier
One thing I am super pleased about: 100% Translated!! While building the shopping cart I ensured I used translatable variables in all context areas, both French and German translations should be in! (Still looking for a Japanese translator)
The cart functions very close to the XIVDB v1 version but has many improvements:
- Handles quantities and yields properly
- Real-time saving to local storage (Don't need an account)
- Tiers for further craft tree depth
In Dev Blog #4 I wrote a bit more in-depth about these.
Enjoy and if you have any issues or feedback, please submit it!
Site Updates
- New:
- It is now possible to set "Exclusive" for class jobs, when this is enabled, items that are "All Classes" are not included, only items which are tied the class specifically or through discipline will be shown (Feature Request: 2068
- It is now possible to set "Exclusive" for class jobs, when this is enabled, items that are "All Classes" are not included, only items which are tied the class specifically or through discipline will be shown (Feature Request: 2068
- Updates
- Character adding in the account section is now functional again. XIVSync is now fully SSL supported, woot!
- Bug Fixes
- Fixed an issue with not being able to edit/delete comments in some situations
- Fixed issue with some items showing as "Yield 0" on crafting trees
- Fixed a bug with old dev posts not loading (2152)
- Fixed an issue with duplicate items showing when using attribute filter and the "or" option. (2068)
- Fixed an issue with login/register links not setup correctly on comments/screenshots. (Tweet)
- API:
- The "pretty" parameter has been added to search, eg: https://api.xivdb.com/search?one=items&pretty=1
- The name of content in all languages has been added to the search response (name_en, name_ja, etc)
- The "language" variable will now override any language setting, eg: https://api.xivdb.com/item/15110/Mhachi+Matter?lan...
- Technical:
- The site now runs on PHP 7! This is a big release in the PHP community and I had to do zero code changes so I am very pleased it has gone well. The improvements are massive, CPU usage cut in half, and memory cut by 2/3rds on average! The site should be significantly faster.
- Some JavaScript libraries (jquery, handlebars, moment) now load from CDNJS, this adds to site performance improvements.
- Massive improvements to how Redis cache is handled, no longer needs several GB >.>
- Removed the loading of thousands of Libra translations for site purposes (I only use custom translations).
Enjoy! :D
PS. I did get out Shopping Cart thursday, but it had a bug and it was unfinished! only a few people saw it! Does it still count? hmm XD