Simple Shop Stock Tracker you own this product

'); $(document.body).append('
loading reading lists ...
'); function adjustReadingListIcon(isInReadingList){ $readingListToggle.toggleClass("fa-plus", !isInReadingList); $readingListToggle.toggleClass("fa-check", isInReadingList); var tooltipMessage = isInReadingList ? "edit in reading lists" : "add to reading list"; $readingListToggle.attr("title", tooltipMessage); $readingListToggle.attr("data-original-title", tooltipMessage); } $.ajax({ url: "/readingList/isInReadingList", data: { productId: 2309 } }).done(function (data) { adjustReadingListIcon(data && data.hasProductInReadingList); }).catch(function(e){ console.log(e); adjustReadingListIcon(false); }); $readingListToggle.on("click", function(){ if(codePromise == null){ showToast() } loadCode().then(function(store){ store.requestReadingListSpecificationForProduct({ id: window.readingListsServerVars.externalId, manningId: window.readingListsServerVars.productId, title: window.readingListsServerVars.title }); ReadingLists.ReactDOM.render( ReadingLists.React.createElement(ReadingLists.ManningOnlineReadingListModal, { store: store, }), document.getElementById("reading-lists-modal") ); }).catch(function(e){ console.log("Error loading code reading list code"); }); }); var codePromise var readingListStore function loadCode(){ if(codePromise) { return codePromise } return codePromise = new Promise(function (resolve, reject){ $.getScript(window.readingListsServerVars.libraryLocation).done(function(){ hideToast() readingListStore = new ReadingLists.ReadingListStore( new ReadingLists.ReadingListProvider( new ReadingLists.ReadingListWebProvider( ReadingLists.SourceApp.marketplace, getDeploymentType() ) ) ); readingListStore.onReadingListChange(handleChange); readingListStore.onReadingListModalChange(handleChange); resolve(readingListStore); }).catch(function(){ hideToast(); console.log("Error downloading reading lists source"); $readingListToggle.css("display", "none"); reject(); }); }); } function handleChange(){ if(readingListStore != null) { adjustReadingListIcon(readingListStore.isInAtLeastOneReadingList({ id: window.readingListsServerVars.externalId, manningId: window.readingListsServerVars.productId })); } } var $readingListToast = $("#reading-list-toast"); function showToast(){ $readingListToast.css("display", "flex"); setTimeout(function(){ $readingListToast.addClass("shown"); }, 16); } function hideToast(){ $readingListToast.removeClass("shown"); setTimeout(function(){ $readingListToast.css("display", "none"); }, 150); } function getDeploymentType(){ switch(window.readingListsServerVars.deploymentType){ case "development": case "test": return ReadingLists.DeploymentType.dev; case "qa": return ReadingLists.DeploymentType.qa; case "production": return ReadingLists.DeploymentType.prod; case "docker": return ReadingLists.DeploymentType.docker; default: console.error("Unknown deployment environment, defaulting to production"); return ReadingLists.DeploymentType.prod; } } }); } });
prerequisites
basic mathematics and statistics (mathematical operations, logical reasoning) • basics of programming (data structures, arrays, dictionaries, loops, functions) • basic Julia
skills learned
basics of Julia • functions • dictionaries • structs • properties
Joris Limonier
1 week &middot 4-6 hours per week &middot BEGINNER

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside

Imagine that you’re a programmer hired by a shop to build a basic digital infrastructure. In this liveProject, you’ll use Julia to create a simple stock tracker that implements the four steps of the shopping process. You’ll start by building a structure for your shop, then you’ll write a function to manage inventory delivery as well as one to keep track of items sold. You’ll wrap up by creating a function to handle cash transactions. When you’re done, you’ll have hands-on experience using basic Julia tools including functions, arrays, and dictionaries, as well as more advanced tools such as multiple dispatch and composite types.

This project is designed for learning purposes and is not a complete, production-ready application or solution.

project author

Joris Limonier
Joris Limonier has worked at the Unit of Research in Computer Science at the University of Luxembourg and has a strong background in Julia, Python for data science, LaTeX, and Swift. He’s earned degrees in mathematics, data science, and artificial intelligence. To share his passion for Julia, he creates Julia content including YouTube videos and open-source projects on GitHub.

prerequisites

This liveProject is for programmers ranging from beginner to advanced who want to learn about Julia, how to use it, and why it’s so popular. To begin these liveProjects you'll need to be familiar with the following:


TOOLS
  • A text editor (e.g. VSCode) or a notebook (e.g. Jupyter)
TECHNIQUES
  • Basic mathematics and statistics (mathematical operations, logical reasoning)
  • Basics of programming (data structures, arrays, dictionaries, loops, functions)
  • Basic Julia

features

Self-paced
You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.

choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Simple Shop Stock Tracker project for free
RECENTLY VIEWED