#100DAYSOFCODE Week 2

Day #8: Work

25th of Aug:

My current job is making web animated banners. I have built AVIS, BUDGET, NSW transport campaign banners for months. Most of the banners are built and implemented into Sizemek or DoubleClick studio. I am a huge fan of GASP. In my opinion, GSAP is the best library to animate assets within JS codes. Some may tell me to try pixi.js and create.js. I heavily choose libraries based on how the community responds well to different matters and issues. So far GSAP wins. I plan to upload my animation works on my personal sites. The volume of works is massive since I have made animations for 5months. I am just not sure which ways are best to go. I don’t want to expose my codes(Indeed, I am not sure I am allowed to) via code pen. I may need to look for a way to generate gif files out of from web animation. Any thoughts?

Day 9: React CRM app practice1

26th of Aug:

I wondered how Redux works on React Native App. I never built React App before so I started to play lynda.com’s tutorial called “React Course Material Writing 3” by Emmanuel Henri. I have followed his tutorial and It was a good tutorial to follow what is CRUD & Redux pattern is about.

Day #10: React CRM app practice 2

27th of Aug:

It is same day to proceed. One thing I got is to inject firebase into React correctly. I had so many troubles to implement firebase before. A lot of old React tutorial explains old firebase way and that timing is way too far before firebase merged into google. I’ve got a problem to render my code at the moment. The problem I assume is from the timing when I tried to install React Native Redux Debugger. The course’ guide didn’t work so I tried to implement the modules by myself. It seems it doesn’t render anymore. I went back to my previous working repository and the result was same. I may ask Manny about it later. It is such a good instructor.

Day #11: TDD practice 1

28th of Aug:

I have the struggle to solve about the Promise. I want to learn ES6 deeper because React is now highly relying on this syntax. If you want to try here is the website. http://es6katas.org/

If you want to help me to solve es6 promise katas on creation, you are welcomed to pull request. I am stuck at the moment…

https://bitbucket.org/digitalspacecat/fecodepractice/src/52dea474e4d8316faf3aa86cef224c87acde89ec/Fundermental%20Practice/ES6Katas/Promise_creation/test.js?at=JSFund%2FES6Katas&fileviewer=file-view-default

Day 12: Work (Animated banner)

29th of Aug: Same as usual. All of sudden, the production work flow swamped me over. I have to build new AVIS campaign banners again. I have used GSAP to build the animations on the canvas. Without GSAP, I couldn’t achieve any tricky animations. Thinking of coding all movement with vanilla javascript. Ew. At some point, I will update my previous works. It is quite fun to make something really creative works with codings. The only problem is there are not many jobs like this unless you are an expert on something up-to-date framework. It used to be Angular and it is now React. Such a framework war saga.

Day 13: Work (Animated banner)

30th of Aug: Sames as usual. This part will be updated at some point. For instance, attaching gif file of my web animation. I have built AVIS banners for the quarter 4.

Day 14: Work (Animated banner) & Writing React state example codes

31th of Aug: Sames as usual for works. Although I have written something about state. I am currently writing NodeGirlsSydney React workshop “Intro to React”. The concept of props and state was quite confusing to me when I first faced to React – I still do. I wrote some basic components to explain “state” and here is my codepen for it.

This article gave me heaps of ideas to write my workshop. I recommend you to read it.

https://medium.freecodecamp.org/all-the-fundamental-react-js-concepts-jammed-into-this-single-medium-article-c83f9b53eac2

 

 

 

Advertisements

#100DAYSOFCODE Week 1

This starts from 4th of June. Day # Tasty road in Seoul with d3

5th June

Day #1 Tasty road in Seoul with d3

The D3 Practice

I did practice D3 structures. All code references cited. (Original code credit to Lucy Park. The blog is cited in the post link). It was very inspirational and I had a brief gasp of D3.

Since from the June, I kept coding because, you know, I have been an interactive developer for years. Unfortunately, I lost my own track of records in the regards to my #100-day challenge principle. If I didn’t write what I’ve done, It is not worth to put my 100 days code challenge bucket. So I decided to start again from scratch.

Day # 2 React Course Material Writing

19th Aug: I wrote the proposal of “Intro to React” beginner workshop. I did research of some simple app that I can show attendees how to build a react app. I quickly coded the weather app but I felt that it may be too much for beginners. React becomes really complicated too to develop in these days.

Day # 3 React Course Material Writing 2

20th Aug: I kept writing about Intro to React session. To do this, I looked at some materials from CodeSchool and the official page of React. React is heavily following ES6. I felt that I need to learn more of ES6. Especially when React uses maps and reduce method, I was very confused. A long time ago, Coding on React was not that difficult since it claimed that it is a very tiny library for only rendering virtual DOM. While I am away from Web UI, a lot of things seems changed far.

Day # 4 React Course Material Writing 3

21st Aug: I kept writing about the state on React. For myself, I do now understand what is the difference between props and state. The thing is… Can I explain somebody well? Nah..My process of understanding is very abstract and imaginary. It is just how my brain works. I am good at picking up correct one or wrong code. I, however, am horrible to describe with wordings, especially within the second language (My first language is Korean).

Day # 5D3 Practice 1

22nd Aug:

The Seoul tasty road’s code was basically for understanding how D3 works from looking at someone’s code. Most of the codes were based on Lucy’s code. At this time, I grabbed   D3 APIs and StackOverflow forums and Scott Murray’s lecture. The data source is from NAB Index table about online retail shop growth. (Table link)

What I applied on this chart:

  • Highlights
  • Transition
  • Tooltip as labels on the bars
  • Hover changing fills with JS

Day # 6 D3 Practice 2

23rd Aug:

So far I browsed D3. My thought? D3 is not that much spectacular. It is just a library you always need to look at the API document just like others. Is D3 useful? Yes, In some ways. I personally don’t think it is absolutely kicking benefits for me. To make a quality of charts, D3 requires so many lines of codes. It is a double side of a sword. If you are very passionate about making your own interactive chart with detailed design thinking, D3 is definitely to go. Otherwise, D3 is too much hustle to draw charts. If you are still interested in D3, then follow Shirly Wu. She is a senior ninja of D3. I am not heavily into the mode of customising charts out of data. Chart.js is enough if I need to integrate with React. Otherwise, there are a ton of chart tools. While working in Macquarie Group, I used AMchart, which was absolutely okay. When I just do data visualizing for my personal data journal, I only used dimple.js and I am happy about it. Using a chart with other JS framework? Chart.js was simple enough to use along with Vue.js and React.js. Don’t get me wrong. D3 is awesome and grant you limitless flexibilities. In other words, you are going to have a big learning curve, which I still do on the way.

Resource: http://htmlcolorcodes.com/color-chart/

Data table: Scott Murray’s intermediate data visualization reference

Day # 7 Coding Dojo

24th Aug: My favorite meetup! If you are living in Sydney and want to improve your JavaScript skills, I highly recommend coming to this meetup. You must study basic JavaScript beforehand. I observed this meet up a couple of times and many of people had no idea about how JS works or how programming works. If you fall into this case, please join the beginner team. The advanced team is a bit hard to catch up because we wouldn’t explain how JS method(and syntax) or TDD of Mocha works. I am regularly attending the Advanced team. My team did the banking kata together and we almost solved the goal. So much progressive. Kudos for Nik, Tanya, and Reenah for organizing coding dojos.