mytudip
mytudip
Tudip Technologies
33 posts
Don't wanna be here? Send us removal request.
mytudip · 6 years ago
Link
Web, Mobile, and API development is a crazy maze of technological choices. While discussing technologies and various options, Non-Technical people struggle to make any sense out of these terms because these are mere words for them.
0 notes
mytudip · 6 years ago
Text
Dynamic  Components in Angular | Tudip
Tumblr media
What are the Dynamic Components:
Dynamic components are instantiated and used in an application at runtime. They are reusable and used in any framework/library making building large-scale apps way easier.
How to use Dynamic Components in Angular Project:
Firstly, Generate a new Angular project, and make sure that you have the angular CLI installed and setup accordingly.
Examples:
ng-template :
It allows declaring a part of the HTML in the Angular Template. So, it is a better way to give a chance to use dynamism in our component which will be used in other components.
In your app.component.html file, Add ng-template in your HTML file.
<ng-template #test></ng-template>
If you run your application, you will not see text rendering on your component. This is because the text is not loaded yet in your DOM. Currently, ng-template grabbed it and used it in other components where it was needed.
How to grab the HTML template in your component:
Steps:
1. Viewchild:
This is an Angular Decorator that will configure the view query. It matches the selector that view in the DOM. It also takes the local variables as a parameter.
Import ViewChild from ‘angular/core’;
export class AppComponent implements OnInit, AfterViewInit{ @ViewChild(‘test’, { read: ViewContainerRef }) container;}
2. ViewContainerRef:
ViewContainerRef is a reference for a container. It stores a reference to the template element.
<ng-template #test></ng-template> <button (click)="addComponent('success')">Create success alert</button> <button (click)="addComponent('danger')">Create danger alert</button>
Before we go to the click method , we need to add a new service The ComponentFactoryResolver service exposes one primary method, resolveComponentFactory.
3. ComponentFactoryResolver:
Generally, the Angular compiler generates a ComponentFactory for any component referenced in a template. They load at runtime because there are no selector references in the templates for dynamically loaded components.
constructor(private resolver: ComponentFactoryResolver) {}
addComponent (type) { this . container . clear (); const factory : ComponentFactory = this .resolver. resolveComponentFactory (TestComponent); this . componentRef = this . container . createComponent ( factory ); this . componentRef . instance . type = type; // this.componentRef.instance.output.subscribe(event => console.log(event)); } 
The resolveComponentFactory() method takes a component and returns a ComponentFactory.
Details:
1. this. container. clear ();
While loading another view, we have to remove the previous view, otherwise, it will append more components to the container.
2. const factory : ComponentFactory = this .resolver. resolveComponentFactory (TestComponent);
The resolveComponentFactory() method takes a component and returns the recipe for how to create a component.
3. We are calling the addComponent() method with the recipe. Internally this method will call the create() method from the factory and will append the component as a sibling to our container.
this. componentRef = this . container. createComponent ( factory );
Now we have got a reference to other components, and we can set the type Input as:
this. componentRef . instance. type = type;
4. You can also subscribe to a component Output like this:
this.componentRef.instance.output.subscribe(event => console.log(event));
5. And don’t forget to destroy the component:
ngOnDestroy() { this.componentRef.destroy(); } 
6. Add your dynamic components to the entry components section:
@NgModule({ entryComponents: [ TestComponent ], }) export class AppModule {}
Related blogs:
1. Getting Started with Angular Material | Tudip
2. Difference between React and Angular | Tudip
3. Angular universal: Angular server-side rendering | Tudip
4. Creating a simple library using Angular CLI6 | Tudip
0 notes
mytudip · 6 years ago
Photo
Tumblr media
We are proud to share that our CEO Ms. Dipti Agrawal has shared Tudip's insightful vision in an interview with GoodFirms Have a quick read of this exclusive interview here, @ http://bit.ly/2H9LHWr
0 notes
mytudip · 6 years ago
Text
Hadoop Ecosystem In Google Cloud Platform | Tudip
Hadoop Ecosystem is generally considered as a platform or a framework which solves Big Data issues. Read here to know the basics of Hadoop ecosystem and advantages of migrating Hadoop Ecosystem in Google Cloud Platform (GCP)
Read more here @ http://bit.ly/2J3S6Un
.
0 notes
mytudip · 6 years ago
Video
tumblr
Here we bring a challenging and an interesting Roku Games which is developed by Tudip. Let’s try your hands and take the challenge - Play Roku Games Free Ready to take a challenge here: Buzzer Run Free: http://bit.ly/2PWYQoz Bubble Trouble Free: http://bit.ly/2ucwn43 Balls and Boxes Free: http://bit.ly/2H33g9e MineShaft Free: http://bit.ly/2GW5pEU
0 notes
mytudip · 6 years ago
Text
Interesting Facts About Roku Games - Bubble Trouble Free |  Play Now
“Like popping the bubbles endlessly? Here we bring a challenging and an interesting game which lets you do exactly that! Try your hands and take the challenge - Play Bubble Trouble!”
Roku provides the simplest way t stream entertainment to your TV. On your terms. With thousands of available channels to choose from.
Bubble Trouble is a game application in which the Shooter (actual player or hero) has to shoot all the bubbles and complete the desired level. The giant bubble splits into smaller bubbles, and each bubble should be destroyed to complete the level.
Tumblr media
Let’s have a look it’s completely free game
Ready to take challenge here:
- https://channelstore.roku.com/details/228306/bubble-trouble - https://tudip.com/our-portfolio/#roku
Challenge
The main challenge in Bubble Trouble Roku was to shoot the bubble then bubble splits into smaller bubbles, and each bubble should be destroyed to complete the level. To design the game board which would consist of the shooter, timing bar and bubbles. Also handle the left, right and OK click controls. To implement the multiple bubble poster nodes during the game play and set the circular moving animation to it. The score to be calculated based on two different conditions, i.e. the number of balls destroyed and saved time in the total allocated time.
Progress:
Initially we designed the game board having shooter, timing bar and ball using the scene graph’s different renderable nodes. We used different scene graph roSG Node to create the multiple poster and animation nodes during the game play and set the circular moving animation of bubbles. Implemented logic in brightscript to calculate a position to move the bubble poster nodes in a circular pattern. Implemented logic in BrightScript for calculating the number of balls destroyed and remaining time of the total allocated time.
Result:
Successfully designed the game board and handle the left, right, and ok click control to move the shooter and shoot to bubble. Completed the smooth animation for moving the bubble in a circular pattern using multiple poster and animation nodes created during the game play. Bubble Trouble lovers finally found their favorite game at the Roku Channel Store.
0 notes
mytudip · 6 years ago
Text
Here's A Quick Guide to Popular Buzzer Run Free Roku Game | Tudip
Tumblr media
Pass the ball through electric wires without touching them in minimal time or else buzzer will blow. Beat your best score for free! Here we bring a challenging and an interesting Roku Games which is developed by Tudip. Let’s Try your hands and take the challenge - Play Roku Games Free 
Ready to get a challenge: https://rgdbt.blogspot.com/2019/04/heres-quick-guide-to-popular-buzzer-run.html
0 notes
mytudip · 6 years ago
Link
Buzzer Run free is an interesting gaming application. Pass the ball through electric wires without touching them in minimal time or else buzzer will blow. Beat your best score for free! Here we bring a challenging and an interesting Roku Games which is developed by Tudip. Let’s Try your hands and take the challenge - Play Buzzer Run Free
0 notes
mytudip · 6 years ago
Text
The Ultimate Guide To Roku Games | Developed By Tudip
Tumblr media
OK, so what is Roku? Roku is simply a device which allows us to watch Free and paid video content on our TV via the Internet, TV and Mobile services like Amazon, YouTube are loaded just like Apps are loaded on our Smartphones. It is the easiest way to Stream videos on your television.
Please find a few Roku applications, that we developed in recent times:
Bubble Trouble Free
Bubble Trouble is an extremely interesting gaming application in which the player (Shooter) has to shoot all the bubbles to complete the desired level. The game gets more challenging with a giant bubble splitting into smaller bubbles as the Shooter shoots at them and the level is completed only when all the bubbles are destroyed.
MineShaft Free
Mineshaft is a single-player puzzle video game. The objective of the game is to clear a rectangular board containing hidden "mines" (or bombs) without detonating any of them. Of course you have some clues to help you with the number of neighboring mines in each field.
Tower of Hanoi Free
The Towers of Hanoi is an ancient puzzle played with three stacks and any number of differently-sized disks. At the start, all the disks are in the leftmost stack, with the largest disk at the bottom and the smallest at the top. The object is to move all the disks over to the rightmost stack.
Balls and Boxes Free
Balls And Boxes is a game which lets you do all the shuffling of the balls and the boxes. Your aim is to put the correct balls into its corresponding boxes.
I hope this article will help you to stream Roku games on TV!
0 notes
mytudip · 6 years ago
Link
Tumblr media
Ready to take challenge here:
https://channelstore.roku.com/details/245206/balls-and-boxes-free
https://tudip.com/our-portfolio/#roku
0 notes
mytudip · 6 years ago
Link
Tumblr media
0 notes
mytudip · 6 years ago
Text
Roku Game - MineShaft Free | Developed By Tudip
Mineshaft is a single-player puzzle video game. The objective of the game is to clear a rectangular board containing hidden "mines" or bombs without detonating any of them, with help from clues about the number of neighboring mines in each field.
Let’s have look it’s completely free game .
Ready to take challenge:
https://channelstore.roku.com/details/228252/mineshaft
https://tudip.com/portfolio/mineshaft/
https://tudip.com/our-portfolio/#roku
Tumblr media
0 notes
mytudip · 6 years ago
Link
Tumblr media
0 notes
mytudip · 6 years ago
Link
0 notes
mytudip · 6 years ago
Link
0 notes
mytudip · 6 years ago
Link
0 notes
mytudip · 6 years ago
Link
0 notes