Showing posts with label JavaScript. Show all posts
Showing posts with label JavaScript. Show all posts

Tuesday, March 7

ng4free - online development and testing tools

<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >news india</a>
<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >news live</a>
<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >news today</a>
<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >newshunt</a>
<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >newspaper</a>
<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >news24</a>
<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >news 7</a>
<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >news nation</a>
<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >newsong</a>
<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >news tamil</a>
<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >news</a>
<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >news 24</a>
<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >news paper</a>
<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >news channel</a>
<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >news aaj tak</a>
<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >news about jio</a>
<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >news abp</a>
<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >news amar ujala</a>
<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >news about jio sim</a>
<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >news app download</a>
<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >news aaj tak live</a>
<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >news aaj ka</a>
<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >news about currency</a>
<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >news aaj ki</a>
<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >a newspaper</a>
<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >a newspaper report</a>
<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >a news report</a>
<a href="http://ng4free.com/online-development-and-testing-tools.html" alt="w2way - free" title="ng4free - free Download " >a newspaper article</a>

Sunday, January 22

ViewData, ViewBag and TempData in ASP.Net MVC

ViewBag

– ViewBag is used to send a small amount of data to the view.
– There may be some situation where you want to transfer some temporary data to view which is not included in the model object.
– The viewBag is a dynamic type property of ControllerBase class.
– It does not retain value when redirection occurs,it is available only for Current Request.
– ViewBag is a dynamic property and it makes use of the C# 4.0 dynamic features.
public class DemoController : Controller
{
IList CarList = new List() {
new Car(){ CarName=”i10″, CarColor=”Black”,CarMileage=18.2 },
new Car(){ CarName=”EON”, CarColor=”Silver”, CarMileage=18.2 },
new Car(){ CarName=”Swift”, CarColor=”Red”, CarMileage=18.2},
new Car(){ CarName=”Verna”, CarColor=”Black”, CarMileage=18.2},
new Car(){ CarName=”Ciaz”, CarColor=”Silver”, CarMileage=18.2}
};
public ActionResult Index()
{
ViewBag.TotalCar = CarList.Count();
return View();
}
}

ViewData

– ViewData is similar to ViewBag, It can be used to send data from controller to view.
– It is a dictionary , which possese key-value pairs, where each key must be string.
– Viewdata last long only for current http request.
public class DemoController : Controller
{
public ActionResult Index()
{
ViewData[“Simple”] = “This string is stored in viewData.”;
return View();
}
}
To get back value from viewData write below line in view.

@ViewData[“Simple”]

TempData

– TempData retain value across subsequent HTTP Request
– It can be use to maintain data between controller actions as well as redirects.
– It internally stores data in session but it get destroyed earliar than session.
In the below example, a string value is stored in the TempData object in JupiterController
and it is redirected to EarthController and finally it is displayed in View.
public class JupiterController : Controller
{
// GET: First
public ActionResult Index()
{
TempData[“Message”] = “Jupiter is largest planet in solar system”;
return new RedirectResult(@”~\Earth\”);
}
}
public class EarthController : Controller
{
// GET: Second
public ActionResult Index()
{
return View();
}
}
View of EarthController
<html>
<head>
<meta name=”viewport” content=”width=device-width”/>
<title>Solar System</title>
</head>
<body>
<div>
@TempData[“Message”];
</div>
</body>
</html>

Tuesday, January 3

JavaScript – 10 JavaScript libraries to must watch in 2017

With several free top 10 JavaScript libraries out there it’s hard to know where to put your vitality. Some end up disposed of or forked into new undertakings, while others develop quickly and accomplish across the board selection.

Most designers definitely know the huge names like jQuery and React. In any case, in this post I’d get a kick out of the chance to present twelve option JavaScript libraries that are less notable however rising quickly.

1:: D3.js

Huge information is a developing industry and information perception is rapidly turning out to be similarly as imperative. There are huge amounts of diagramming and mapping JavaScript libraries however few emerge as much as D3.js. This JS library works with SVG and canvas components to render diagrams, outlines, and element perceptions on the web.

It’s totally allowed to utilize, and it’s a standout amongst the most effective perception apparatuses based on JavaScript. In case you’re searching for an advanced approach to render information in the program I would exceptionally suggest taking a look at this library to see what it offers.

2:: Node.js

I know numerous devs are tired of finding out about Node constantly. However, it truly is the quickest developing JS library and it offers far beyond a dev situation. With NPM you can oversee nearby bundles for every one of your ventures appropriate from the charge line.

This makes Node a full advancement toolbox that functions admirably with different instruments like Gulp. Additionally many related open source ventures have been based on Node so you can work with unit testing in Mocha.js or assemble a front end interface with the Sails.js structure.

On the off chance that you haven’t attempted Node yet then you may be shocked exactly the amount you’re absent.

3:: Riot.js

Virtual DOM rendering and custom components litter the React library. It has rapidly turned into the decision of all experts who need a capable advanced interface library for front end improvement.

In any case, Riot.js is setting up a strong battle offering a decent contrasting option to React. By utilizing the Riot structure despite everything you have entry to a virtual DOM yet it’s much less demanding to control with more straightforward sentence structure necessities. Sadly this library isn’t as large as React and it’s not fueled by Facebook, so you won’t have the gigantic group. Be that as it may, it’s a solid option and it’s a not too bad rival in the front end space.

4:: Create.js

From web liveliness to computerized media you can work with everything in CreateJS. This isn’t one single library, but instead a suite of libraries worked for various purposes. For instance Easel.js works with HTML5 canvas components while Tweet.js helps you assemble custom tweening and activitys for the web.

Each library in this accumulation fills an alternate need and offers present day highlights for every single significant program. In any case, the greater part of these libraries help with specific components so they’re best utilized on forte sites. In case you’re interested, then investigate the Create JS site to see what it offers.

5:: Keystone.js

Prior I specified Node.js and what number of different libraries are based on top of it. Keystone.js is a fabulous case that goes past Node by offering a full-scale CMS motor.

With Keystone you can fabricate MEAN webapps controlled by Node/Express and MongoDB on the backend. Keystone.js is totally free yet new. At the season of this composition it’s just in v0.3 so it has far to go for expert utilize.

In any case, in case you’re tickled by an immaculate JavaScript CMS then look at it and see what you think.

6:: Vue.js

In the realm of front end structures you commonly discover two noticeable decisions: Angular and Ember. In any case, Vue.js is another exceptionally prominent decision and it’s rapidly increasing more consideration since its v2.0 discharge.

Vue is a MVVM frontend JavaScript structure so it moves far from the run of the mill MVC design. It’s precarious to learn yet the linguistic structure is straightforward once you see how everything functions. It’s unquestionably a feasible decision in the war of front end structures, and it merits watching out for it throughout the following couple of years.

7::  Meteor


You can coordinate any stage into the Meteor structure with phenomenal outcomes. This open source extend helps engineers fabricate JS-fueled applications whether they’re continuous talk applications or social groups or custom dashboards.

There’s even a social news system called Telescope based on top of Meteor. This gives you a chance to make a social news/social voting site sans preparation running on Meteor and React.

Meteor is a monster of a library with heaps of components, however it is difficult to learn. In any case it is fun and gifted JS engineers can fabricate practically anything with this stage.

8:: Chart.js

With Chart.js you can assemble bar diagrams, line graphs, bubble outlines, and numerous other comparable components utilizing JavaScript and the canvas API. This is one of the easiest JavaScript libraries for information diagramming and it accompanies worked in choices for movements.

This is one of only a handful couple of JavaScript libraries I prescribe for information diagrams since it’s anything but difficult to setup, simple to tweak, and it accompanies a portion of the best documentation of any open source extend.

9:: WebVR


It appears like virtual reality has overwhelmed the world with new companies and energized designers working eagerly on VR ventures. That is the reason I wasn’t astounded to discover WebVR, another JavaScript API made for VR in your program.

This works off the most prominent gadgets like the Oculus Rift and the Vive yet it’s presently in an advancement organize. The API is open source and always being tried against cutting edge programs to gage how it works on VR gadgets.

In case you’re interested to take in more or get included with the venture look at the official site or visit the MozVR page for more data.

10:: Three.js

It’s insane to perceive the amount 3D activity has developed going back to the 1980s up to today. We’re all acquainted with 3D vivified motion pictures however web liveliness is still another outskirts. Also, fortunately we have JavaScript libraries like Three.js blasting a way for 3D liveliness on the web.

On the fundamental site you’ll discover many live cases of Three.js in real life. You can fabricate movement delicate foundations, custom 3D web illustrations, and element interface components that utilization 3D liveliness impacts. On the off chance that you have enough tolerance and drive you can construct any 3D impact with this library. It is the best asset for 3D movement on the web, and it accompanies loads of cases to kick you off.

10 Best Chatting Apps In India

  The modern world is all about Internet. There was a time when people use to pay high telephone bills to stay in touch with their friends a...