Welcome to this course on nanostructured materials, synthesis, properties and applications. In the previous lecture, we had discussed the concepts of nanowires, their synthesis and applications. And today, we are starting the seventh lecture of the module three and we start on a new topic which is self assembly of nanostructures. And we will have three lectures on the self assembly of nanostructures. Today, we will discuss the first lecture on the basics of self assembly of nanostructures. Now, what is self assembly? If all of you know that when you assemble a computer, there are many parts of a computer. So, you basically put together all the different parts and when you assemble all these different parts which may include a memory, a power supply and so many other things, you are assembling them together to get a final product which has a particular function. So, this particular function which this final product has depends on all these parts being put together in the same in a particular manner. And if it is not put together in a particular manner, then this product will not be able to function the way it should. Hence, how you assemble the various structures to give you the final product is very important and this is a normal assembly which we see in our daily life. Now, if you want to look at assembly in solutions, then a typical example of self assembly is the case where you have components which are either separately or linked spontaneously form a stable well shaped ordered aggregate. And this is shown by this example where you have a surfactant molecule. A surfactant molecule as you know is typically a long chain hydrocarbon that is made up of carbon-carbon bonds and it has a polar head group which here is shown as a nitrogen atom with a positive charge. So, it may be a trimethyl ammonium ion or a triethyl ammonium ion and this kind of a structure which has a polar head group and a non-polar chain is typically called a surfactant and is shown by this kind of a structure where you have the head group and the long tail. Now, when you bring such surfactant molecules many of such surfactant molecules if you put them in water, then they self assemble that means they come together and form some kind of an ordered structure. So, if you look here it appears that these surfactant molecules are arranged such that all of them have their polar head groups on the periphery and their tails are all pointing inwards. So, they have a particular way of coming together of assembling to form this aggregate and this is what we call as a micelle and this is a spherical micelle. So, this is an example of self assembly in solution where you have got an ordered aggregate from some molecules in a liquid. This can also be seen like this kind of self assembly in water can assume very large proportions and you can get many types of very large structures not only spherical structures you can get many other types of structures. Now, here is another example from nature where you can see self assembly this is an example of a soap bubble. So, as you know if you have a soap solution a soap solution as all of you know is made up of molecules of soap which are like the surfactant molecules and they have long chain hydrocarbons with polar head groups. So, when these large number of molecules in water aggregate and you blow some air then you get this kind of bubbles and this is an example of a surfactant double layer forming. So, in the bubble there is air inside the bubble and there is air outside the bubble. So, typically how you explain the interface between the air which is inside and the air which is outside is shown here where you have these polar head groups pointing inwards and the tails point outside the here outside means outside the interface, but actually they are pointing inside the air bubble and again you have a thin layer of water and you have more surfactant molecules on the outer periphery of this water. So, you have two layers you have a outer surfactant layer aggregated on top of the water molecules in a fashion that the polar head groups are close to the water surface. Similarly, you have a inner interface which is formed by this aggregate of the same surfactant molecules and again the polar head groups are close to the water surface and so both ways if you look away from the water surface that is either here or here you have got the tail groups which are hydrophobic which are close to the air medium which is outside or the air medium which is inside the bubble. So, this is a natural self assembly and how did it come about it came about by a natural process when you blew air in soap bubbles in a fashion which created this structure. If you put in too much force or too much air maybe you will not get the bubble if you put in too less air you will not get the bubble and so you know that you try out many times to get the right kind of bubble and that is because these bubbles will be stabilized for a particular size for a particular thickness of the film depending on the type of surfactants and the quantity of surfactants the quantity of water inside. This is an example from nature of self assembly now this kind of surfactant self assembly can be discussed in many types of phase diagrams. So, this is a particular diagram where what is being shown to you that at different surfactant concentration and at different temperature what kind of aggregates are formed. So, you can get micelles which are spherical or cylindrical at particular conditions. So, for example, if you see at low surfactant concentration below 10 you can see that that means very small amount of surfactant molecules are there they are more or less isolated they do not aggregate to form any structure till you come to a surfactant concentration which is called CMC 1 and then these surfactant molecules aggregate to form this kind of micellar structures. If you increase the surfactant concentration further at a particular temperature you may get the cylindrical micelles if you increase the concentration further you can get these stacked cylinders which form what we call a hexagonal phase. If you increase the surfactant further you may get cubic structures of well organized and aggregates of surfactants and very high concentration of surfactant and at some somewhat high temperatures because these are not stable at very low temperature low temperature you will get crystals in water but at high temperature and high concentration of surfactant you will get lamellar phases. So, this kind of a picture or a diagram shows you what kind of aggregates you will get depending on the concentration of surfactant that you have and the temperature at which you are working. So, you can have a large number of surfactants this particular diagram is for a surfactant which is called CTAB which means Cetyl Trimethyl Ammonium Bromide and when you take this CTAB in water and change its concentration then you can get isolated surfactants micellar structures cylindrical structures hexagonally arranged cylinders which is called the hexagonal phase cubic structures and lamellar structures. So, these kind of periodic structures or aggregates can be obtained at different concentrations of the surfactant molecules in water. So, you have only taken surfactant and water and change temperature and you get different structures. Now, if you add something more that means you look at a fixed temperature, but you have three components one is the surfactant the other is say water or polar medium instead of water like ethanol or you can have a non-polar medium like oil which is organic solvents or monomers or etcetera then you can create a ternary phase diagram. So, in a ternary phase diagram you are fixing the temperature and pressure and here you are varying the concentration of surfactant water or and oil and depending on their concentration you will be at in certain region in this triangular phase diagram. So, for example, for low amount of water and high amount of oil. So, amount of oil is high and water is very less. So, you are away from water that means you are somewhere there you are close to oil and then you will get this kind of inverted micelles where the polar head groups are inside the and water is inside and oil is outside. However, if you take very large amount of water and very small amount of oil with some amount of surfactant you will be somewhere here and when you are here you will get these phases. So, very small amount of surfactant and very small amount of oil, but very large quantities of water will give you spherical micelles and if you expand this is a particular type of spherical micelle where you see these are the surfactant and the polar head group is outside and the hydrocarbon chain is inside and you will have the organic solvent here and outside you will have the aqueous medium. So, if you want to make a silica surface on that this silica will be on top because that is where the polar head groups are and then you will form silicate on top of it. Now, this kind of phase diagram tells you all the different possible structures which you can get taking particular compositions. So, the phase diagram helps you or guides you to choose the right composition of surfactant, water and oil to get the kind of structure that you are looking for. If you are looking for a cubic structure then you are here and you know that you have to have less content of oil and reasonable content of surfactant and quite reasonable amount of water. So, this is the way you have to try to understand phase diagrams in order to create different structures in surfactant medium or in micellar medium. Now, going to the next case or slide what is the importance of self assembly? Why do we try to study self assembly? The reason is that we all the time see processes especially in living systems which are dependent on self assembly. So, for example, the cell contains different complex assemblies such as lipid membranes, proteins and nucleic acids and many kinds of molecular entities which we call the molecular machines because they function like machines like they function to pump ions or they can function to pump water across membranes etcetera and these molecular machines are basically made up of self assembled structures. So, understanding self assembly is very important in life processes and biological systems. Self assembly also is important if you want to synthesize inorganic materials like many nano crystalline materials, liquid crystals and phase separated polymers. So, it is not only required in understanding biological systems, but also to discover or invent new materials which depend on self assembly. So, there are wide number of systems where self assembly is occurring and there is great potential for its use in materials, biomaterials and condensed matter science or in the physics and chemistry of materials. Now, you can use self assembly to create new structures. So, that is very important and this method of creating structures from molecules or small systems to larger systems is very important in today's world of nano science and nano technology and this technique of building structures from small to large is called the bottom up approach. So, the bottom up approach involves molecules, ligands, metal ions and builds larger structure in what we call up the bottom up approach. However, other methods use the top down approach where you start with a large material and try to remove material and come down to a smaller structure or a nano structure. However, top down techniques are very expensive, they require lot of infrastructure and they are not so selective and you lose lot of material while you are removing atoms and molecules or fragments from a large bulk solid. So, the self assemble process which nature always uses to build larger structures uses much less energy and much less material is more specific and gives rise to the very precisely designed structures. The feature size of the patterns in the top down methodologies is normally restricted by the limits of the exposure of the radiation which you are using to create nano structures using top down method. That is another negative point for the top down processes to create nano structures. Now, self assembly primarily uses or explores the effects of Brownian motion that is the motion that you know the random motion which a gaseous molecules have or you have some in a dilute solution you have the movement of some ions and molecules. Now, in those effects of Brownian motion or the random motion along with intermolecular forces there are different types of intermolecular forces you incorporate them their effects and the second law of thermodynamics which tells you that entropy has to increase. These are certain concepts which are important when self assembly takes place and because of these factors self assemble structures are guided towards a particular desired structure that you want by controlling these factors. Now, what are these forces that we talked about which guide self assembly these forces can be of different kinds there can be weak intermolecular interactions like the thermal energies of the value of k t. Then there can be non-covalent interactions which are van der Waals type they can be electrostatic hydrophobic interactions they can be due to hydrogen bonds and then they can be like you get in supermolecular assemblies etcetera they can be weak covalent bonds like coordination bonds. These different types of bonds or interactions have some energy associated with them. So, it is always better to have an idea of the energy involved with each kind of specific interaction. So, for example, if you are looking at a electrostatic energy which is comes under non-covalent interactions the electrostatic energy is proportional to 1 by r which is the distance r is the distance between two species which are trying to come together. So, if r is the distance between two species which are trying to come together then the electrostatic energy is proportional to 1 by r that means, if you change r by r r goes to 2 r then the energy will be proportional to 1 by 2 r. So, it is a long range kind of interaction iron dipole interaction goes go as 1 by r square. So, the iron dipole interactions are weaker than electrostatic interactions dipole-dipole interactions go as 1 by r cube. So, they are still weaker and van der Waals interactions are really very weak and hence they are short range that means, they can be seen only at very very small values of r. If the r value is higher you do not get any van der Waals interaction. So, they are very short range forces since the energy is proportional to 1 by r to the power 6. So, you must have a feel for the values of these different interactions when you try to understand the forces which are interacting between molecules and ions during self assembly. So, what are these different types of bonding which we interactions which we are we discussed now these interactions which are non-bonding are typically shown here. So, this is the iron dipole. So, this is an iron is positively charged this is a dipole and. So, this kind the interaction between this the iron dipole is basically between the charge on the iron and the dipolar charge and the value of the energy is of the order of 40 to 600 kilo joule per mole. And this is an example where sodium ion is there and in water and sodium ion in water will see a dipolar interaction with water where you have a delta negative charge on oxygen and you have a delta positive charge on the hydrogen. This delta negative charge on oxygen will interact the with the positive charge of the sodium ion. And hence this is a typical case of iron dipole interaction with energies in this region between 40 200 200 up till 600 kilo joule per mole much weaker interaction is the hydrogen bond. The hydrogen bond is when you have a hydrogen between two electronegative elements like for example, a is electronegative. And so it will have a delta negative charge and this is say covalent bond covalently bonded to hydrogen. And when this species is close to another ion which has a delta negative charge then this delta negative charge and the delta positive charge on hydrogen will interact. And this is the hydrogen bond commonly seen with compounds which have OH groups or have a fluorine attached somewhere to the hydrogen and this kind of interactions have energy much smaller than the ion dipole energy. So, the hydrogen bond is weaker than the ion dipole bond and this is an example of interaction of hydrogen bond between two water molecules. So, you have two water molecules one in which the hydrogen is covalently bonded. And it is close to another water molecule which is held by hydrogen bond due to the delta positive charge on hydrogen and the delta negative charge on oxygen. And this is much weaker than the ion dipole bond. Similarly, you can get dipole dipole bonds of much lower strength of 5 to 25 kilo joule per mole then you can have ion and induced dipole. So, for example, oxygen molecule does not have a dipole. So, there is an induced dipole because of the positive charge and so the electron cloud there will be a shift. And so you have an interaction between an ion and the induced dipole on oxygen and this interaction is much weaker of the order of 3 to 15 kilo joule per mole. You may also have dipole induced dipole weaker forces and you may also have induced dipole induced dipole. For example, fluorine molecule two fluorine molecules are close together they generate or polarize each other and generate charges on each other. And that induced dipole then gives rise to this bond which is very very weak as you see can be very weak as 0.05 kilo joule per mole. So, these are different types of interactions which are possible and such interactions brings molecule together. And in self assembly that is what you do you bring molecules together or ions together and form a larger structure. So, all these different kind of interactions all or some of them can bring about self assembly in a particular system. Now, the requirements for self assembly. So, the you must have the components if you want to bring two parts together you must have those two parts and then you when once you bring them together they can join. So, you must have the components with you the second thing is it should be reversible. Once you form a self assembled structure it is possible to disassemble the structure because these interactions which are holding the structure together is not very strong. So, once you put up the parts like we discussed building a computer from different parts if we unscrew the whole computer take out the parts it should be easy for us to disassemble the parts. Similarly, in molecular systems in self assembled systems it should be reversible and it is the structure the self assembled structure is controlled by properly designing the components which you are starting with and this assembly will be brought about between these components by intermolecular interactions then you need fluid or smooth surfaces like normally you put the component they may be molecules. So, they are in a solvent or water in a fluid where they can rearrange and get adjusted where their weak interactions can be modified and this aggregate structure which forms due to self assembly is always in equilibrium between the non aggregates that is the components which have not aggregated and the aggregate they basically there is an equilibrium existing between them. Now, the types of self assembly you can have two major types of self assembly one in which there is no dissipation of energy. So, that is called a static self assembly. So, the systems are in a local or a global equilibrium and they do not dissipate energy the other system is dynamic where there are interactions only when you have energy dissipation. So, these are two basic differences normally molecular crystals or most of self assembled structure that we study are static self assembly. The dynamic self assembly is commonly seen in nature for example, we will show you some examples like a large soul of fish that is many fish moving together in the ocean. You can see that it appears that they are moving together thousands and thousands of fish and there is some energy which is being dissipated in the movement and that is a dynamic case of self assembly. Similarly, in the atmosphere you have galaxies which appear to be self assembled from components. So, there are these different types of self assembly you can have molecular crystals like we discussed self assembly from atoms or molecules and they can be either ionic crystals or atomic also and these materials are all static the assembly self assembly static there is no energy dissipation in this system and these self assembled materials of course, have variety of uses in materials and in optoelectronics. There are many other types of cases for example, if you go to self assembled monolayers which are normally made on a film on a liquid you can make a monolayer of molecules on top of a liquid and may be we will discuss in future some examples there also it is static self assembly we are bringing molecules together on a surface of a liquid. Similarly, liquid bilayers they are also static self assembly like in bio membranes and emulsions liquid crystals used for displays there also we have static self assembly colloidal crystals used for band gap materials molecular sieves also involves static self assembly dynamic self assembly as I said can be seen in the solar systems in the galaxies where you appear to see a particular assembly of planetary material and during the this assembly there is always energy which is being dissipated. So, very large systems so there are chemical reactions also where you can see the self assembly is has a dissipation energy, but it is seen especially in solar systems in galaxies where this dissipative type of self assembly is present most of the systems in chemistry or chemical engineering related to assembly or molecules or layers or bilayers is all static and does not involve dissipation of energy. So, these are some examples of static self assembly. So, this is in our body you know ribosome ribosome is very important that is where proteins are synthesized. And you can see it is a self assembled structure and very very important function it has based on this self assembled structure is another polypeptide which has been self assembled from some nano fibers this is an example of an array of millimeter sized polymeric plates which are assembled at a water and per fluoride chalene interface this is an assembly of a liquid crystal. So, a liquid crystal where molecules have self assembled and this has been put on a isotropic substrate you can have micrometers sized metallic polyhedra. So, this is in the shape of a cube is the shape of a prism and these have actually been made from planar substrates. So, you have assembled this cube or this prism from a planar substrate of metal polyhedra and that is another example of a static self assembly. And the last one here shown is a three dimensional aggregate of plates which are micron sized micrometer sized plates which are again assembled by capillary forces. So, these are all examples of static self assembly. Now, examples of dynamic self assembly for example, here it is shown that a cell with a fluorescently labeled cytoskeleton and nucleus and the microtubules are colored these are colored in red the microtubules. So, this is an example of a cell which is in our living cell and this is how this has come about this cell is by self assembly of several objects which are within the cell for example, the nucleus and several other bodies which are present inside the cell and this is dynamic it involves energy dissipation. The second one is a classic case in chemistry and this is found this kind of reaction diffusion where the reaction is occurring you can see some waves formation and energy is being dissipated in a particular type of reaction. And these reactions these are given a name called the Belosov Zabotinsky reaction and these are particular reactions where these are also called oscillatory reactions where you have this dissipation of energy. The third example is of some aggregate of disks which are magnetized and are interacting with each other and they are interacting with each other through what is called vortex-vortex interactions and this also involves heat dissipation and so this is a dynamic self assembly. So, these three are self assembled and it is a dynamic self assembly because there is dissipation of energy. This is an example which I already mentioned is a large number of fish in the ocean you can see that thousands of fish will travel together and it appears that there is some interaction between them so that they know how to move together within the ocean. And this is again an example of a dynamic self assembly of a school of fish and it involves again energy dissipation. This is again a manmade system of charged metallic beads which are around 1 millimeter in diameter and they are rolling in circular paths on a dielectric support. So, when they do that it appears that they are self assembled and there is again dissipation of energy. This is a micro patterned metallic support. So, there is a micro patterned metallic support where the two centers of the cells are at 2 millimeters apart and you can see some kind of a convection cells around these points and this self assembly is again a case of a dynamic self assembly. So, we looked at cases of static self assembly and dynamic self assembly the two main classes of self assembly. Now, self assembly if I want to control or how does self assembly get affected by they are affected by external forces like gravitational force, electromagnetic fields, magnetic fields, capillary forces and due to entropy variations. So, all these factors will affect the self assembly. Now, typical most important two things are Brownian motion and intermolecular forces and intermolecular forces are of several kinds we discussed can be due to iron dipole induced dipole induced dipole which are the dispersion forces or hydrogen bond. So, if you can control those intermolecular forces and somehow balance the Brownian motion with respect to the intermolecular forces then you can get to a self assembled structure. The Brownian motion controls the location of the molecules and the intermolecular forces holds the molecules at a particular position. So, those molecules which are not in the assembled position the Brownian motion will help bring it to that location. So, both these things are required the Brownian motion which is making the components move towards a self assembled structure and the self assemble the intermolecular forces holding the components in the self assembled structure. So, in biology or typically in biological self assembly the association of weak and reversible interactions lead to a thermodynamically favorable state. The assembly is different from binding which we explain like the enzyme substrate binding in biology which we say goes through a lock and key mechanism this particular self assembly biological self assembly is different from binding. It can be biological assembly is mostly cooperative and so if you trigger at one place the effect can be felt over a large space in biological systems and normally the self assembly is complementary in biological systems with respect to molecular shape. So, these are some of the important points one has to be aware of when discussing biological self assembly. Here we show you some examples of self assembled aggregates of amphiphiles. Amphiphiles or molecules which have which can bind or which have interactions with both a hydrophilic and a hydrophobic group. So, those are amphiphiles and here you see this is an example of a aromatic rod and a coil. So, there is an aromatic rod and a coil this is a helical rod and a coil this is a beta sheet in like in proteins. You can have the alpha helix the beta sheet depending on how there the binding is between the various peptide linkages. So, you can get different kind of aggregates based on these kind of monomers. Now, these block we can call them block molecules or these block molecules have different shape and there is something called a packing factor and this packing factor is related to the volume of the hydrophobic chain. So, you have the hydrophobic chain here. So, volume of the hydrophobic chain is given by V divided by the polar head surface area. So, if you have a polar head group then what is the surface area of the polar head group is given by A naught and L c is the chain length of the hydrophobic part. So, if you know these three factors you can calculate p and based on the value of p the aggregate is has a different structure. So, if p is less than 1 by 3 then the structure looks like this. This structure will self assemble to form what is called a micelle. However, if p is between 1 by 3 and 1 by 2 that means the shape is typically like this not exactly like this then the structure becomes instead of a spherical micelle is tends to be like a cylinder and if this value of p is between half and 1 then it tends to be somewhat like a vesicle. You can have lamellar structures when the value of p is nearly equal to 1 and then you have this lamellar type of structures. So, the self assembly leads to different structures depends on this packing factor which depends on the volume of the hydrophobic chain, the area of the head group and the length of the hydrophobic chain. So, you can control the morphology of the nano structure by controlling or varying one or more of these factors. Now, this is an example of your you start with diblock copolymers and these kind of copolymers with a mannose. So, this is a sugar group here at the top and you have the aromatic ring with a sugar group which is mannose in this case and this can give rise depending on the length of this hydrophobic chain. You see you can vary the length of the chain if you can get a vesicle which is 40 nanometer wide you can get a spherical micelle which is 20 nanometer wide and you can also get a cylindrical micelle which has a diameter of 20 nanometers depending on if you change this group out here. So, you can construct different kind of self assembled structures if you change the initial component which is forming the self assembled structure. On the right side we see an example where you have started with a polymer of L glutamic acid and L lysine and one of them is you know more hydrophilic and compare to the other. So, at low pH that means less than 4 you see one kind of a vesicle. So, when the pH is low the this surfactant molecule which is acting like a surfactant molecule basically a di block polypeptide of a di block polymer that at low pH gives a structure of vesicle where the poly glutamic acid is inside and the lysines are outside on the outer periphery. If you increase the pH in basic pH you can see that the glutamic acid comes on the outer part and the lysines is inside. So, this kind of a reversible reaction where at low pH you had this structure and at high pH you reverse the structure what was inside has now come outside. This kind of pH responsive systems can be designed and this is just a self assembly which is occurring depending on the kind of solution that have the kind of pH you have you can change the nature or the structure of the self assembled aggregate where in this case you have lysines on the outside and in this case you have glutamic acid on the outside. So, this kind of direction you can give to the self assembled structure by just changing the pH. However, you have other possibilities for example, this is an example in biology. So, in biology this can be an example where you can use this vesicles for having storing some drugs inside and then delivering and in one case when the drug is inside you want a particular environment and when the drug is outside you can have a different environment which will bring back the vesicle outside. So, you can control the function of the vesicle by controlling the pH. So, in this example now there are many other examples in biology and lot of work is done in biology using single strand DNA. So, normally DNA as you know is a double helix. So, there are two strands in a DNA however you can get single strand DNA and if you use single strand DNA with a particular sequence of amino acids. So, different colors here denote different sequences of amino acids. So, if you take some combination of amino acids and make a DNA strand of this kind of thing and then the DNA normally will try to form it finds its counterpart. So, that it becomes a double helix, but if you add the molecule which is called small interfering RNA or S I RNA then this S I RNA can bind to the single strand DNA and then that DNA will not be able to form a double layer. So, what you can do in this case what has been done is that you mix some of these heat it and then cool it basically it will try to find form a double helix, but in the presence of this small interfering RNA which particularly has the three prime position free like in the DNA in the sugar you have what we call the three prime and the five prime positions. So, the three prime position if it is free then it can bind to the five prime position of the strand with which it is going to combine. So, you can guide the formation of this and then once this S I RNA binds to the DNA then that DNA can no more form a duplex. So, you can control from a single strand DNA you can make a double strand DNA of a particular length and then stop it by using S I RNA. So, one step self assembly this is called. So, it was seen that under that conditions with a particular kind of single strand DNA it was found that this kind of structure was obtained. So, these double lines basically show a particular arrangement of the peptide chain. So, these are these different colors are from these different colors. So, they have a different peptide linkage. So, there is a particular order of the polypeptide chain and so it forms a structure like this and how did they come to know that they have a structure like this is that once you do the reaction and then you do what is called a page analysis that separates the products based on the molecular weights and you get different such products and that tells you for example, this one by its molecular weight you can you can assume because the higher molecular weights will be here and. So, the lower molecular weight is here and so you can find out what structure possibly can be. So, using this page analysis it was found that you can have several of these structures and several of them were actually experimentally found using this page analysis. One of them is this structure which is actually the largest one. So, that so this kind of structures where you can have a particular length of a DNA of a particular sequence starting from single strand DNA of a particular sequence is possible with self-assembly and here the self-assembly is being done or controlled using this small interfering RNA and you are getting this kind of structures and this can be seen by an AFM image and these structures have been shown the mono dispersed this kind of a tetrahedron type of DNA structures have been shown using an AFM picture. So, that will bring us to a close to today's lecture on self-assembly which is the seventh lecture of our module three and today was the first lecture on self-assembly in of nano structures and we will have subsequently two more lectures on self-assembly in this module itself. Thank you very much.


As a team, how good does a win like this feel to battle against a good team on the road and find a way in the end? It feels really good, you know, especially the way we won the game. Coming off a tough loss in Toronto, one that we felt like we could have got. Coming against a team that has played well against us in the past on the road. And then, like I said, with ten people, with eight people in double figures, you know, obviously it's a team win. And it came winning, nothing better than that on the road and go home. What does it say that you guys, on really an off-shooting night, that you guys still found a way to make clutch plays? Defensively, and our rebound, you know, Deandre Jordan was real, real big for us. But against this team, we gave them a little dose of their own medicine, you know, they beat us on the boards in the past. But to have 53, I think beat them 53 to 40, a lot of offensive boards, like I said, DJ with 19 boards. And just everybody else, J.A. had eight and, what, 19 minutes of action. So I think defensively what we guarded and what we rebunded really got this win for us. Do you look at the next one as, you know, another game, last one before the break? Or do you look at his opportunity, a little payback on Toronto? Definitely payback. It's always, you know, a team that has beat us the amount of times that they have. We owe them. But we know it's going to be a battle against both of these teams. That's every game, that's how it's been. But we really want to get one before the break. They probably have the same thought. Try to try to get one more before we go into this all-star break. We lost to them about one. I think it was one. So we're trying to get this one, man. That's a wrap. Brought to you by Subway. Make it what you want.


Okay, this little series is just showing you jQuery mobile and at first I was trying to just make jQuery mobile showing you basic features of it but they seemed kind of simple and straightforward. There's a jQuery mobile site that basically shows you everything. So I thought instead of showing you how to do individual things, we'll just start creating real-world applications. I haven't asked to do this in my tutorials in the past. It's something I usually tried to avoid doing. I much rather show you the technique than actual practice because actual practice is going to change from person to person. But basically we're going to create a little application that would work on a desktop, tablet, phone, whatever device and it's going to allow you to, in the end, scan a barcode and it will bring up the application and basically we're going to be taking, with firefighters, we have our air bottles which are called SCBA bottles and this is a little program that will allow us to submit that we've been checked. We've checked them and that the air pressure is okay in them. Where I work, this is something we do. Well we check them every day but we actually fail at paperwork on them once a week so the person in charge of them can keep track of where the bottles are and whether they're maintaining their pressure. Right now all that information is filled out on pieces of paper which just gets shoved in a file. We're going to create the application so it saves it to a spreadsheet and that will allow the user, the person who keeps track of this stuff, to track whether the bottles it can detect, you know, this one keeps becoming low, it probably has a slow leak or something like that or just where the bottles are. And to do this, in most cases when you make an application like this, you'd want to use a database like MySQL or something like that but I'm actually just going to use Google Docs and put them into a spreadsheet. The reason for this is once the information's entered it's not like the end user is going to be modifying that information. It's basically submitting so we don't have to worry about modifying it. Any modifications will be made by the person who keeps track of the bottles and that person is going to be a non-technical person and they're going to want it in a spreadsheet anyway because these type of people love spreadsheets. Plus, you know, with the fire department you may not have a server, you may not, you know, have a website even though those things only cost a few dollars, fire departments tend to be slow when it comes to technology. Google Docs is free to use, you can back it up, it goes right into a spreadsheet and if you need to grab information later on from the application, you can always share it as an SEV and dice through it later on but I don't really see the need for that in this scenario unless you're trying to make an application that charts something out, in which case you could probably just do that within Google Docs as well. Anyway, that was enough talking, not enough talk for like three minutes. Let's dive right in. We're going to go create, we're going to go form and we'll say just get started, choose a theme, doesn't really matter, I'm going to grab the blue header one because I like that. And then Google Docs makes it really easy to make form, I'm going to make a text thing here and there's certain bits of information we need. We need the user, that would be the person who's filling out the form so we know who checked the bottle. We'll add an item here where I'll say what station they are at. We will ask what truck they are checking out because stations can have more than one truck at them. We're going to ask for the pressure of the bottle whether it's good or bad. We like our bottles to be over 4500 psi. So we'll just say psi here and we'll give it either a full or low. And then we also want comments. So that way if there is a problem, we'll make that a paragraph. If there is a problem, they can explain the problem. And I think that's all the information we need. You also would want the time and date but luckily Google Docs automatically time and date stamps all submissions. Let's give this form a name, we'll just call it scba-bottle-check. And we'll say bottle check because there's also the packs the bottles go in that also need to be checked and we'll also make an application for that when we're done with this one. Then we can go live form to see what it looks like and we can say I'm Chris. I'm at station 22. I'm on engine 22. The psi the bottle is full. I can say hello and I can say submit and it submits and it gives you this little screen here.  So this is where you decide where the output the submits go. We're just gonna say we're gonna create a spreadsheet that says that it's the scba-bottle-check responses. We'll create that and if we go back to our Google Drive here you can see right here we've got the, oh that's the form. Let's refresh the screen here. There we go. So we have our form. We can go and edit the form anytime and here's the bottles and you can see right there it automatically puts a timestamp. It gives you a nice little view of the user station truck psi and any comments which we can also stretch out because comments might be kind of long. And you're probably going why are you doing a tutorial on this? This is really simple. There's no need for a tutorial. Let's just put another name here. We'll say Mike. We'll say station 23 engine 23. We'll say that this bottle is low. We won't even put a comment here. We'll click submit. I also want to mention that when you're creating the form there's an option to make these certain things required and that would be good if we were actually going to use this form but we're not going to and we don't want to make that required because you're gonna want to do any error checking in your own code. But you can see automatically within a few seconds everything shows up in the spreadsheet here. So people could be submitting stuff and the end user can just see them popping up in here. You know the guy that's maintaining the bottles. So now that we've created this form and it's going into there now what we're actually going to do is go and actually write out our own form for multiple reasons.  We want this to be very efficient. So we also want to be very efficient for mobile devices. We also want it to be able to scan barcodes where actually our application is not going to scan barcodes but you can scan a QR code that will bring up our application and automatically put in the ID of the bottle which is something I forgot to put into here. So let's add an item. Actually let's edit this one. Make this text will say really this should have been further up. I forgot to put that in here.  So here we'll make this a paragraph and we'll say comment done. Okay. So now we can go to our live form and you can see that it's changed there and really it doesn't matter at that point as far as where things are going to put. Because we changed that that's going to mess up our spreadsheet because this is now our bottle ID. So we'll shrink that back down and comments will make up wide. So that was my little mistake there. We can actually delete these first few delete rows. I mean it's not a big deal. We could have put the bottle ID at the end and really I would prefer it to be up here before the username. But not a big deal either way because that's just once again the person who's checking everything with the spreadsheet as far as the actual form. We're going to create one now. So we've done the simple boring part of the tutorial. Now we're going to get into the jQuery HTML5 and JavaScript jQuery mobile part of everything. So let's go to jQuery mobile.com and in here you can go and you can download latest stable version but instead of just downloading that way I like to start is I go to themes which brings up their theme roller which makes it very easy for you to make colored themes and it gives you a little example code to start with. So we're going to say get rolling. So you have different themes here A, B, C. You can create more. I'm going to make B a red theme. Now it's going to look real ugly here but we're never actually going to use this theme in this scenario for the entire form. It's just if we want a red, oops I forgot for some reason that button. That's good enough or maybe this blue. There we go. If we want a red button, a red header, anything red we're going to call theme B. This is the way I do things. You may do things different. I'm going to go blue here, blue here, and blue here. So we have a blue theme because there is a point where I'm going to have a red button and a blue button and I can call different themes. So now also at this point I already have my terminal logged into my web server. I'm in a folder. There's nothing in this folder at this point and what I'm going to do here is I'm going to go download. I'm going to go I can call it whatever I want, scba. I'm going to say download zip. Now this download zip file is temporary so this URL is only temporary so what I want to do is going to grab it here real quick. I'm going to copy the address and I'm going to say wget and paste in that URL and now we just downloaded that zip file. So I'm going to unzip that and you can see an unzipped a couple of folders with the themes and gave us a basic HTML index file to begin with. So at this point what I'm going to do is I am going to go to my website here in my browser. I'm going to click on scba that's our folder. This is what that default theme looks like. So now I can say vim index HTML and I can come in here and I can start editing the example code. Let me knock down the size of that a little bit so things don't wrap around too much and first thing we're going to want to do is change the title. We'll say scba check let's say bottle check. Okay and then in here we have our main page because you can have different pages here and what I'm going to do is I am going to say I'm going to delete a couple of these rows that we don't need and I'm going to change the title here the header here to bottle check form. We'll save that let's go back to our web browser here and refresh. So we got rid of all the stuff in there but we got our main you know header section here which later on we're going to be adding our own JavaScript code to using mostly jQuery and then we have our little content area here and you can see that by default we're using theme A which is our basic gray look. So let's start writing out our code and I'm going to create a label and I'm going to say bottle inventory if I spell everything right ID colon and this is the label for our input so I'm going to say input now the input type here is only going to be a number because it's the bottle inventory number so I'm just going to say the type is number what this does for us is well it gives us a little scroll bar well I'll show you a second let's give this an ID of bottle value equals oh we're not going to give it a value we're going to assign it a value here in a little bit so right now I'm just going to save that and if we come back in here and refresh you can see we have bottle ID inventory ID we have a input box here but you notice as these little scroll bars and it allows you to scroll up and down but another great thing about this is on a mobile device instead of bringing up a regular keyboard it's going to bring up a number pad making it easier to type in that inventory number but we're also going to set it up so we can pass our our information to this page but real quick here let's add in our other stuff now these next few items I'm going to hard code into the code but in reality if you're creating an application like this where you're going to be interacting you're probably going to be writing a lot of small applications where you're going to request some of the same information in this case user station and trucks we would actually create another application before we do this kind of like a contact list with and all the employees all their information and save all that to a database same with the stations and trucks at that point we can request all that information from the database using PHP and then input it here have it automatically alphabetize everything and that way if we have all these different applications you add a user you know a new employee or we build a new station or buy a new truck add that to the database and all your applications automatically update rather than going to have to modify the code but just for this tutorial we're going to manually type in all this stuff so we're going to say select ID equals user and we're going to give it an option with a value we'll say John Smith and it will display John Smith now the value is what's going to be submitted to the form the inner HTML here is actually going to be what the user sees so if you know the information needs to be submitted different you can do that but in this case it's going to be the same because it's just the username before I forget I'm going to close our select tab or tag here and I'm going to paste that three times now obviously probably gonna have more employees than this but once again whoops this is just example and normally you would pull this information from a database Mike Jones I will say Sam Johnson and of course we'll change this information here as well Mike Jones Sam Johnson okay now we're gonna do the same thing for the truck our station and trucks so select ID equals station let's close our select tag before we forget let's say option value equals station 20 the viewer the user will see station 20 in the drop down I could type today and real quick we will so I'm just copy and paste that line a few times change the information for each one and we will do the same things for the truck and this would be example I'm just going to put the truck names as the value but our trucks also have inventory numbers so you could see engine 20 in the drop down but when it passes the information to the form it could put the inventory number instead if that's what you prefer and again all this information would normally come from a database which we don't have in this case what am I doing this should say truck and that should say select not select show that's where color coding comes in handy you can see your mistakes a little bit easier option value equals engine 20 engine 20 why do I keep doing that my fingers are going faster than they should be okay again I'm just gonna put an engine at each station but in reality you could have more than one station might have an attack or a squad truck at a different station not just an engine you could have a pumper as well but just to keep this simple so next we will have well let's save this and have a look at what we're working on here at five to refresh so we have our inventory number that goes here we can go John Smith Mike Jones choose who that is and then choose station and engine next we're going to ask whether the let's ask for a comment at this point so we're going to say label comments label close our tag there and then we'll say text area with an ID of now if you're not familiar with JavaScript and HTML hopefully you know a little bit before you jump into this tutorial I should have said that beginning the reason we're getting everything IDs is because the JavaScript is going to retrieve the information from different elements based on their ID so now we have comment box which by default is resizable which is nice and of course on a mobile device they should be able to hit the microphone and speak a comment in there rather than having to type or you can type using a keyboard if that's what you prefer let's now the last thing we're going to do is we're going to ask whether the bottle is low the pressure is low or if it's full and instead of doing a drop down we're just going to make that two different buttons either it's low or it's full we also want to give it a a different color and that's where different themes come into play so let's give it a label here so the user knows what we're asking we're going to say PSI over and as I said at my department the bottles we use over 4500 PSI label so it's asking is it over and so we're just going to give them yes or no buttons but let's do this first we're going to create a div tag we're gonna say class equals UI dash grid dash a and what that's doing is that's part of the jQuery mobile and it's just going to give the layout of our buttons instead of them going expanding the full width and having a button above and below I figure have each one next to each other because we don't need full width screen width buttons so at this point I'm going to now create our buttons and they're going to be in their own little div tags here div class equals UI dash block dash a say our button as an ID of low we're going to say data dash theme equals B and we'll say no close our button tag and close that div tag as well I'm going to quickly to save time in the toriel just copy and paste what we're going to change is from block a to be instead of low I'm going to say full high might have been a better option but I've already started this so see and we're going to change this from no to yes so if you remember correctly if we go back here and go to our theme roller theme B is red theme theme C is blue so now you can see that our no button is theme B so our no button should be red so it's not over 4500 so that's not good it's low and our yes button will be blue and we are also these buttons are also going to be what's going to submit the form so as soon as they click that boom it's going to submit the form and we'll clear out both the comments and the inventory ID the rest of it not only will it not clear out but we'll also saved local storage on the device so that they can come back later because most time you're at the same station working on the same truck you know if you're working on your phone or whatever of course it always be changed so real quick we'll go here refresh our page so we got our inventory number we can put in here we can say Mike Jones station 20 engine 24 type something here and we can click no or yes right now either button does anything because our form is completely done the visual gooey portion of this tutorial is done next we're going to be working on the actual coding we're going to be working mostly on JavaScript we're also going to throw in a little bit of PHP to allow us to grab the bottle ID from a barcode scan so come back one week from today and the next tutorial will be up and we will complete this application we got kind of the tedious part at least what I would consider the tedious part the design part out of the way for me coding is a lot easier it's making stuff look nice which is the difficult part and on a phone if I take this it would look more oops didn't mean to pull that out but I did on your phone it probably look more like this so alright unless you turn your phone sideways and then it's that way so okay be back in one week as we finish up this little application that will take all this information submit it to our Google doc clear out certain things store certain things to local storage and also grab the information that's passed to it from a QR code thank you for watching and please visit my website filmsbychrist.com that's Chris with the K there should be a link in the description hope this tutorial wasn't too long and boring I try to keep them short which is why I try not to do full applications like this in my tutorials but every once in a while I think some viewers like this sort of thing so let me know below do you prefer short little tutorials on individual items or do you like occasionally having me go through a full small application but something more than just one simple task I personally when I watch tutorials prefer one simple task I hate when I'm looking for figure out how to do one thing I go to a tutorial and it's a half an hour long like this one probably is and I'm like man I just want to see how to do the one thing but based on viewer comments seems like occasionally at least I should do a tutorial like this it's kind of long plus as I said with jQuery mobile I kind of wanted to teach it but it seemed kind of redundant since their website is so well documented I mean so incredibly well documented that I just felt like I was copying their website doing tutorials and I thought maybe a little more practical use of them so I will be doing more on jQuery mobile similar to this with other elements because there's plenty of elements jQuery mobile but probably not a whole lot of them but comment below let me know what you think I hope you enjoy this tutorial be sure to come back next week as we finish up this little program and have a great day


digital strategist category. There are companies which use digital as a means to communicate the strategy. And at the same time, there are companies which do digital for a living. You know, there are companies which are technology driven. So, there was an interesting debate discussion around what should we do, how should we go about it, should one get in, one not get in, etcetera. But ultimately, I do believe that we netted out well post a lot of robust discussions and animated conversations on the table. We netted out well to select the right winners who would, who are worthy winners and who will definitely get rewarded and be acknowledged for the work they bring on the table. We were looking at brands with technology at their course. Well, you would guess most of them, but there are a couple of surprises. Let's find out who the first trophy winner is. Congratulations to Team Google for being acknowledged as the first digital strategist 2017. But much further ado, let's find out who the next three trophy winners are in the digital strategist category. So, I think Shubhati brought on some major insights as far as this brand is concerned. To go in this category, let's find out who the next trophy goes to for YouTube this time. In this particular category goes to...


Hey, what do you guys think insurance agents make? You guys know I made 117 grand in 19. You guys know that there are people that make a heck of a lot more money than that. There's people that own billion-dollar insurance companies. You guys know there's more millionaires in the financial services and insurance industry than any other industry in the world. But what you don't know is, hey, Wikipedia says the average agent pay annually is $48,000. $48,200 speaks out. Glassdoor.com says $36,000. Salary.com says $49,000. Come on, man. We're better than that. We're better than that. We're ready to make more money than that. You deserve more money than that. You deserve a better life than that. You make 30, 40, 50 grand like that. Dude, it's going to be tough. It ain't enough, man. I'm just here to tell you. How does it work when you're an insurance agent and you want to get paid well? You want to get paid, period. Maybe you're at a PNC shop and you have a base and it's all about a commission.  Maybe you're an independent agent. Maybe you get paid off of a large percentage off the first 12 months of annual premium. So say the client pays $1,000 that year. Say you're on a 80% commission level. Yeah, you make $800 that first year. There's also, and maybe you'll get advanced nine months and then get a portion. You'll get advanced nine months of the commission. Maybe you'll get some balance first-year commission. Start coming in once the client pays their 10th, 11th, and 12th month. And then you'll get some renewals for several years after that, depending on whether it's life insurance, final expense, Medicare term, it all varies. But hey, you want to get paid well? You need to know what you're making. Compensation is really important because if you're in a spot where you're making 30%, 40%, 50%, 60%, even 70% commission, you're being underpaid. I don't want to get into specifics. I don't want to, you know, I don't want to talk about companies, but I want to let you know that, hey, there's a better opportunity out there to make more money. It doesn't matter if it's with me. There's a lot of other places that are just as good, if not better, that are awesome, that can pay you more commission. But the key is you've got to know. You've got to want to know and make more money. That's how agents get paid. That's how our salary works or lack thereof because a lot of agents are 100% commission, which is actually better, believe it or not. Some people aren't comfortable with commission. Dude, don't put me on the salary. Give me some commission. Give me a chance to earn some extra money. That's what it's all about. Agent salaries, they aren't high enough. Our pay isn't high enough. Your commission may not be high enough, but you need to know the ins and outs of how you get paid, the structure of it, and how much money you can earn. I know agents making $3.25 million a year, $1 million a year selling insurance, financial advising, owning call centers, owning agencies, building a team, whatever it is you can achieve it. Do me a favor. Click subscribe. Let us know you're here and check out our website, rangeofmeasures.com.