Fantasy E-books by PhenomenalPen

Tag: programming Archives

Managing Records from XML File – One Punch Man Training App

Remember we created an instance of our Progress class in our XmlLoader Load method and filled it with the data we gathered from our xml saved file. To be able to get that object we added a getter and setter accessor in the end of our XmlLoader class. We put the code below in our […]

Adding Chart – One Punch Man Training App

After filling our Progress object with the data we gathered from our xml file. We will now try to display it in our chart. Adding Chart to a Form Let’s put the chart in our SubjectForm. While in form design view open the Toolbox in the Data category, select Chart and drag the chart control […]

Get Data from XML File One Punch Man Training App

After creating a saved file we again call the same BeginLoadingSavedData method. This will again check for the now existing XML file. It will end the loop and we can now fetch the data from our saved file. In our SubjectForm.cs put this code outside the while statement. var loader = new XmlLoader(); loader.Load(SavedDataPath); progress […]

XML File Saved Data One Punch Man Training App

I’m going to put all my daily records in an XML file. Hoped it can also handle a three year worth of records. I always wanted to learn how to use XML as a data storage. And for that I’m choosing XML for this project. Desired XML File format <Training StartOfTime=”” Rank=””> <Progress Day=””> <PushUps></PushUps> […]

Designing One Punch Man Training App

In the previous article, I’ve learned that to be able to become a superhero I needed to do some exercises. Four exercises to be exact. This must be completed everyday for three years. I needed to submit the exercises name and how many repetitions I did. Knowing this simple data will help big in designing […]

Creating One Punch Man Training App

Let’s try to Become a Superhero (One Punch Man Reference) Maybe I could be like him. One Punch Man. I want to try his training secret so that I can also become a superhero. I wonder if I can do all his daily routine. Maybe I could if I have my very own training application. […]

Creating WordPress Theme – Adding Thumbnail Image

Be sure you’ve finished reading the first six article about Creating WordPress Theme before reading this article. Visit the links below if you haven’t. Getting Started Inside Header File The Index File Loop Adding Customizer Object Adding Navigation Menu Widgetizing Custom Theme Support Adding Thumbnail Image in WordPress Custom Theme Open up your favorite editor […]

Creating WordPress Theme – the_excerpt or the_content Function

Be sure you’ve finished reading the first six article about Creating WordPress Theme before reading this article. Visit the links below if you haven’t. Getting Started Inside Header File The Index File Loop Adding Customizer Object Adding Navigation Menu Widgetizing Custom Theme Using WordPress the_content Function In our theme’s index page, we used a loop to […]

Creating WordPress Theme – Widgetizing Custom Theme

In your WordPress dashboard, when your creating a custom theme. The Widgets link may not be accessible in your Appearance tab. You need to register or create a new sidebar (this is where widgets can be placed) so that your theme can support implementing widgets. In your functions.php file add : function sub_container_sidebar_centered() { register_sidebar( […]

Creating WordPress Theme – Adding Navigation Menu

In the layout we provided, we need to put our horizontal navigation bar under our header. I will be just putting sample categories in my navigation bar. You can put link of your pages if you want. In this example I will just be adding one custom link to my homepage and five sample categories. […]