Weekly Diary
Weekly Diary
For
Industrial Training
At
a) Introduction to packages.
3 b) Purpose of different packages.
c) Execution of code/project.
a) Introduction to JavaScript
4 b) Use of variables
c) Use of different Operators
Summary
In the first week of Industrial Training the following topics were covered:
1] Introduction of the company itself: -
1.1] The company is divided into 2 separate entities one of them is known by the name of
Scope.
1.2] Scope conducts implant training in/on different topics like MAD, UI/UX designing.
1.3] They also explained about our training & course as well as about their core values.
2] What is React-Native?
2.1] It is an open source JS framework for building applications.
2.2] It is based on React which is used to build interactive websites.
2.3] Features-
1] Code created is applicable on IOS as well as Android
2] Large community and interaction.
2.4] Installation steps and other topics could be researched upon by using-
[React-Native official documentation].
4] Introduction to JavaScript: -
4.1] JavaScript is a scripting language that allows us to implement complex features on
webpages & control dynamic website i.e. an interactive website, it also helps animate.
4.2] List of variables – var, let, const.
4.3] Scope of the variables: -
• Var- do not have block scope
• Let – only available in the block scope
• Const- Once declared value of them can’t be changed.
4.4] List of Operators- ‘+’,’-’,’/’, %’,’*’,’==’,’===’
Example-
let x=5;
let y=2;
let z=x-y;
console.log(z);
let z=x+y;
console.log(z);
let z=x*y;
console.log(z);
let z=x/y;
console.log(z);
let z=x%y;
console.log(z);
5] Function in JavaScript
5.1] A JS function in nothing but a block of code & is used to perform a particular task.
Example: - Function Fruit ()
{
Return ‘Apple’;
}
Output-Apple
6] Fun activities: -
On Eighth of June our mentors had arranged various activities: -
1] The first activity was named as Concentration Activity the task was simple each team was
given about a minute to remember as many of the words as possible.
2] The second activity was very much chaotic. In this activity in a team alternatively we had
to go round & speak number in English & Marathi. One member from each team was
selected & then same was repeated.
3] The third activity was very interesting in which we were displayed a total of 6 images &
we had to create a storyline around it.
Topics covered:
1 a) Introduction & use of button & pressable.
b) Types and use of events.
Topics covered:
2 a) Introduction to states & props
b) Use of states & props.
Topics covered:
3
a) Styles & types of styling.
Topics covered:
4 a) Introduction to TextInputBox.
b) Use of TextInputBox.
Topics covered:
5
a) Introduction to flatlist & sectionlist.
Topics covered:
6
a) Expert talk on financial literacy.
Summary
In the second week of Industrial Training the following topics were covered:
1.1] Button can be imported from ‘React-Native’. Button can be ’pressed’ instead of being
‘clicked' therefore it’s event will be known as onPress.
1.2] Pressable is very similar to a button & is also programmed in a similar way.
1.3] onPress has 3 types as: -
1] onLongPress
2] onPressIn
3] onPressOut
4] TextInputBox
4.1] Text Input is a component for inputting text/information into the app via keyboard. It
Is one of the foundational component and relies on the’onChangetext’event to read user
input.
4.2] It can also be styled according to our preference.
4.3] It is imported from ‘React-Native’.
4.4] It is often used with the help of states.
Topics covered:
1 a) Static Grid.
b) Mapping functions.
Topics covered:
2 a) UseEffect of lifecycle method
b) Purpose of Hooks.
Topics covered:
3 a) Proper understanding of flex.
b) Touchable Opacity.
Topics covered:
4
a) Radio Button in React-Native.
Topics covered:
5 a) Revision.
b) Understanding of Update & Unmount.
Topics covered:
6
a) Fun activity to improve teamwork.
Summary
In the third week of Industrial Training the following topics were covered:
2] UseEffect
2.1] UseEffect triggers a function on every component render leveraging react to execute
specified task efficiently.
2.2] It does not need any event to be triggered and automatically executes the function.
2.3] Life cycle Methods: -
Mount-loading
Update-changes being registered
Unmount-closing
2.4] Hooks are used so that we are able to use features of class components in function
components.
Topics covered:
1 a) Use of a Modal.
b) Use of a Status bar.
Topics covered:
2 a) Understanding of NPM.
b) Navigation.
Topics covered:
3 a) Styling of a stack page.
b) Options and Screen Options.
Topics covered:
4
a) Project management and its components.
Topics covered:
5
a) Implementation of an API.
Topics covered:
6
a) Expert talk to know your ‘why?’.
Summary
In the fourth week of Industrial Training the following topics were covered:
1] Modal and Status Bar
1.1] Modal is used to display information a ‘layer’ above the current page. It requires
Interaction before changes to current page can be made.
1.2] It can be best described by the example of pop-up messages.
1.3] Typically used in Login/Sign-up forms.
1.4] Status Bars used to enhance the overall user experience and provides important
System related information.
1.5] It can be imported from React-Native.
4] Project Management
4.1] Project – It is a task with specific set of goals, objectives and constraints which is to be
completed by a group of people.
5] API
5.1] API stands for application programming interface and are essential tools in software
developments that enable different system and application to communicate and interact
with each other.
5.2] Four methods of API: -
1] Get- used to fetch data.
2] Post- used to push/add data.
3] Put- used to update data.
4] Delete- used to delete data.
Topics covered:
1 c) Axios and Json Server.
d) Axios Get method.
Topics covered:
2 c) Revision of Get method.
d) Axios Post method.
Topics covered:
3 c) Revision of Post method.
d) Axios Delete method.
Topics covered:
4 b) Revision of Delete method.
c) Axios Put method.
Topics covered:
5 b) Async Storage.
c) App Icon Designing
Topics covered:
6
a) Discussion and project review.
Summary
In the fifth week of Industrial Training the following topics were covered:
2] Get Method
2.1] Const response= await axios.get(“Link”);
2.2] Post Method –
By using Axios. Post in the code we can easily push add data from the screen or
application to the API itself.
2.3] Const response=await axios.post (“link” {name:name1, email: email1});
3] Post Method
3.1] Const response=await axios.post (“link” {name:name1, email: email1});
3.2] Delete Method –
It is used to delete data permanently from the API itself. By using Axios.Delete
we are able to erase data from the API.
3.3] Const response=await axios. delete(`Link/$(id)`);
4] Delete Method
4.1] Const response=await axios. delete(`Link/$(id)`);
4.2] Put Method –
It is used to update data which is present in the API itself. By using Axios. Put we
are able change data present in the json server.
4.3] Const response= await axios. Put(`link/$(id)`) (Para=para, Para1=para1 );
5] Async Storage
5.1] In simple words it is a file present in the phone or mobile which can be used by the app
to store details which are to be frequently accessed.
5.2] App Icon can be designed by using sites like EasyAppIcon.
5.3] We need to replace the files of the app icon which we have created by the default.
5.4] Files are located – Android/app/src/main/res.
Topics covered:
1
a) Deployment.
Topics covered:
2
a) Revision and completion.
Topics covered:
3
a) Final preparation of our project.
Topics covered:
4
a) Project submission.
Summary
In the sixth week of Industrial Training the following topics were covered:
1] Deployment
1.1] Previously to test our project we were either using an emulator or physically
connecting a device.
1.2] By performing the following steps we are able to use our project like an actual
App.
1.3] Procedure –
1] Check or create folder inside the [android/app/src/main/asset/index.android-bundle]
2] Enter below command: -
[npx react-native bundle—platform android—dev false—entry-file index.js-bundle-
output android/app/src/main/assest/index.android.bundle—assests-dest
Android/app/src/main/res]
3] Then change directory to android (Cd Android)
4] Then enter below (. /gradlew assemble debug)
5] Check Apk inside the folder (android/app/build/outputs/apk/debug/app-debug-apk)
3] Final preparation
3.1] On the particular session we were still working on our last 10% of the project
development of styling and making changes which were necessary.
3.2] In this last 10% we in short made our project more responsive.
3.3] The deployment was successful.
4] Project submission
4.1] The final submission of our project was on 11/7/24.