The following are the topics I will discuss:
- What is Knockoutjs?
- What was my project? And how was it born?
- Why did I choose knockoutjs for my project?
- Screenshots of the project
- How you, not me…how you will extend this project.
- Creating a 100% static blog with Knockoutjs.
- The future of Knockoutjs.
- Let’s learn Knockoutjs.
- Help me with Knockoutjs View-Models [seriously please…]
What is Knockoutjs?
What was my project? And how was it born?
- Capture student registration details
- Capture fee payment records
- Teachers on duty
- Subject offered in high school
- Class teachers
- Rank students in examinations
- Produce order of merit list per class
- Display the most improved student in each class and the whole school
- Print report cards in PDF
- Generate trial balance for the school
- Generate income statement
NB: This was not a final year, or end of course project. In fact, we only had two weeks to do a prototype that could demonstrate all that, because he wanted to explain a point in class using those projects [Software Development].
Why did I choose knockoutjs for my project?
⦁ Knockoutjs was part of a personal project that am currently doing
⦁ Knockoutjs has nice templates [Templating with KO observables]
⦁ I wanted to do a simple static site that could do complex tasks without the need of server side code
⦁ Is very easy to reuse already existing examples online, as it is simple to learn
Screenshots of the project
How you, not me…how you will extend this project.
I will give the code of the whole project at the bottom, and youwill also find a link to a running demo. If you are curious to see all those functionalities running and working, you will be disappointed to find that I didn’t implement some. This is all due to time constrains. We are starting our exams very soon, and for someone like me who is always concentrating on one thing at a time, I have to stop everything, including my project so I can at least start learning for the exams, yeah, I said reading to pass exams! This is what we do in Kenya, or better said, this is what they encourage in Kenya, “PASSING EXAMS-IF YOU PASS, YOU ARE BRIGHT :: THEORY EXAMS, NO PRACTICALS”
Creating a 100% static blog with Knockoutjs.
I don’t know why something tells me that it would be easier to edit a Knockoutjs template for github pages than using Jekyll. All you have to do, is wrap a HTML list-element with a foreach loop and everything in the Knockoutjs template gets posted on the HTML page, with the order you want. You can also implement something like a search, and many more features like sorting.
I know this is, or might sound stupid if you are an established programmer, but I know people like me, people like us, we value and respect simplicity.