Rabu, 26 April 2017

Web Development Environment Mac


[intro music] cisco: hi, i'm cisco with acrobotic. and today we're gonna be talking about how to get started with the esp8266 development board. we're gonna be using the arduino ide to write custom firmware that is gonna be downloaded onto the board and execute. the materials that we're gonna need for this tutorial are the development board itself. it's optional, but nice to have a solderless breadboard and just a micro b usb cable. we've taken the esp-12e module, mounted it on

our development board, in order to make things even easier. we include a few additional components like a usb to serial uart translator chip by silicon labs. and a few other, like a voltage regulator a few other components, so that you can just plug it into your computer use the arduino ide and just get started with developing software or firmware that would run on the esp8266 itself. there are a few different options that you can use for developing firmware that

would run on the esp8266. and we're gonna be using today the arduino ide, but i wanted to mention the two more popular ones are using at commands. this is where you hook up the esp8266 to a micro-controller typically. that micro-controller will send these at commands via serial aserial uart interface. and again you can read a little bit more in the links included in the description. but then the esp8266 device is just listening to at commands, and

you tell it using an at sequence "hey, connect to wi-fi" "this is my ssid, etc. etc.". we are not gonna be using that we are going to write custom firmware that will get uploaded to the esp8266 and the esp8266 is just going to run that custom firmware. the other one that is really really popular is the node mcu firmware. that's a little bit similar to the at commands. you can actually use it a few different ways, but for the most part you end up using the lua programing language to have this sort of live interaction with the esp8266 itself.

you can read more about it again in the links included in the description, but in order to get started with the arduino ide, we're gonna jump to the arduino.cc website. and we are gonna go to the download section. and this is in case you don't have the arduino ide already installed. for those of you who are not familiar, ide stands for integrated development environment. so we are gonna look for the latest version, which is at the day of this recording 1.6.7. i'm gonna be using a mac, so i'm gonna click on the link for mac osx.

and then, you know, i encourage you to contribute to the project, they are really, they are doing really great work. i'm just for now gonna click just download. and it should take a few, a couple of minutes to download depending on your internet connection. the second piece of software that we gonna need is actually the drivers for talking to the iec that is on our development board that does the usb to serial uart translation. and for that we're gonna go to the link from silabs, silicon labs

included in the description of this video, and for me again, i am running this on a mac. i am running osx so i'm gonna scroll down and i'm gonna download the vcp drivers for mac osx. depending on your operating system, you'll need to download the corresponding drivers. once you've downloaded the vcp drivers from the silicon labs website go ahead and double click on the file. then go to the mounted image and double click on the package file to go through the installation process. go ahead and click 'continue'.

if you want to read the software license agreement, once you agree with it, then click 'agree', if you agree. and then just click on the 'install'. it'll ask you to enter your password as you are going through the process. this is again just installing the drivers that you'll need in order to communicate with the development board. and it takes a few seconds to install. at the same time we can go through the process of installing the arduino development environment. so i'm gonna go back to my downloads

which is where i downloaded the file. i'm gonna go ahead and unzip it. and that process should take a little bit. once the application is unzipped, go ahead and drag it to your applications folder. i had a previous installation. i'm just gonna go ahead and replace that one. once the vcp drivers are installed, you are pretty much ready to go. you can go ahead and open the arduino ide. then we want to go through the file menu for windows users and through the preferences menu for mac users.

there's gonna be an 'additional boards manager url's' entry. go ahead and enter the url included in the description of this video. and if you already have urls in there then just go ahead and add a comma and a space, before adding the one for the esp8266 family of boards. you click ok. the reason we did that is in order to have the board recognized automatically by the ide without installing anything additional. then we can go through the 'tools' menu. go to boards and 'boards manager'

we wanna search for esp8266. click on the entry and click on 'install'. it'll download a few things and install a few others, so it'll take some time. once that's completed we want to close down the arduino app, or the arduino ide app and restart it. once all of this is done, you can go ahead and connect your development board, your esp8266 development board to the usb port of your computer. from the 'tools' menu, we are going to select board

and the node mcu 1.0 entry. and for the port we're going to select, for mac, it looks like the one i'm showing on screen is forward slash dev, forward slash cu dot slab for silicon labs usb to uart. on windows it would be com and a number. so you just go ahead and select the entry and then finally we can go through the file menu. examples, basics, and we're gonna open the program 'blink'. then we're gonna make a few modifications so that it works

with the esp8266 board. instead of the number 13 for the pin that we're going to be using, we're gonna be changing it to pin number 16. then we can go ahead and click the 'upload' button. and your board should start blinking, once the program is uploaded to the esp8266. so that's it. you are ready to get started writing your own firmware to the esp8266. thank you for watching.

10 Best Logo Design Inspiration Febuary 2014

Web Development Engineer


i'm here with heather from artisan talentand we're talking about back-end developers we talked about this a second ago what's thedifference between back-end developers and front-end developers well the back-end is a little bit more technicalso it's really i would say the foundation is a good way of looking at it for what's to come with maybe a designer anidea that you will visually eventually see so this is the very intricate framework tobuild upon to make something visual okay cool and what kind of skill sets areyou looking for you obviously have lots of freelance projectslots of full-time positions run past your

desk what kind of skills are you looking for withback-end web development well someone has to be very passionate aboutthis someone that really understands i would saythe whole process so maybe they have a background in engineering or web development or somethinglike that and they have kind of found that they really do enjoy the back-end side whichcould be working in ruby on rails which is something we see quite a bit php they understand sequel maybe they've connectedwith you know the c++ we don't touch that too much but that's importantto know but understands that through the html

and css and javascript and jquery libraries so someone who understands all of that togive to a designer is really really really important and if they're efficient and quickand clean with their code hands down they will be definitely very happy person they'll be snapped up by your clients yes tell me what kind of projects can a back-enddeveloper expect and you know what kind of back-end programming what kind of back-enddatabase work what kind of back-end coding could they expect through you know throughtheir career

you know every once in a while we see somethingmaybe it's like a full-stack developer so that's someone that understands back-end developmentwith the front-end so those are occasional usually companies split it or projects aresplit between a front-end person and a back-end person too do maybe someone that's reallygood at ruby on rails or ruby developer those are the ones that we see a lot of becausesomeone has to really really be passionate about that and they might have to understand php howit's integrated into a database that they use with the company or a cms tool or something so understanding how to connect all the dotslike that is really really really important

you'll see sometimes like a sequel be thrownin there or maybe they need to understand angular copy script a little bit more on thefront-end just to be able to communicate with the front-endperson okay cool so let's say you have a person whohas got that kind of skills who has that kind of passion is interested in those kind ofprojects what kind of money what kind of salary whether it's freelance or full-time coulda back-end developer expect this is an area that if you're really seriousabout you can do very well so you know i would say you know currentlywe're working on some ruby positions you know and as far as an hourly rate range goes forthey're looking for someone in that four to

six years so anywhere from like forty to seventyan hour so four to six years experience yes exactly but then there has been full-time roles thathave rolled through and maybe they're more in that one-twenty to one-fifty range that's pretty serious for a programmer yes but if you think about it and this digitalage we're in wouldn't you want your foundation you know handled by somebody that's an expertin that area and i feel like we connect with those people

you know they we talk to them about what makesthem tick why they got into development why they're good at backend and here we are and my understanding wrapping this littlething up here is that you're talking about someone who is more so left-brained logicalanalytical less so right-brained which is sort of moreif you will communication emotional connected so i can see how and this is a bias bias bias question it's okay i can see how having a talent agency mightbe an advantage tell me what for a back-end

developer what kind of advantage would therebe in listing with a talent agency like artisan it helps them kind of get out of their shelland not to you know kind of go off on that someone they can trust i like to talk to developers because i loveto hear that analytical side about them and what they've put together is amazing to meand how they're putting code together but being a voice for them maybe giving themsome confidence giving them some coaching tips like hey this is the type of sampleswe need this is what you're going to expect when yougo on an interview this is the type of projects so it gives them kind of a heads up and iknow someone that's very methodical and maybe

very analytical likes to be kind of excitedto know what's to come so really helping them feel confident in thatspace is another sort of i guess advocate are we can be part of alright cool so if someone wants to reach out as a back-enddeveloper as a back-end coder to maybe get some work through you guys oran agency like you what's the best way to reach artisan i know you guys are kind of everywhere right yes we are but you can pick up the phone youcan find us online you can go through linkedin

you can find us at an event don't hesitate to come up and talk to us alright thanks so much for your help

How to Give Permission for User to Submit Content to Your Blog Without Become Member?

Selasa, 25 April 2017

Web Development Education


- [voiceover] in thisvideo, i'd like to recommend some websites that you can use to support your learning process and to learn more about htmland the web technologies. my favorite site for api reference is the mozilla developer network. this is maintained bythe mozilla foundation and in here you'll find information about basically all html tags,

what their attributes are, which attributes you should no longer use because they're beingdeprecated and things like that. normally, if you searchon google for any html tag and you add mdn or mozilla, it'll take you to theircorresponding page. i've never really used thissearch engine they have, i just search through google, but this is a great place to find

standard compliant information. another good website is caniuse.com. there are some features in html that are not fullysupported by all browsers, they are newer features. an example of those newer features, which are by the wayvery exciting features and i'm really hoping that they'll soon be supported by all browsers,

one of them for example is the input date, which is an input field that you can have to ask a date for the user, so it will show a calendar, and it just works outof the box, pure html. so this website, in here youcan search for any html tag and it'll show you whichbrowsers support this technology and which ones are in theprocess of supporting it and which ones simply do not support it.

so before using any cutting-edgefeature of the language, make sure to check on caniuse.com to see if it's supported or not. on zenva, we have a few different blogs and one of them is the html5 hive, which contains a lot of freetutorials on web development, other materials on html5 and javascript, and in here you canalso find a free e-book, which covers similar contentas this course, as this module,

but there are a few thingsthat we cover in the course that are not here and theother way around as well. and there's also a freeonline course on html and css, which is a simplified version of what you've been learning here, but there might be some contentthat's not repeated in both. there's actually a fair amount of stuff that's in one course, not the other. and lastly, we've got our youtube channel,

which contains a lot of videos that you can obviously watch for free, so if you go to our youtube channel, the zenva youtube channel, and then you go to the playlists section, you'll see all of thevideos sorted by topic, so you'll find a bunch of videos on, there's a lot more than those playlists. you'll find videos onhtml, videos on javascript,

videos on all sorts of web technologies and also other topics like web development andmobile app development. so there's another websitethat is very popular with people that are learning to code, which is the w3 schools, so that one shows up on google usually. the w3 schools is awebsite to be taken with a little bit of care

because it does have very goodexplanations for beginnings, but they're not always standard compliant. that's why i actually preferthe mozilla developer network, because they do a great effort into enforcing these standards and teaching you thecorrect way to do things, but having said so, i have to recognize that iuse this website sometimes, everybody does, so itcontains a lot of good,

quick explanations for things, but just don't forgetthat there might be things that are not fully updated, or that are not fully standard compliant.

10 Best Logo Design Inspiration Febuary 2014

Web Development Editor


[music] hi, i'm lisa catalano, and i'm a webdeveloper and designer. today, i want to talk about my mostimportant development tool and that's my favoritecode editor, brackets. brackets is a free, open source codeeditor led by a team from adobe. it's been around for about two years now. it started with a few great features thatwere unique and new, like the quick edit andlive preview. however, it took some time for it tobecome

the robust and powerful code editor thatit is today. in this video i am going to show you someof those unique features and the ways it can compete withany other code editor out there. one of the reasons i love bracket so muchis that it was created for front end developers and designers, it has avery attractive interface that's clean andsimple, yet powerful. it appeals to my design sensibility andbecause i spend all day in my code editor that makes mehappy. the first special thing that brackets hasis a

live preview which you can access byclicking here. it allows to see changes to your html and cssimmediately in the browser. the second special thing brackets givesyou is the quick edit feature. if i'm in an html tag i can quickly editthe css. when i go into quick edit, it will allow me to edit any existing rules that targetthat selector. it's finding a body tag in normalized css,but i want to create a new rule so i'll choosethat.

then i get to decide where i want the ruleto go, and i'll choose main.css. when i add some css properties, you cansee that the code hinting works great inside ofquick edit mode. notice, i have not saved anything yet. the circle is indicating that it needs tobe saved. but, the changes are showing in thepreview anyway. when you have multiple rules that would beapplied to your current selector, you can switchbetween them on the right or by hitting alt+arrowkeys.

to get out of quick edit, i can hit esc. if i'm on the ul tag and i hit cmd orctrl+e i see all the ul tags in css. but, if i move my cursor to the class nameinstead, i can create a new rule for the class ofy. you can see that the code hinting usesfuzzy logic, and you can skip letters when typingproperties and values. one feature of brackets that doesn't getas much attention, is something that i can't live without now,and it's the image preview. if we go into the sidebar to look at thefiles in our project, we can see

in the image folder, we get to actuallysee the image and its dimensions in the editorarea. this is one reason this code editor is agreat choice for web designers. if i add that image, the html, notice hownicely it let's me find the image in the directoryand add it. i barely had to type anything. now if i look at the html and hover overthe image tag, i can actually see a preview of the imageright there, i love that. another part of the quick edit that'sgreat

is the ability to get the color pickerwhen your on a color and a bezier curve editorwhen your editing something like a transition. i do need to go into the css file to dothat. if i go to a color and start up click at it, i can pick a newcolor with the color picker. if i add a change to the image on hover. and then add a transition.

i can create custom easing with quickedit. i just drag the handles to make thetransition that i want. if i need some help with a css property, ican use the quick docs feature. let's say i can't remember how to add aninside box shadow. i can type box shadow, then get to somehelp by either right clicking for the menu ortyping cmd or ctrl+k. i can see the word i want is inset so ican add it now. quick docs doesn't work with javascriptout of the box but there are extensions that will make thiswork with javascript and php.

when brackets first came out it had someof these wow features that made it specialbut, it didn't have all the powerful code editingfeatures that developers have come to expect in a codeeditor. but within the past year all of that haschanged and you can do most of the things you reallywant in brackets. for example, you can use multiple cursors. one way is to hold the alt key down anddrag the mouse. this works on both mac and windowsmachines.

now i can type once and it goes everywheremy cursor is. another way is to select a word with cmdor ctrl+b and then hit that again and again, to find andselect the next words. you can also move code around easily, whenyou learn the shortcuts. i'm going to open a larger project filenow. brackets uses fuzzy logic for code hintingand for quick open. i can hit cmd or ctrl+shift+o to get toquick open. it does a great job of moving to the top the files you are more likely to want toopen.

i don't have to type all the letters tofind something. it also has great find and replacefeatures to use across a large code base. i can easily exclude folders and fileshere, and it tells me how many files it will searchthrough down here. i can preview the changes it will make anddeselect places i don't want to make the change, either byfile or by line. brackets isn't just good for html and css,it does a great job with javascript, and you can useit for any language. it will lint your code automatically andtell you your errors.

this linting can be configured to yourpersonal preferences. and the quick edit feature works withjavascript as well. i'll add some quick jquery here in themain js file. notice that nothing is changing in thelive preview right now. however, as soon as i save this file, youcan see the change in the browser. i can click at it to take me to the function definition in the actualj-query source. and if you're working with a largejavascript code base, it will find your functionsanywhere.

if i want to take this further and see theshow hide function, i can click on the file name to open it in the correctspot, and then click edit again. and it will take me right to thatfunction. so i have two parts of the jquery sourceopen in one window at the same time. brackets does not have split view but thisquick edit feature means you need it a littleless often. split view is coming in a future releasehowever. the newest version of brackets lets youcustomize your workspace with themes, it only comes withtwo themes

out of the box, however there are lots of themes you can choose from in theextension manager. if i go to the extension manager, i can typetheme and it will show me lots of options. speaking of the extension manager, this is animportant part of brackets. brackets is an open source project and hasa lot of community involvement, especiallyin the area of extension. they allow you to add functionality tobrackets that isn't part of the core.

sometimes these extensions get pulled intothe core which is what happened with the themesfunctionality. there are too many great extensions tomention, but if you find brackets missing some functionality youwant, do a search in the extension manager and you might find it there, this was justa quick high level view at some of the greatfeatures of brackets. if you looked at brackets int he past andliked the quick edit concept but didn't think it was a powerfulenough editor for you yet. i would encourage you to try it again,it's come a

long way from the initial concept andworks great for your everyday editor now, thanks for watching, if youhave any questions about anything i've discussed here, you can askme on twitter at @lcatdesigns.

Download Top 5 Powerpoint Presentation Template for Free

Senin, 24 April 2017

Web Development Eclipse


welcome to the spoken-tutorial on creating a java web project. in this tutorial we will learn : to create a java web project about deployment descriptor about web.xml file here we are using ubuntu version 12.04 netbeans ide 7.3 jdk 1.7

firefox web-browser 21.0 you can use any web-browser of your choice to follow this tutorial you must have knowledge of core java using netbeans ide and html if not, for relevant tutorials please visit our website. now, let us see how to create a simple java web project using netbeans ide. for this we will switch to netbeans ide. on the top left corner of the ide, click on file and click on new project.

a new project window opens up. from the categories, choose java web and from the projects choose web application. then click on next. on the next window that opens. type the project name as myfirstproject. leave the project location and project folder as it is then, click on next. select glassfish server as the server. note that context path here is myfirstproject, this is the same name as our project.

we will learn about this in detail. now, click on next and then click on finish. click on the projects tab, we can see there are several nodes here and a web application name my first project has been created now, we are not concerned about all of these nodes right now. but let me click and show you, what it contains. now let us learn about what is known as deployment descriptor. a web application’s deployment descriptor describes: the classes, resources and configuration of the application and

how the web server uses them to serve web requests the web server receives a request for the application. it uses deployment descriptor to map the url of the request. it maps the url to the code that has to handle the request. the deployment descriptor is a file named web.xml. now let us come back to the ide. we are not able to find the web.xml file from the nodes available here. to locate it, at the top left of the ide, click on file, and then click on new file. from the categories, choose web.

and from the file types, choose standard deployment descriptor(web.xml). and click on finish. click on the files tab on the left hand side of the ide. note that web.xml is visible under the web-inffolder of the web node. you can see the source code now. we have an xml header here. we also have a web-app node. now, we shall try running the application. to do so, right click on myfirstproject.

click on clean and build. this will delete any previously compiled files and other build outputs. it will also recompile the application. again, right click on myfirstproject and then click on run. so the server is up and running and it has deploy my first project a browser windows open up and displays hello world this is because when we run the project, the web application renders the page shown. now, let’s have a look at the url here that rendered the page. it is localhost colon 8080 slash myfirstproject.

so when we run myfirstproject by default we get a jsp page that says helloworld! now, let us come back to our ide. we can see that under the web-inf folder there is index.jsp. double click on index.jsp. we can see the source code here. it is a simple jsp page with html tags only. it has the title jsp page and it has the heading hello world the server provides index.jsp by default when we run the web application. recall that we had come across something called contextpath earlier.

we had set the contextpath as myfirstproject itself. now, come back to the browser type the url as localhost colon 8080. and press enter we see that the home page of glassfish server is displayed. here 8080 is the default course at which the server runs on the machine. this glassfish server instance may have many applications running on it. to access a particular application type that application name in the url. so,we must type the specific application that has been deployed on that instance. so we will type slash myfirstproject .

and press enter. so we see hello world displayed let us summarize. in this tutorial we have learnt to create a simple java web project execute the web project and about the web.xml file to know more about this spoken tutorial project watch the video available at the following link

it summarizes the spoken tutorial project if you do not have good bandwidth, you can download and watch it the spoken tutorial project team conducts workshops using spoken tutorials gives certificates for those who pass an online test for more details, please write to contact at spoken hyphen tutorial dot org spoken tutorial project is a part of the talk to a teacher project it is supported by the national mission on education through ict, mhrd, government of india more information on this mission is available at

http://spoken-tutorial.org/nmeict- intro the library management system has been contributed by a leading software mnc, through their corporate social responsibility program. they have also validated the content for this spoken tutorial. this is arya ratish from iit bombay signing off.thank you for joining.

Top 2 Online Photo Editor on The Internet

Web Development Ebook


in this video we will create a sample asp.net web api application and consume them using different types of a clients for that first click on file new project select asp.net mvc 4 web application put a nice name my first web api and say okay

and here is the asp.net mvc code project dialogue box select web api and say okay so here it is what we have web api project template includes a sample web api called values with it. if you are a asp.net mvc developer then you may find lot's of features in web api as similar to mvc they are not exactly same but as a asp.net developer you can definitely views your knowledge here

but if you are not a asp.net mvc developer then this things are going to be new for you but it's not going to be difficult for you let's look at the some common features in mvc we have something called as mvc controller whereas in web api we have something called as api controller the difference between these two controllers are in api controller action methods are actually http methods like get, post,put and delete even we can overload these methods if required

we look into this method in details shortly but before that let's discuss about one more features i.e. routes let's take a look at mvc default routes and try to understand how mvc request work for that expand this app_start folder we have route config.cs file here open it here it is mvc default routes when request comes to mvc it takes the url and parses the first three segments of the url and the first segment is contoller

it find the class with this name then we have action and it literally find the method inside this controller with this name and we also have default or optional id parameter here just like this in web api we have default web api routes just to keep it separate from mvc routes web api routes are prefix with the word api we can change this name to anything like invoice api,customer api or may be facebook api as per our requirement

then we have controller and we have optional id parameter the beauty here is we don't have actions here the reason behind that is action are actually http methods and depending on the type of client request for example if it's a get request then get methods get called if it's a post request then post methods get called and so on let me close these both the files and move toward controller what i will do is i will put a break point here and exit to the application okay

now as per the route config i have to put api has prefix here and my controller name is values controller so values and press enter oh great breakpoint is here if i press f5 i get the xml representation of my string array is it that simple so let's look at the same request using fiddler for the those who don't know what is fiddler is fiddler is a web debugging tool which locks all http traffic between our computer and the internet it also let us make request and also let us modify the http address as per our convenience

you can pause the video and copy the url and download the fiddler to your computer okay let me open fiddler what i will do is click on this composer tab and we'll make a new get request to our web api and click on a execute okay we get success message now let's look at the output we got when we click on the raw what we can see here is we are getting json representation of our string data if you remember when we made the request using chrome we got xml representation where as in case of fiddler we are getting it as json

the reason behind that is we have something called as accept accept is a feeding http header it specify what kind of response a client can accept default what we say default accept value for chrome is xml whereas for fiddler it is json but but in fiddler we can change that like this

accept:application/acceptxml and say execute okay we got a success now if i click on raw what i can see i am getting a xml representation of my string variable if i click on compose and change this xml back to json and click on execute what i can see i am again getting the json this thing this term is called as or this concept is called as content negotiation depends on the client request server is returning the format

when client say i want xml it gives xml when client say json it gives json even if we want we can written our own custom format like visiting card anything or image it may be anything depends on the clients depends on our requirement we can change the accept value and client and if it is supported in the server it will return the same format now let's try to create something more interesting first of all in this video we only talk about get method we will try to cover post put and delete method in further coming videos

so let me remove this and let's create a small class called customer inside our model and let's create two properties inside this first one is int property called customer id let make it i capital okay and let's create a second property a string property called customer name that's simple next we will move back to our controller i.e value controller and just instead of returning this string what we will do is we will say he will written customer say import and here i will say customer okay fine now i will say if i==1 than return

new customer customer id =1, customer name sukesh marla else else if i ==2 then return oh what happen oh sorry its id okay if i==2 then return new customer customer id=2, customer name=new customer fine okay or else i will return null okay simple and again what we will do is here we will write something like this new list of customer

here i will say this enter and this okay we are ready with our controller we just created two get methods inside it one returning list and second returning a single customer now lets consume this web api we will consume this web api first using google chrome second using fiddler and third we will write jquery and try to consume the same so let's start with google chrome what we will do is we will just run this application

okay it's there say /api/value okay we got it we got the xml representation our list of customer this is because entering a url and pressing enter that mean we are actually making get request to our web api let me put break point here and run it again okay see break point is getting hit here when i say continue i am getting the xml okay now let me try with an another get method over loaded get method

okay where ever i put 1 i am getting sukesh marla in return let me put breakpoint there and let me try with second parameter say 2 i will press enter say f10 okay id is not matching now id is matching we are getting new customer return okay that's it we got the new customer here if i parse something else other than 1 and 2

then i ma getting okay id is not matching again id is not matching i am getting null okay we are getting nothing that's it it is that simple we just consumed our web api using google chrome now we will try the same using fiddler for that let me launch fiddler once again fiddler is here let click on composer and let make a get request to our web api here is the web api

and we got json representation of our list of customer now if we change the except we did earlier to application/xml and say execute and if we check the result here it is we got the xml representation similarly we can make request to our another customer another get method and

output is here in xml format you can see we have sukesh marla is here if you change the except i to json back then we will get the result in json format so it's that simple we can use fiddler for the testing purpose because we can test it for various format and all now the final demonstration where we will try to consume or web api using jquery

for that we have a small web application called web api test with us with a simple button and a jquery support here we have jquery or javascript handller for the button and our task is to write a code which will consume the web api and display the result so let's start coding in jquery we have something called as $.ajax which we can use to consume web api it has parameters like url which will accept

which will take the web api url then we have type which will tell which kind of which method we are going to invoke like get post or something else next it has data type what kind of format we are expecting in return we expecting json for now next we have a call back method called success which get called when the result is return from web api

it has a parameter called data now let's start with okay what we will do is we will put a alert and say data.customername now let's put a break point in our web api here and let's run this application now you notice as soon as if we click on this button we are getting break point here if you notice the value of id is now 1 so definitely we are going to get this customer in return when i say f5 i am getting in alert sukesh marla which is because of

this code block similarly if we try to consume previous get method which is going to return list of customer then definitely we are suppose to make a loop on customers we can do it like this data, it has a function called as function key, customer then what we have to do is we have to say alert one we have customer.customer name then nothing that's it now if i press ctrl f5 here

and try to click this button i am getting sukesh marla and new customer as well so here we finish our simple demonstration of how to create and consume asp.net web api hope you enjoyed if you have any query you can write to us and we try to reply with the best possible way we can thank you

4 Responsive Tabbed for Bootstrap 3.0 That You Should Try Before Design

Jumat, 21 April 2017

Web Development Dummies


vsauce, i’m jake and my parents have leftme…home...alone. which is scary because i’m only 8 yearsold but the silver lining is, that being 8, i have an incredibly intuitive understandingof thermal dynamics, mechanical engineering, and physics in general. which is good because there have been a lot of robberies in my neighborhood. so to protect myself i've recreated some of the traps from the movie home alone. now, there have been videos and articles about this before, about how damaging the traps would be. but nobody has recreated them, physically,and tested them on the human body…or in our case, a ballistic dummy.

so we will be testing two traps that alwaysstood out to me as being the most fascinating: the red hot door handle, and paint can tothe face. as a bonus, even though it isn’t a trap,the crowbar to the chest because that just has to be dangerous, that is if you even madeit past those first two. oh…i think i hear the bandits coming towardsthe house, i’m gonna go get ready. hey, we’re the threadbanger bandits andwe are robbing all these empty houses, right corinne? that's right rob. we're gonna knock off this little 8 yearold kid cus it’s not like he has a bunch of intricate traps set up that could seriouslyhurt us.

exactly. corinne, you check the front door and i’lltry the back. now we need to heat up a door handle to sucha, literal, degree that it glows red, becomes incandescent, that is the emission of electromagneticradiation from a hot body that makes it visible. in the film they use an electric bbq lighterplaced on the interior side of the door, and the heat then transfers from the brass knob,through the steel spindle into the exterior knob. one thing to consider before we test: theobject that is holding this hot door handle. the door is metal but the interior of it iswood and foam…so if i had to hypothesis

what’d happen, if we heat the knob closeto 1000â°f, the temperature at which it will glow, then the metal door will start to warpand the foam and wood inside it will combust into flame…which wouldn’t be good. but there’s only one way to know for sure. after 30 minutes the interior door handlegot to around 900 degrees f. the exterior door knob, only about 65 degrees f. it’staking a very long time so to speed things up we are going to use this map gas torchto get things a little bit hotter a little bit more quickly. the exterior door knob only got to about 115degrees f which still wouldn’t be that pleasant

to touch but wouldn’t do that much damage. the interior door knob we got to a total temperatureof 1400 degrees f. which is incredibly hot. to test how badly it would burn instead ofusing a hand we used pork belly, which has similar skin thickness. and held it on the door handle for 3 secondslike in the film. and the burn results were pretty similar tothe movie and pretty severe. but more importantly what did happen whichi thought would, the interior of the door lit on fire. the wood, the foam burned.

the metal right here warped, we could actuallysee some fire coming out of the door knob. over hours you could probably get the exteriordoor knob to heat up not hot enough to glow, to be incandescent. but the interior door knob would get thereover a long enough period of time. let’s move on. and it should be noted that with this goingfor hours the door would most likely, totally light on fire which defeats the purpose becausethe villains could just walk right in. so...ya know. the hot door knob is very similar to the blowtorchto the head trap from the film which my friend

mark rober and i tested over on his channel. and speaking of heads and mark rober, let’sfind out what happens when a full can of paint hits you there. to help explain, the star of my favorite b&w gangster film “angles with filthy physics”, mechanical engineer mark rober. i’m gonna give you to the count of 10 to get yourugly, yella, no good - oh, vsauce! it’s you. let’s talk paint can to the face physics. a standard 1 gallon can of paint has a massof about 13lbs. in the film the can is

dropped from the top of the stairs with thebandits roughly in the middle. this means, as it falls, it gains speed becauseof the conversion of gravitation potential energy to kinetic, which works out to 17 mph. this is the speed of the can as if it werejust released, but you add in a swing before release meaning you have a 13lb paint cancoming towards your head at 20mph. now if we assume your face crumples a bitand stops this paint can in about 3/4 of an inch of travel, that puts the impact forceat 12kn. that is like getting bare knuckle punchedby mike tyson twice at one time. 12kn is 6 times more force than is requiredto break your nose.

then, if we take that force and divide bythe mass of your head that means your head snaps back at 266g’s. that means there is virtually a 100% chanceyou will be knocked out and a 42% chance your skull would actually crack. now where was i? oh yeah! i'm gonna give you 10 seconds to get no good, yella belly, ugly, dirty rotten keester outta here. as mark was saying, your skull cracking is not good. also, because of the way the head is struck,the bandits are likely to suffer an unhealthy dose of whiplash – causing even more damageto the brain. after this trap, your burgling days are most likely over. hey!

he’s at the top of the stairs! i think i need to go to the hospital, my handis pretty burned. get him! time to test the trap! so a paint can to the face would be incredibly devastating...which i feel is an understatement. but luckily for us, threadbangerbandits are very, very tough so this brings us to the last test: the crowbar to the chest. i just need one thing...oh. here it is! ahhhhhhhhh!

why is this happening to me? rob...what are you doing? corinne…don’t move. the crowbars weighs about 5lbs. and is swinging through the air ataround 35 mph it will deliver a total force of 15,000n. about 4.5 times the amount of force neededto break an average human rib. it broke through the skin, 7ribs, and in this test actually punctured a lung and the heart. ok, so after doing this tests, what did we find out? well, the hot door handle would get very, very, very hot give enough time, a very long time.

you'd get 3rd degree burns on your hand and you would probably have to go to a hospital. you wouldn't be able to use this baby for the rest of the night then we get to paint can to the head. which is devastating, really cool, but really devastating. that would be the end of your robbing career and you probably wouldn't walk away from it. but you do, some how, and we get to crowbar to the chest. which not only breaks your ribs but punctures your internal organs. and that's not good and you should really go see a doctor at this point if this happens to you. please this is just a psa from me to you. so could you survive the home alone traps? most likely probably, pretty much, no you couldn't.

which makes me think i should check on rob and corinne... and, as always, thanks for watching.

Download Top 5 Powerpoint Presentation Template for Free