era so Drupal 8 is a meta project comprised of a lot of pieces that our friends have helped us out with and we wanted to give you a taste of this paradigm so there's a lot of soft stuff about what PHP figures what the intention is we're sort of focusing this relationship a little bit through the lens of the PHP framework interoperability group and Campbell has a few technical examples of why this ends up making our lives easier and better why we can make more of a difference and so on so the concept of the six-hour session is that we have done up to this point seven or eight interviews with prominent PHP people of project maintainers sort of what would you call Beth Long you know PHP journalists developer person and we've got a bunch more coming so I guess radar session please if you think it's worth anything there's a series of podcasts that I'm releasing so we're thinking of this session as a kind of an ongoing conversation showing you how we learn what we learned what we discovered and it would be great if you could come and listen to those I've got the URL coming up in a second but this is like gonna be an ongoing relationship I guess and you can contact us ask questions we can produce new material and we're definitely submitting this for the next couple triple concept we're gonna let it grow and we're doing newer interviews so that's kind of the ad for the overall concept this is cam I'm jam a damn is doing another session so I have a wonderful title and a really really nice job and I'll be evangelist in developer relations and it's my privilege actually to try and connect you with materials that will help your day as a developer be better I produce podcasts I do interviews I try and find out what's going on I try and you know find the companies that are doing smart things and help them get those ideas surface those my sphere of action I do a lot of a lot of Drupal on there when I get some time I put slides on I'm Campbell Tessie I also have a great title in a really wonderful job with form one actually the second half of my title I think it's probably hiding a picture now as of halfway through last year I'm technical architect comma evangelist you know really yeah yeah so my job in a nutshell and I'm the developer on a bunch of large project teams I specialize in big sites and community sites for positions and then on the evangelism side I come and do conferences and I do talks and like I mentioned on stage the pre-note to me the community aspect of Drupal is one of the USP is one of the really key aspects of this community and that makes our product so you can send me emails directly Campbell form one dot com you can find me on D dot oh that's over the huge vanity but on Twitter some jerk took that name before I got to it so I'm Campbell Tessie and yeah right so as we said all of the interviews that we're doing to prepare this are being posted online there's one with Larry Garfield already up today one is coming out before no Mitchell and in the next few weeks like I said they're going to be at least six more possibly seven or eight or an infinite number of or we'll see how that goes hey so meet the PHP framework interoperability group a few years ago a bunch of people got together in PHP and I said hey so we're incredibly siloed we've got this problem that you know I'm a Drupal developer your PHP BB developer you're a symphony developer your Zen developer and all none of and the community was quite fractured wasn't talking much and we were certainly as we were a big part of this problem and they said hey like so in PHP 5.3 we got namespacing that means I can bring in variables with the same name like I can have a day class you can have a day class and we can still make them play nice together well hey presto why that wasn't in 5.0 Larry you'll have to explain later it's actually wonderful that we have you this we put you on the spot oh yeah periodic but as soon as we get something wrong we're dead in the water so and I'm a vet called PHP tech in 2010 nine see a bunch of people said hey so we've got this next thing what if we can auto load all the stuff that we need in together there was this auto loading standard created and a group they call themselves the PHP standards and everybody hated them and because they say who are you to make a standard whatever they got really quiet for a while but this auto loading turned out to be really useful so today it's a group of several dozen project leads or not only frameworks but also projects like Composer and a bunch of other things who are working together to define the new era that we're in so the interoperability area in PHP the reason that Drupal 8 can use symphony components and external libraries like Guzzle is because of these standards because these efforts to become interoperable and I can also say that the result is in the last few years all of a sudden there are universal PHP events that people coming together in places like PHP world where you have a Drupal track and a June the track and a Magento track and universal interesting topics for everybody and people are really really excited to be in PHP now many more people are saying hey I'm a PHP so that's kind of the headspace that we'd like to migrate you into we are now part of the broadest fraction in PHP and we're incredibly relevant and people are incredibly excited to have you know 37,000 new brains helping out with the hard problems and we get stuff in return like all of the symphony framework taking care of some of our problems for us as a commodity security etc so why should you care as a developer well frankly it makes your day way way way easier with some of the magic some of the external libraries and the things that we've gotten along the way for free while I find the audio cable that we forgot about again say something small all right so I'm gonna make a personal confession way back before PHP fig I had a library of WordPress jokes and Juma jokes did anybody else make fun of the other frameworks like I did so fans who feels a little bit guilty about being a jerk about that thank you because they're the they're not making any moves so we should change into it aggressively so I have some very very quick sound bites to show you as we go through the presentation from different people that we've spoken with when in our going learning about PHP fig and this context that we're in so these are really really short basically sort of saying hi but these are teasers as well for the podcast that are coming out of the next few weeks and the first one is with my great friend Lorna Mitchell who is a great PHP trainer and consultant she writes a lot of materials she and I have done a few things together she was the person who actually introduced me to the PSR standards in a blog post called PSR what and as I said this you will be able to find later today on dev.arquilla.com such a good user and I am super excited to see Drupal in being just so much part of PHP these days I've been to some Drupal cards and seeing the recently Drupal 8 makes me very very very happy so have a great Drupal card and I will see you around that event or as you can see. So I just want to say if you see the name Lorna Mitchell on any piece of media it's worth reading and she has been to a bunch of Drupal cards so look out for her at some community event at some point. What's really exciting for us as developers in this is that all of a sudden our community has grown and we have people who traditionally feel like oh they couldn't really touch Drupal it's too much in its own universe and now they actually care now we call them up and do a web and do a podcast interview with them and they say oh I'm so happy to hear about the release of Drupal 8 you've contributed so much to what I do of course twice per set so the way that actually works right HPFake is more than just a nice looking website and some people that are friendly to talk to they get together and define standards of PSR's and the standard behaviors are all optional just because you're a PHP fake member project doesn't mean you have to do all of them but it means you are encouraged and of course the more you adopt the more interoperable your code will be that is the more benefit your code gets from everybody else out there in the community so Drupal 8 does not adopt all of the PSR's thanks yeah in fact it involves very few but it's probably because we were planning it really early in the PSR lifetime yeah how many PSR's were there five years ago so first of all Jam what PSR's does Drupal 8 adopt I would say on a hunch PSR 3 PSR 4 and PSR 8 that's a very good hunch I typed the so PSR 3 is a logging standard it defines how you should interact with your with your logging my basically to log our interface that's one of the first ones that we got into PSR 4 is the auto loader Jam mentioned that before effectively it's a way to have a single call to load a library that has a ton of dependencies and you don't have to worry about any of it you actually can just write your class quite easily and get all of the components that you need when I was talking about Drupal contributing to the broader PHP world sincerely the proposed PSR 8 standard is is is part of that for me and it's exporting Drupal's culture of hugs as an interface standard so PSR 8 is the huggable interface and I truly I honestly truly believe that our community and our community spirit is the most important and the strongest thing that we have and I think it's incredibly cool that Larry who is Drupal's high representative to the PHP fake group has proposed that and and I want to see it adopted I think it's really awesome so some people think it's a joke but I think it's actually a really really beautiful contribution Larry never jokes about hugs talk about the rest here for a second so what PSR is does Drupal 8 not adopt well you know the really baseline ones that everybody always adopts the coding standard and the coding style somehow we didn't quite get there but I think frankly it comes down to the fact that for us two spaces is the run to one true way right and the PSR's have are completely diluted and have said that it's tab so we're pulling out as somebody said that we should know what do they say force oh my god somebody yeah somebody came over and said that we should switch to four spaces but don't worry we burned the heretic so that's PSR one and two actually we're very close to PSR one there are some details that we don't adopt but fundamentally we already have a really well-written clearly defined coding style guide that actually most community members tend to follow and it's a lot of work to switch coding standards to all of a sudden even let's say without having to retrain 37,000 Drupal developers all over the world to press space four times that just can't do it it's very hard even without the training problem let's just any volunteers to go through the Drupal code base right and reformat the whole thing yeah we too we talked about that with Larry right so we're sticking with our own coding standards and we'll see if that if that ever graduate if that changes in the future it is a bit tricky to have separate settings in your IDE PSR five has not been officially ratified yet and it's a documentation standard so we have really good documentation I think that we could actually look to the symphony community to see how great documentation is done but in the meantime PSR five is not official we don't have it anyway Larry's last bit of work was the caching standard which is PSR six and that was only finished a couple months ago way too late for Drupal eight and since then oh no and just before that PSR seven was adopted which is the HTTP messaging interface and a couple of projects out there are already adopting it and we can use it through symphony and a wrapper but we don't have it in core and PSR seven is actually amazing really interesting and one of the interviews that's going to be coming is with a guy called Beau Simonson who is the maintainer of Sculpin and also the editor so the maintainer the person running the PSR seven initiative I think he just left coordinator I think he just left them but he got that through and basically it's a message response protocol that lets us put that through any number of applications and get it back in one piece in a standardized way so it's it's it's going to be a boon for modular application design and how we big build larger applications going forward it's it's a really neat it's a paradox if it's cool. So Larry Krelva Krab is our official representative to PHP Fib. Sorry for this. I don't want to speak to PHP from Drupal and I want to speak to Drupal from PHP because that implies that those are different things that aren't part of each other or that I'm part of one talking to the other and that's not the point the point is that Drupal and PHP are not separate entities. Drupal is part of the PHP world and the PHP world is part of Drupal and that collaboration has helped us produce Drupal 8 and that collaboration can and should continue to produce not just future versions of Drupal but better practices more robust practices in PHP itself so I would encourage everyone from these two large robust communities don't look them as two large robust communities look them as different pockets of one larger community that we can all learn from that we can all benefit from and together we can build a better PHP for all projects. So what Larry touched on when you start thinking about yourself as a PHP developer as a part of a much larger global community that includes a bunch of different projects you start to realize that PHP Fib is about much more than just standards which specific standards do we adopt what PSRs do we like what we don't it's actually about a different architectural mindset different architectural choices when you're building your projects when you're building your own custom modules the two rules that I really try and keep in mind myself first of all never reinvent the wheel we don't have to do that anymore and the second is make it easy to to use your work in other projects outside of Drupal make your work as much as possible libraries that can be exported and reused. So a great example of this in the new paradigm is the PHP libraries that commerce guys are making for commerce to they're making straight-up PHP libraries and then a Drupal implementation but any other PHP project can go and write their implementation for that as well. Let's see. Bama Shusek is the Symphony framework representative to PHP FIG. We had a knock-down drag-out fantastic conversation with him and kind of forgot to get him to do a proper southern bite but he's a he's a big name in symphony really really interesting guy lives in Austria and we're going to be talking about his project Pooley as well. So this is Bernhardt, it's only a couple seconds. So hello Drupal community, I'm Bernhardt and I'm an architect for Web Mozart on Twitter. Welcome to the day. Sorry, so that's Web Mozart. Let's talk about the work that he's doing, the work that he's built on. Right, well so symphony is a really good example of how we're implementing those two rules that I mentioned. Drupal egg threw out a lot of reinvented wheels and for good reason. While we were on the island we did our own, we had used our, we made everything our own way, our own unique snowflakes and we weren't going to touch how anybody else did it. So my first favorite example of that is I think everybody's favorite function that hit on Drupal HTTP request. Right, can I get a show of hands? Who has ever been frustrated by this function? How many of you people are not coders? Because I don't know if I've ever met a Drupalist who hasn't been frustrated. Yeah, that's all. It's, well, so this is the artist's rendition of Drupal HTTP request. We built it back at 4.6, 2004, I think, five, thank you. At the height of proudly invented here, Mania. So Drupal HTTP request. Not invented elsewhere. Not invented elsewhere. It's 304 lines in one function and it recurses. So enjoy debugging it. For testing, we talk about keeping functions simple nowadays in contemporary code practices. There are actually ways to quantify how complicated your function or your class is. And one of the really common ones is called N-path complexity. And in short, it's a measure of how many unique ways there are to run your function and how many unique outputs it has. So it actually can grow exponentially. So you want to keep this number as low as possible. The guideline that I was taught is that if your N-path complexity is over 200, it's too complicated and it's going to be awful to maintain.  Does anybody want to guess what the N-path complexity is for Drupal HTTP request? I'm going to start picking people. Pick a number. Higher. 1,000. He said 1,000. Do I hear 2,000? For you bet 4,000 in the back. Way higher, you guys are nowhere near. 10,000. That's a good start. You need more zeros. Who wants to offer more? One lakh. One lakh. That's a big number. I don't remember how to translate that into Western numbers. It's 100,000. One lakh. Way more. Who gives me 10 lakhs? What was that? One million. Good try, sir. Good try. We're still in, we need more zeros. So tell me in Indian numbers, how many is 25 billion? Right. How many crore would lack is that? 250 crore? Okay, that's the N-path complexity of this beautiful thing. So if you wanted to test this to completion and every test of yours takes half a second to run, it will take 400 years to run your tests. That's why it took so long to get Drupal. No. So we replaced this old ridiculously complex and rusty wheel with guzzle. This is like the slickest motorcycle picture I could find. It's awesome. Yeah, so guzzle is the super slick, super futuristic motorcycle of HTTP request libraries. Actually, the HTTP standard is quite a complicated one. There's lots of people that attack this space. Guzzle is the one we chose because it has a lot of features in particular. But what we really care about, it's environment agnostic. It doesn't matter if you have curl. It doesn't matter if you've got PHP streams available or whatever is going on in your environment. You're running on the moon in Windows 95 environment. I bet that guzzle can actually operate. It handles synchronous and asynchronous requests, which actually, I still have never wrapped my mind around asynchronousity in PHP properly. It's a bit of a mind-blower for me, but guzzle does this out of the box. It will handle, for me, the headache with Drupal HTTP request was very often working with cookies. It works with cookies totally transparently, and you can have shared cookies across the whole site, or you can have specific cookies for the one request, and it is so easy. Yeah, so easy my mother could do it. I had to think if she would be offended by that. She considers her a power user of her Windows tablet. But actually, I think the coolest power feature, and I know it's not the only one, but this is the one that I get the most excited about, who here has ever implemented an API integration layer, REST API integration. Yeah, almost all of us. Right, so to do a REST API integration with guzzle, you describe the API in a JSON file. This is the end point. If you're using this path, here are the properties that you can assign. This is what you should expect back in a JSON file, and guzzle creates a class for you. It does the API integration for you. That's like days of work off your shoulders. How many lines of code does that save me for every integration? Like 300, right? 304, many more than 304 lines of code. And of course, we get it for free because open source is awesome like that. So actually, because I'm excited about this, this is an example of the JSON that you use to describe your API integration. If you can write this and say, okay, get products is HTTP get, and this is the URI, and this is the response class that we should get. If you can write that, you can do an API integration. I can't believe I didn't get a hand for that. I'm so stoked. Can we just get a hand for that? Thank you, guzzle. Thank you, guzzle. So the other one that I like is PHP template. Who here has been frustrated by PHP template in the past? Drupal steaming system. Yeah, we have a lot of themers here. So we wrote this in 2004, Adrian Russo. At the time, the whole concept of the templating engine was relatively new. There were a bunch of people taking stabs at it in different projects. It was not unusual that we decided to do it on our own. And it compared really favorably to some of the other things that we saw come up in that time. In some ways, PHP template is too simple, right? You could put any PHP you like into a template file. No problem, right? Has anybody else here ever seen direct SQL queries in a template file? So the best, the best... The camera needs to catch some of these rows of hands. So the best template file that I ever saw was 28,000 lines of code. It contained the entire site logic in the template for the front page of the site. And the client was wondering why the front page took 30 seconds on a code tag. I think a little part of me just died. Right. It's too simple. Template files often have a lot of redundancy, a lot of redundant HTML. If you have three content types that differ in a minor way, you have three template files that are 99% identical. That's nuts. And it's actually really hard to then document what are the actual differences that we care about. In other ways, PHP template is too complicated, right? We split the process of creating HTML between files in modules and files in the theme. I have definitely spent long periods of time trying to figure out where the hook theme implementation is coming from, where this particular HTML is getting built. We also tried to create a DOM, an HTML DOM that would work for every use case. Dom's for all the... or devs for all the people of my kingdom. And every class that you could imagine. Yeah, it's part of why I'm not a themeer anymore. It's pretty horrendous. And even the fact that PHP template required understanding of PHP turned out to be problematic. At the time, we thought, oh, this is good. You have to use... No PHP to use Drupal. Well, it turns out a lot of themeers don't. They use more specialized languages. So we've replaced it with Twig, famously enough. So Twig is a much simpler templating engine to use. And it can handle a lot more complexity at the same time. And it's externally developed to maintain. So template files can extend each other. This is my personal favorite thing. If you have three content types that differ in a minor way, you have one base template that applies to all of your content types. And then you have three other little templates that say extends, base, and this is the only difference that you need to care about. Fewer lines of code to maintain, a lot easier to figure out what's going on. All of the logic involved in rendering HTML can now be contained in the theme. That doesn't mean that we allow you to run absolutely any code in the template, quite the opposite. It's a modern templating language, so you can do things like for loops, you can do things like conditionals. But you sure can't query the database and cannot run arbitrary PHP code. So you can outsource your theming now very, very easily and openly without really worrying about your theme or white-screening your whole site, compromising your server. It's a very, very secure implementation. As long as you leave the database access, right? Unfortunately, it lets you do like, you know, the bad judgment module should make sure that there's a dependency. Yeah, Adam's favorite, our colleague Adam, who is there in the pre-known with us, who is a theme or his favorite part is it always used to be so crazy trying to figure out in PHP template, I have a variable. Is it a string? Is it an object? Is it an array? Who knows? We're going to guess and we're going to white-screen the site while we do it. Right? In Tweet, you can actually traverse arrays and objects and strings without destroying your website. So another interview that we did along the way was with a guy called Jordy Bojano, who is an incredibly compelling, hilarious public speaker. If you ever get the chance to see him do a presentation, do that. Very soft-spoken Belgian guy who is essentially, well in my view, because he's the maintainer of Composer, he's 50% of the reason why we're even able to have Drupal 8 and this whole interoperability era. Composer is a huge big deal. He's also the coordinator of the PSR3 logging standard and he happens to run the most popular PHP login solution, which is called monologue. There is a Drupal 8 integration of that now created by my friends in Italy, Wellnet. Worth checking out if you want more detail, more interesting, more useful logs than what Drupal is giving out in the box right now. So we spoke with Jordy. Okay. All right. Let's do the presidential address. Okay. So, hi. I'm Jordy Bojano. I maintain Composer, monologue and a few other libraries that you might end up using. I want to welcome you in the broader PHP community and hope that you will eventually use some of my projects and contribute back to that. Right. So who here has used Composer before? Okay. So we don't really need to explain what Composer is. I'm just going to skip right over that. I had a real problem with this section of the presentation. I was supposed to demonstrate for you integrating external libraries through Composer and the problem that I have is that it's actually too easy to be worth a demo. I found that the parts that I would be I would be demonstrating were just Drupal API actually, you know, where do you book this particular behavior in? So instead, we're just going to do it through a series of slides. Here's the process. Step one, download and install Composer Manager. There are, well, Composer needs a single list of all the libraries that you use in your project, all the packages you use in your project, not just the ones your module uses, not just the one other modules use, but also the ones that core use, all has core uses, all have to be compiled into one big list. There are very good ways to manage this by hand, but if you are all interested in this slide, it means you should probably be using this module. Composer Manager makes it a lot easier. Installation instructions are easy, enable the module as usual, and run one shell command. You're done. Step two, look for the functionality you want at packages.org. That's the repository for every project that Composer knows about. Looking for which package you want to use feels a lot to me like looking for the Drupal module that I wanted to use in 4, 5, 6, 7. Luckily, they tell you right here up front how many stars it has, how many downloads it has. Again, it's how popular the project is that helps you figure out how supportive it is. Step three, type Composer Require into your terminal. You do it in your module directory, so it creates a composer.json file in your module, and it updates the list of required libraries for your module automatically. One thing that I keep forgetting is to do minus, minus no update. Otherwise, it will actually download the library into your module, and you don't need that. We'll do that globally. Step four is tell Composer to update your installed libraries, and that's it, end of demonstration. Just go ahead and use the library. It doesn't matter how complicated it is, it's all there for you. One of my favorite demos that I tried to make was actually the AWS package that lets you do everything with Amazon web services, from spinning up instances to a stream wrapper for S3. I threw together S3 file system module for Drupal 8. Didn't get finished testing it. It's not worth contributing, but the ease with which I got through that complicated part, how do I actually connect to S3? How do I actually create a stream wrapper that makes sense? It was amazing. Right, and all of packages functionality is now available to you in your site too. So when you code with Composer, you stop spending time writing functionality. You only have to write the Drupal integration steps. For the real mindblower, of course Drupal itself, Drupal 8 itself, can be installed with Composer. So can all of your Drupal modules. We have our own Drupal packages. So a lot of people recommend that you don't commit core or contribute modules.  So Puli, has anybody here used Puli yet? Okay. So this is Bernhard Schuess' new project. Right. Puli is pretty hot stuff, I think. It's a sort of Composer plus tool that's getting really popular. As Drupalists, we're all familiar with the dilemma of code versus configuration, that there are certain things that are at the very least in a gray area for how you should get them into your repository. How do you actually store them and move them between environments? Puli makes that a bit of a bigger problem to solve and is interested in not just configuration, like YAML files, but also anything that's not non-code. Images, CSS files, what have your translation files is one of their big examples. The deal is, if I maintain a package, there are probably some non-code elements with it that I want to include. If JAN wants to use it in Drupal, Drupal is going to want those non-code elements in probably a different direction, probably a different location, in whatever unique environment JAN has set up. If somebody else wants to use it in, not wordpress, give me another, thank you, if somebody else wants to use it in Zend, their whole architecture is different again. What they want to do with those non-code assets is different. Puli is a way that a package maintainer can write a map for those files so that when you want to use them in Drupal, you can map those to the right locations and the code in the package can figure out where it should be putting those non-code elements. And in June, Bernhard is doing a full Puli demonstration on my podcast. Yeah, heads up. So, keep an eye open. I expect we're going to see Puli used more and more in Drupal because it makes it easier to get at and use some of those packages and projects. So Beth Tucker Long has been doing PHP for a long, long time. She used to work for the PHP architect magazine. She's incredibly smart, incredibly capable. And as a consultant, she ends up working on a lot of legacy projects. And the podcast with her that we're going to release is super, super interesting because she gets this whole other perspective that I wasn't even cognizant of when we were thinking about, hey, build this cool new thing and Puli and Drupal aid and cutting edge and we're all right on time. She's like, I inherit all this old stuff and it's really hard and I have to deal with all the ways that we figured out are now wrong. And I really, really like her perspective on how the PSRs will help her job get easier over time. But as things get standardized, it's really, really worth checking out. Hello, Drupal. My name is Beth Tucker Long and I am so excited that Drupal eight is out way to go. We're very proud of you. And I am really excited about Drupal eight because it represents so much community involvement working together. I'm so excited that we have so many big projects from the PHP side of things and the Drupal side of things working together. And I just can't wait to see with all this brainpower that we have merged into this project where we go from here. So listen. I think part of the reason that I think Beth is interesting is because I think she is an example of what most freelancers and most of us who are PHP developers have to deal with if you actually have to jump between frameworks all the time and somebody comes to you and says, oh, do you know Drupal? Sure, I can figure it out. No problem. Do you know Drupal? Yeah, okay, I can work that out. We wrote this other thing in full stack. Can you integrate it please? You have to be able to jump between frameworks really easily. What Beth talks about is that PHP fake makes it easy to do that. You understand and you know a lot of the tools already and even if you don't know the specific tool, you know the interface that it implements, you know the basic rules of how to work with it. So for example, if you can theme for Drupal eight, you learn twig. Sculpin uses twig. It's a site generator like Jenkins. It just happens to use twig as a templating engine. You can just jump right in. There are lots of other applications that are built on Symphony 2, way too many to mention. Is that the next slide? Well, so let's give it, so to get an idea of, look, if you're a great Drupal 7 developer, for one awesome and you're super employable for another decade at least, but your skills are really, really specialized and a bit hard to transfer to do another work. As a great Drupal 8 developer, knowing Guzzle, knowing the Symphony components that we've got here, knowing the object or entire architecture to spend with dependency injection and so on, actually, you're incredibly enabled to work not just in Drupal, please stay with us, but to do a lot of other things, to help out a lot of other places and to be very, very quickly on board and up to speed with whatever gets thrown at you. So here are just the projects that Symphony lists as the major projects using Symphony framework components. Drupal PHPP, Laravel, Symphony full stack, easy published community startups, Drupal Composable Gender, and so on. B-hat is really, really interesting. Sub-doctrin, really, really, really interesting list, but that's not the full list of the projects using the Symphony framework components. This is enough to start several of your own companies and, like, have a great life. This is cool. And you know, plus, minus, how these work once you're comfortable with Drupal 8. Plus, most of those with a web front-end are going to be using Tweak as their templating engine since it's also maintained by Sensio Labs who maintain Symphony. So, you know, you're really, really in a great place. And... PHPUnit, another one of my favorite things. Yeah. Who here has used PHPUnit? Let's get a round of applause. Only if you've used PHPUnit. Clap for me. Just give me a little bit. Has PHPUnit saved you time? Yes. Yes, I like the applause way. Actually, it's nice. We had a wonderful conversation with Sebastian Bergmann, who is the main trainer of PHPUnit. This is the testing structure, testing system that is used by a lot of PHP projects now, including in especially Drupal 8. We should just jump right to his video clip. Okay. So, hi. I'm Sebastian Bergmann. About 15 years ago, I created PHPUnit to help PHP developers build better software. I'm happy that, well, I would like to congratulate the community on the release of Drupal 8. And as far as I know, PHPUnit played some role in it. Some role. Thank you. Thanks very much. Good. So, testing economically is a huge money saver. And as a developer, we can test before we commit to our main release.  We do ourselves a favor. It's a time saver. It's a work saver.  It's fantastic. And, oh, and once you're familiar with PHPUnit, well, it works in Drupal 8. It works in most every IDE that you'll be using. It's useful for anything that's written in PHP. So, it's an incredibly useful transferable skill again. Okay. Now, so, here we are. Welcome to Drupal 8. Welcome to the new world of PHP.  This interoperability movement, this idea that Drupal 8 was coming prompted a friend of ours to put out a challenge a few years ago. Who ever read that blog post, Getting off the Island in 2013? No? 2013. Yeah. Getting off the island in 2013. This guy had this crazy idea that because Drupal was in the future going to be more relevant to other parts of PHP, that we should, like, go to a user group meeting or a convention of another. Wait, without making fun of them? Without making, like, respectfully, not to throw them. So, Larry Garfield wrote this post, and it made huge waves across the PHP community. It was picked up, of course, in Drupal a lot. So, you can read that post. It's still great. It's still made this way.  Go see what other people are doing. There's all kinds of amazing stuff going on. In 2015, I believe early in 2015, he made a second challenge which was Build a Bridge. And that was, wait a minute, I'm blanking on what the challenge was. Oh, sorry. Wow. Okay. It's a little hot now. So, the second challenge was Build something with another project. You know, don't do it in Drupal. Go do it with Sculpt and go do it with Symphony full-theco. So, and when we were having our podcast conversation with Larry, like, okay, Larry, what's the third challenge? It's a new year now. And he was like, I know. Give back. Make a difference. So, this year, Larry's challenge to all of us in PHP is to get your name on the contributors list for another project. Please don't neglect to help out with Drupal 8, right? But, go make a difference. Go see what's going on out there. They're incredibly wonderful, interesting people throughout the PHP world. There's a lot of real excitement going on. We are more relevant than ever, and we are making a huge difference to other communities as they are helping us. I'd like you, I believe that's the last interview piece for today, and we're well on time. I'd like you to meet my very good friend, Cal Evans, PHP troublemaker. Hi, Drupal. My name is Cal Evans, and I'm a member of the PHP community, and we are so excited that Drupal is now, the Drupal community is now helping us learn the lessons that you learned in Drupal 8. Okay, one more. Hi, Drupal. My name is Cal Evans, and I am Larry Garfield's nemesis, and I want you to understand that if you see him, please rip off his desk. I've got a $100 reward that I'll give anybody that'll mail me this. Enjoy Drupal. Hi, Drupal. My name is Cal Evans, and as a member of the PHP community, I want to say thank you for all that you've done for the PHP community. The patches that you have submitted as you were creating Drupal 8 have spread far and wide and are helping all of us. So thank you so much for that. And on behalf of all of Drupal, thank you PHP community for all you've done for us, and all of the wonderful technologies that we've been able to integrate into this thing we're calling Drupal 8. So thank you so much for coming and listening to us today. Thank you so much for being here, making a difference, being part of our community. As I said, all of these interviews that we've done so far and a bunch more, Geherme Blanco's coming, the maintainer of Doctrine, Bo Simon's and the maintainer of Sculpin, all these people you saw today.  Please, if you liked our session, rate it here. If you didn't like our session, find another one to rate. Thank you very much. Thank you very much. Did we forget something? Yes. What is the interoperability situation in other languages besides PHP? With Drupal cooperating or other languages doing the same kind of stuff that PHP is doing? I don't think so. There's talk of doing more with the JavaScript, but the JavaScript community is extraordinarily fragmented. I have no idea what's going on there. Beyond that, there are other languages that are doing cool stuff, but since Drupal doesn't use those languages, we're not really paying much attention. The closest thing that I would say to that happening is all of us moving towards standards as a language. So for example, JavaScript interoperability, the biggest thing that we could have done is make sure that everything is restful. We worked very hard to make Drupal, thank you, restful. We've worked very hard to make it easy to use a front-end framework, a JavaScript front-end framework, on top of Drupal. But yeah, as far as I know, there's not a formal movement to make that happen. Yeah, I wanted to get on the same line of interoperability so you can connect Drupal to a lot of things. There's a lot of efforts going into both rest and real X web services and GraphQL and those kind of things where you can make Drupal appear like it's a CouchDB database or make Drupal appear like it's exposing all these data structures similar to how Facebook does. So in terms of interoperability, there's a lot of efforts going on with Drupal, then you can connect it to whatever other technology you want. Any plan to change database at NoSQL? I'm sorry, any plans for changing the database? Because you think of scalability. Yeah, to use things like NoSQL. So actually with Drupal 7, we introduced a reasonably robust database abstraction layer so technically you can put any data source behind it. There are some logistical complexities when you do something that has actually fundamentally different assumptions like NoSQL. So the NoSQL implementations for Drupal 7 tend to be only for specific areas of it. So for example the entity API you can do things with, but big chunks of core you can't, you still need a MySQL database. In Drupal 8 that's supposed to be a lot easier and now I'm going to ask Larry to tell me that I'm right. The database abstraction layer in 7 and 8 is for just SQL databases, please don't try to put a non-SQL database behind it. That said in Drupal 8 you should never be writing your own SQL anyway. You should be using entity API, you should be using the config system, you should be using the key value store, and all of those could be swapped out for other backends. I know that Chex has demoed Drupal 8 running with purely MongoDB already, so it can be done and you can do it piecemeal depending on what part of the system you're talking about and what part it's going to make sense for. That's it, don't discount SQL, it's actually a lot more powerful than people get the credit for and a lot faster than people get the credit for. Other questions? I like that we've had this third speaking partner here. All right, well thank you guys very much for coming. I hope you have a great con, thank you for hosting us here and we'll see you around.


Who says you can't have it all? Not Appalachian Wireless, we know what you want. Appalachian Wireless offers the hottest smartphones and unlimited data plans, all on the region's number one network. Floyd County schools are making sure students have continuous learning even when school is not in session. Over the summer months, children from ages 1 to 13 in Floyd County have the opportunity to participate in a literacy and learning program. Summer meals will be provided to everyone from ages 1 to 18. The activities for 1 to 6 year olds will include parents staying with their children so that the early childhood staff can model for those families. The food and summer programs are completely free for those who participate. I think for all areas, but particularly our area, I think it's really critical that we can continue to model for parents and provide activities for kids to attend and just within our community and certainly with the school. The programs began Monday, June 11th, and last until July 27th. We're really fortunate that we can continue to get more community partners on board with us each year to do activities and provide extra services. For more information or to look at a schedule, visit the web address listed on your screen. In Prestonsburg, Shelby Porter, EKB News.


Shanti, she is a professor at the College of Nursing, the Shridh Bokulam College of Nursing in Salem in Tamil Nadu in India. We have Mrs. Manjula as well who is a tutor in obstetrics and gynaecological nursing at the same college and Soni, who is an assistant professor in obstetrics and gynaecology nursing. So I'll just hand over to Shanti. So can you turn your speaker volume up maybe? Hi Shanti, do you have your headset on? I can hear you very faintly with lots of feedback. Do you want to try and do the audio wizard underneath meeting and do the audio setup wizard for us? Shanti, have you done the audio wizard setup? Hello Shanti, we can't hear you at the moment. Not at the moment Shanti. Okay, if you can with us everyone while we get this technical issue sorted out, sometimes this does happen in here. Shanti, did you remember to press the icon of the microphone in the tab across the top? You need to make the icon go green so that you can speak. We can see you've got your microphone unmuted, which is great. But just make sure you press the icon so it goes from white to green and try talking again. We could hear you in a very muffled way earlier. It's already green. Have you been through the audio wizard so that if you press the meeting button, you can see audio setup wizard and you can take yourself through a check of your equipment. It just takes a couple of seconds and that might help you problem solve any issues. Can the other presenter with you have a microphone as well? Manjula, do you have a microphone? That's better. We can hear you.  Good morning, ma'am. I'm Shanti. That's perfect, Shanti. That's excellent. Good morning, ma'am. Can I start this, ma'am? Yes, that would be great if you can start your presentation. Manjula, if you can just put yours on mute while Shanti is here, that will help with our echo. Yes, Ma'am. If you are seeing adolescence and pre-treatment, according to many development goals, also the global metamotor rate has declined by nearly half since 1990. It declined for a short of the MBG target, 109 per 1 lakh by 2015. It is still 15 times higher in developing countries than in the developed regions. It is given by according to United Nations. After estimators, 287,000 metadays that occurred in 2010 in globally. In this, the India accounted for 56,000, that is nearly 19 percentage of the global total. If you are seeing R&M CHS adolescent strategy, it promotes links between various interventions that enhance the lifestyle to improve child development in India. This plus, within the strategy, focus on adolescent and existing life stages within the world strategy. They included the age, this adolescent. So, it gives the linkages, references, counter-references between the health activities, that is primary, secondary and tertiary levels. If you are seeing the goals, it has three goals mainly given. That is reduction of infant mortality rate to 25 among the 1,000 live births in the year 2017. And reduction in mother mortality rate to 100 among 100 live births by 2017, to 2.1 by the year 2017. If you are seeing the 5 into 5 matrix, that is 5 important thing, that is reproductive health, maternal health, newborn health, child health and adolescent health. So, this is the concentration of R&M CHS plus AI intervention. And if you are seeing the issues and actions, it has some issues, that is continuous monitoring, supportive, supervision and feedback mechanism. So, through this way, they are giving the improved quality of care and also accountability for each health persons. And they are giving the best performance and also best incentives under the R&M CHS mandatory, that is according to the 12th to 5th year plan. And availability and utilization of high quality health services, mainly in the urban areas, it also to improve the quality of care. And increase the attention to the nutritional status among women and children, mainly the CBAs and other women and also CBAs in malnourished children. They are giving a more attention according to the government of India initiating iron and calcium supplementation for them. And next issue is strengthen the continuum of care, mainly from the community mobilization to the rural and urban area. And increase the involvement of the private sector and also the CSO, that is central statistical organization. And continue to focus on larger health system and also strengthening the issues. First, innovation consistently evaluate, document and share these practices. So, these are the some issues and actions according to the R&M CHS guidelines. If you are seeing the key interventions for them according to the total health challenging year, to increase the proportion of prenatal care, they all should have 100% age. Then all goes in government and accredited private institution at annual rate of 5.6% age. And present women who are receiving anti-natal care at the rate of 6% age. And mothers and newborns receiving post-natal care that is 7.5% age. And delivery is conducted by skilled birth attendants that is 2% age. And exclusive breastfeeding rate 9.6% age. Covering of three groups of both criteria, attendance and birth rate is 3.5% age. And oral pre-hydration therapy is in under 5 children for the diarrhea 7.2% age. And met need for newer family planning lecture mainly the integral couples 4.5% age. And science education 0 to 6 years. And yes ma'am. Hello. Hello. Hello. Hello. Hello. Hello. I can hear you. Carry on. You're hearing. Okay ma'am. Because somebody given this message is like they are not hearing. I just want to check is who is the sound coming through? Is it through Mandula or is Shanti? I'm Shanti ma'am. Because both of the speakers are on. That's why we're getting some feedback I think. Through Manjula and I'm speaking. So are you using Manjula's microphone? Yes ma'am. Okay. All right. Okay. Shall I carry on? Yeah. Yeah. I'll. Yeah. Carry on. Okay ma'am. Next. It reduce the prevalence of under 5 children who are under 8 that is 5.5% age. And reduce the handmade needs for family planning lectures among eligible couples 8.8% age. Reduce anemia in adolescent girls both girls and boys that is 6% age. And decrease the proportion of total fertility for adolescents 3.8% age. Mainly in all of these they added adolescents.  So it has 15% of men and women reported receiving any family life of sexes. Because they didn't receive any reported of sex education.  So if you are seeing the PRT intervention, there are 5 interventions they given for mainly adolescents. First one is adolescent nutrition and holy gender supplementation. So for adequate nutrition is important for growth and sexual maturation. So if they are getting inadequate nutrition, adolescents can cause chronic disease and other adverse lifestyle behavior. So nutrition education to be included in full curriculum. The principle of condom of care, the National IN plus initiative, provides a minimum service package for management of anemia. The process for iron and body care is the supplementation among pregnant and lactating women, children in the age group of 6 to 60 months. That is 6 months to 5 years and also include the new age group like adolescents. Iron efficient adolescent girls have the higher risk of preterm labor and also lower rate. So iron and body care is tabbed for adolescents is colored blue. To distinguish it from the rate, iron and body care is tabbed for pregnant and lactating women. So they initiated the weekly iron and body care supplementation scheme. It is a community based intervention that addresses the nutritional anemia among adolescents, both boys and girls in the rural and urban areas. The key features of scheme are supervised administration of weekly iron and body care supplements. That is 100 milligram elemental iron and 500 microgram of body care seeds. Clearing of target groups for moderate and severe anemia. By January de-bombing that is half and the so they are giving 400 milligram for adolescent girls and boys. That the information comes in for improving dietary intake like preventive action for intestinal bone insertation. The second priority intervention, adolescents friendly health services, access to reproductive and sexual health information services including access to contraceptives and also safe abortion services. These services they will get through the reducing of incidence of sexual transmitted infections and planned or unwanted pregnancy and also unsafe abortion. Unless the information counseling center will be made functionally by the medical officer and also actually nurse midwife at the primary health center on a weekly basis and in a community health center it will be provided on a daily basis. Services in adolescents health training will be available to all adolescents in providing integrated counseling testing services, HIV testing and sexually transmitted infection management. And third priority information, information counseling or adolescents sexual reproductive health and other health issues. The life skills based adolescents education program implemented through schools. It provides an important opportunity to inform and also educate adolescents on relevant health issues. School setting will serve as a platform to educate and also found for adolescents on behavior mismatch modification. It is recommended that schools should incorporate at least 60 minutes that is 1 hour of physical activity per day for every working day. And also they are insisted peer education approach at the community and also village level will be adapted to make appropriate reference to adolescents health training. All newly married couples and experiences will be informed about the risk of early construction and also importance of spacing between the children. Then fourth priority intervention, scheme for promotion of material items. Ensuring that they have adequate knowledge and information about the use of sanitary napkins, high quality and safe products are made available to the girls and environment to save resources and mechanism are made accessible.  And fifth priority intervention, preventing health checkups and screening for diseases, deficiency and disability. Through this we can have the biannual health screening is undertaken for all the students that is 6 to 18 years of age group, enrolled in government and also government saliors schools. The component of school health programs includes screening, desiccate services, referral, immunization, micro nutrient supplements that is iron and poly-casin and also vitamin A supplements and also de-moving. The new approach in the implementation of the school health program is to establish dedicated mobile health team needed at the block level. So can I hand over to Manjula ma'am. Hello. Hello Hansel ma'am. Hello Shanti. Are you okay? Yes ma'am. I completed my portion. Can I add out to Manjula? Yes please do. So let's pass on to Manjula for the next part of the presentation. Yes ma'am. Thank you so much. Thank you Manjula ma'am. Just speak nice and clearly into the mic. Manjula are you able to use the one that was being used before? The Shanti because that worked great. Hello we can hear you then. Please go ahead Manjula. Yes ma'am. Hello. Ma'am can you hear? Yes we can hear you. Please go ahead that's great. The next component in RMSCH is pregnancy and childbirth. Pregnancy and childbirth are physiological events in the life of a woman. So though most pregnancy result in normal birth it is estimated that about 15% by develop a complication which cannot be predicted. So majority of these complications can be prevented by anti-hatred shakeups, birth preparedness, skilled care at birth, early detection of birth, appropriate and timely management of obstetric complications and postnatal care. So here the RMSCH is given some of the priority interventions for preventing the complication. The first is delivery of anti-hatred package and tracking of high risk pregnancy. Second is skilled obstetric care. Third immediate essential e-bond care and documentation. Fourth emergency obstetric and e-bond care. Sixth postpartum care for mother and e-bond. Sixth postpartum IUC and sterilization. The seventh is implementation of pre-conception and prenatal diagnosis act. The first delivery of anti-hatred care package. So it mainly concentrate on the pre-conception care. That is because pre-conception health status is an important, it has an impact on pregnancy outcome. So all mothers who are undergoing the pregnancy should have a pre-conception care. So promoting the use of colic acid in plant pregnancy during the pre-conception phase. That is three months before and three months after the conception they have to take. That is the colic acid supplementation should be given the dose of 400 micrograms after 12 weeks of pregnancy. And they should go a pre pregnancy visit before they are entered into the pregnancy. Then the next intervention is prophylactic dose of iron and folic acid supplementation in order to meet the demand of iron and folic acid during pregnancy. One tablet of iron and folic acid should be given. That is which contains 100 milligram of elemental iron plus 0.5 milligram of folic acid. It should be continued for 100 days starting at 14 to 16 weeks. And it should be continued for three months postpartum. And third intervention is injection tetanus toxa or administration. So for preventing the maternal and neonatal intent tetanus, two doses of injection TT that is 0.5 ml given in IM in the upper arm. The first dose should be given as well as the woman's resistance for anti-antique checkup. The second dose will be given for four weeks after the first dose. So if the woman is previously vaccinated within three years, only one dose is given after a year possible. Then the tracking of virus pregnancy. Mainly the three dosage conditions are mainly managed. That is anemia. If the woman is HP less than 7 grams and if she has breathlessness and if she has tachycardia that is heart rate more than 100 beats per minute she should be started with the therapy dose of iron and folic acid and she should be referred immediately to the medical officer at first after the treatment. And if HP is less than 11 gram, she should be started with the therapeutic dose of iron and folic acid and if she improves she can continue the same treatment. So here the axillary nurse, midwives of the primary health center in charges plays a nodal officer and they will be doing the timely and appropriate management of serary anaemic urban. Next is preeclampsia. So for preeclampsia routine urine testing is done in order to screen the protein at HP antidepressant. So if the mother has reduced urine output with high blood pressure that is more than 140 by 90 with or without proteins in the urine she should be referred to the medical officer at first referral unit. The third is the LTA and RTA that is sexually transmitted inflection and reproductive nerve inflection. It is considered an important public health problem in India. So this LTA and RTA has an above adverse effect in pregnancy which includes abortions, stillbirth, pre-term delivery, low birth rate, postpartum services and country care infections. And also the parent to child transmission of HIV plays a major root of new and emerging HIV infections in the children. So in order to prevent this, that is prevention of parent to child transmission services was implemented. So this services includes universal confidentiality screening and early initiation of antiretroviral therapy to reduce the HIV transmission from mother to child. So the dose of HIV, liver up in, the single dose is given 200 milligram one tablet which is given at the onset of labor pain or during the delivery which is followed by syrup, liver up in to the baby soon after birth. So now the new guidelines has recommended a single drug prophylaxis to multi drug prophylaxis. And next the priority two, that is skilled obstetrics care. The skilled obstetrics care can be managed by operationalizing by delivery points, birth preparedness, Jananese rupture eogera and Jananese issues rupture, rupture career drug. The first is operationalizing delivery points can be done by improving infrastructure, human resources by drugs, supplies and referral transport. So here the delivery point is designated as L1, L2, and L3 based on the delivery which is conducted in the state health facility. So L1 means that is minimum three normal deliveries per month, L2 is minimum 10 deliveries per month and which is including the management of complication and L3 that is minimum 20 to 50 deliveries per month including cesarean section. And also the health facility should have a referral transfer system so that they can reach the patient within 30 minutes of receiving a call and health facility within next 30 minutes. And next is the human resources. So we have to fill the filling up of regular course under the state government. So the main preference should be given to the local candidates so that they can ensure availability and presence of service provided for the community. And the sub-centers need to be equipped with a basic treatment for the most common health conditions. So each sub-centers should be mandated by at least two accredited nurse midwife, one male multi-purpose health worker, one pharmacist, and one OIS doctor or community health officer. So here all the human persons should underway free service training and they should have other trainings like IM and CI that is integrated management of women and child leaders and N-assistee that is Navajath's issue structure choreogram and IYCF that is infant and N-child feeding and by emergency obstetric and neonatal care. And next is Janani Surakshal Yojana. So which gives a cash incentives for the pregnant woman to seek an institutional birth. It was launched in the year 2005. That is mainly motivated women to deliver at the health facilities and its main objective is to reach the unreached pregnant women. So they will be giving a cash incentives both rural and urban areas. And next is Janani Sishu Surakshal Karyakram which is absolutely free and no expense delivery. This was launched on 1st June 2011 and it has a provision for both pregnant women and sick women till 30 days after birth. That is they are giving free and zero expense treatment, free drugs and consumables, free diagnostic and diet, free provision of blood, free transport from home to health institution, free transport between facilities in case of referral, drop back from institution to home and exception from all kinds of mischarges. So mainly this addresses the level to delivery on transport algorithm. And also all the vehicles have provision with advanced life support and it has a trained staff so that we can manage the emergencies during the transition. So now the Janani Sishu Surakshal Karyakram is implemented in all states and union territories across the country. The third priority is the immediate essential newborn care and resuscitation. So all the health care providers should be trained in basic newborn care and resuscitation through Navachad Sishu Surakshal Karyakram. It is nothing but it is a new program where the health personnel are trained for 2 days and they will be having a certificate in the basic newborn and resuscitation care. And all the health facilities should have a newborn care including drying, warming, skin to skin contact and initiation of breastfeeding within 1 hour of life. And they should have a linkages with the sick newborn care units at all health facilities both in first after all and district hospitals so that if the newborn requires any special advanced newborn care they can be immediately reported. And the fourth priority is the emergency obstetric and newborn care. This can be managed by 24 into 7 services maternal and child health being and strengthening public health system. 24 into 7 services is that is 24 days and 7 days 24 hours and 7 days of working all community health centers have been working and in order to provide the basic and comprehensive obstetric and newborn care services. Next is maternal and child health being this has been established due to the high case load facilities and in order to expand the health infrastructure for maternal and newborn care. Following the launch of January Surakshal Yoja and January Sishu Surakshal Karyakram so all the pregnant women are now has been coming to the institution for the deliveries so in order to prevent the over load now the msh mch wings has been implemented so which contains antenatal waiting rooms labor wing, essential newborn care room and sick newborn care unit, operation theaters blood storage unit and a postnatal ward as well as the academic wing. And by strengthening the public system that is all the health care providers should have a under control on a specific program that is they should have a 18 week long training program of MPBS quality doctors in life saving and aesthetic skills long training program in obstetric management a 10 day long training program for medical officers in basic emergency obstetric care and the 3 week long skill birth and death training for A&M and for staff analysis so thus they can provide a gain of confidence and they can be able to practice newly accurate skills and the fifth priority is the postpartum care for mother and baby so after the delivery in the institution it is mandatory to stay 48 hours in hospital and the postnatal home will be made by the frontline workers so here in the morning case of home delivery the first visit will be takes place within 24 hours of birth in all other cases atleast 3 postnatal versions should be done to the mother and 6 postnatal visits to the newborn are to be made within 6 weeks of delivery and birth here Asha which is accredited social health actress plays an important role she will be for providing a home based newborn care she will be visiting to all newborns according to a specific schedule up to 42 days of life here she will be giving an incentive of Rs. Rs. 50 per home visit of around 1 hour duration so totally of Rs. Rs. 250 for 5 visit she will be recording the weight of the newborn and she will be ensuring the BCG first it was whether the first it was of OP and DPT vaccination was given and she will be checking whether both the mother and newborn are safe till 42 days of delivery and she will be registering the birth and next priority is postpartum IUCD insertion sterilization so postpartum family planning now becomes another priority for action so currently it focuses on placement of trained providers for postpartum IUCD at district and sub district hospital and here the medical officers should also be trained with the mini lab in order to provide for provision of postpartum sterilization so dedicated RM and CH council has been appointed at public health sector so she will play a key role in increasing awareness and generating the demand for various RM and CH services and she also provide a counseling services she will be motivating the woman to adapt the modern and terminal family planning methods wherever it is appropriate and she will be ensuring the healthy timing and spacing between the pregnancy in addition she also will give a counseling on breastfeeding and other infant child feeding and child care practices and the last priority is implementation of pre-conception and prenatal diagnostic techniques act so under because at present there is a declining of six ratio at birth due to six selective abortions and due to continued neglect and poor care seeking for the cold shape so in order to prevent that the DCP entity act was introduced under LRHM so these sales will be implemented at state and basic level and they will be having a statutory bodies so they will be supervising and strengthening and including they will be doing the online maintenance analysis of scrutiny and recording and they will be doing the digitalization of registration records with periodic evaluation and they will also build a community opinion against such selective abortions and fetus site so however this DCP entity act on the other hand will not should not become a barrier to woman which is a right to the access to safe abortions for women particularly the vulnerable woman such as adolescent, rape survivors and more women from rural and marginal population so hence this act should be our utmost care must be taken to ensure the six ratio can be equal hello yes thank you thank you ma'am Jula thank you ma'am I completed ma'am should I hand over to ma'am Sonima yes please do is she there with you yes she is there excellent okay welcome Soni please continue your presentation hello ma'am hello is that Soni yes ma'am that's my soni hello welcome if you'd like to continue your presentation that'll be great okay ma'am is that audible now ma'am yes go ahead yes we can hear you yes okay thank you we're discussing other two topics in our MNCHA like adolescent and rape pregnancy health and pregnancy and childbirth so I'll be moving on to the third category in that like postpartum care for mother and baby so in that first I'll be telling you about the postpartum care so to ensure postpartum care for mothers and newborns 48 hours of sleep at the health facility is mandated in case of injury child health wings have been established in many case load facilities to provide quality postnatal care to mothers and newborns when the post dental home visit are made by the frontline workers as mentioned like ASHA workers with respect to the place of delivery in case of home delivery the first visit takes place within 24 hours of work in all other cases at least 3 postnatal visits to the mother and 6 postnatal visits to the newborn are to be made within 6 weeks of delivery of that next about the newborn and child care so in MNCHA there are certain priority interventions in newborn and child care so the priority goes like this so first is home-based and newborn care and second priority is facility-based care of sick newborn and third is integrated management of home and child care illnesses there are four first is child care operation and essential micro-optimization and first is immunization fix early detection and management of defects and birth deficiencies diseases and disability of children so here I will be explaining the fourth and the sixth priority together moving on to the first priority home-based newborn care and child care so the infant mortality rate neonatal death accounts for 59% of infant mortality at a national level most of this occurs in the first week of life so global events shows that home visit by community health workers to provide neonatal care and settings where access to facility-based care is limited or not available in associated with release of neonatal mortality the home-based newborn care came launched in 2011 provides for immediate postnatal care again this grand plan workers are trained and they are incentivized to provide special care to preterm and newborns they are also trained in identification of illness, appropriate care and referral through home visit so moving on to the next priority facility-based care of newborns in order to strengthen the care of sick premature and low heart rate newborn special care unit that is SNC being established at district hospitals and tertiary care hospitals so SNC use with provision of advanced care of sick newborns must serve as the referral center for entire district referrals from peripheral unit and admission of outbound sick newborns to SNC should be monitored closely another non-unit known as newborn stabilization unit that is NBSU which is a prohibited unit providing basic level of sick newborn care is being established at community health center as part of the journey Shishu Sureshkarikram all newborns providing referral transport is also to be provided for transport from home or community to healthcare facility so follow-up of sick newborn after discharge from the newborn facility to be an integral component of unit of care next priority is integrated management of common childhood in us so in order to address the common causes of neonatal and child death in India an integrated strategy that includes both preventive and curative intervention has been adopted that is known as integrated management of more neonatal and childhood in us, IMNCI and it is provided at different levels that is ASHA package if it is at the community level it will be ASHA package and if it is a first level care IMNCI and referral level care that is F IMNCI so various aspects if you are looking at the various aspects of this IMNCI it includes child nutrition, immunization the importance of disease prevention and health promotion so again there are mainly three components for that it includes improvement in case management fields of health improvement in overall health required for effective management of neonatal and childhood illness and improvement in family and community care practices the leading causes of death beyond the neonatal period are diarrhea and pneumonia prevention must be given to the management of these two illnesses two illnesses so availability of ORS and sync should be considered at all sub centers and with all frontline workers use of sync should be actively promoted along with use of ORS in the case of diarrhea in children then again use of recommended antibiotics according to the national guideline in children aged 2 months to 5 years with the non severe pneumonia must be ensured through frontline workers that is the ASHA workers or ANM workers and at all level of health facilities the prevention and treatment of malaria as per the guideline in national malaria health control program should be emphasized as part of child health intervention the child health program managers should closely direct the managers of the medical facilities control program and the medical facilities district to track progress hospital based care and management of children severe diarrhea and pneumonia is another important aspect of preventing death due to these two causes this includes training of health care health service providers that is the doctor's analysis especially those that require you at least 1st or 2nd unit which is the organization of emergency care to receive healthcare ensuring availability of essential equipment and drug and application of management protocol next is the next that is immunization immunization has one of the largest in India has one of the largest immunization program in the world for vaccination each year universal immunization program includes vaccines to program 7 vaccines collected in the hospital to prepare for your procedure, procedure, etc. in the hospital hepatitis B the Japanese answer flag that is J.E. vaccine has been introduced in a campaign mode and also is confronted into the routine immunization program second dose of immunization has been introduced and hepatitis B vaccine is now available in the entire country the pentavalence vaccine a combination of combination of hepatitis B, hepatitis B and main ophthalmic of the intracranthal B was introduced in the state that is Kailan, Tamil Nadu and it is being expanded to 6 states and this event should be used for the entire country the call to change must be further set to the requirement supply so India has been declared for the since 2011 however a high level of disease has to be introduced maintaining high vaccination coverage level among children with at least 3 doses of oral polio vaccine administration supplementary doses of OPB to all children for 5 years to the next administration days so coming on to the next part of 2 there is child health screening and early intervention services but with last year Bala Swasti Parikram expanding focus on child survival through more comprehensive approach of improving child development and quality of life is the guiding principle of new initiative called child screening and early intervention strategies the objective of child health screening is to detect medical condition at an early stage thus enabling early intervention and management ultimately leading to production in mobility and life-long stability so this initiative aims to raise 27 poor children and only in the age group of 0 to 18 and fully implemented across the country so here I want to explain about the 4 categories that is child nutrition and essential micro-nucleotide supplementation which will be coming under the preventive strategy so given the magnitude of child and education in India one of the key preventive intervention is the promotion of infant and young child screening strategies optimal breastfeeding and complementary screening strategies to be there to allow children to be in their full growth potential their client resting of weight is born of lower weight and be maintained by the frontline workers that is ASHA workers and their follow-up should be ensured so that mothers are supported mothers are supported for optimum feeding and childcare practices and growth, quality will be detected early on in order to promote social condition of moderate or serious rendition so in order to introduce in order to reduce the prevalence of anemia among children all children between the age of 6 months to 5 years must retrieve iron and folic acid tablets or syrups as appropriate for 100 days in a year as a prevention measure if in the presence of ground therapy a quality decision has to be provided by weekly iron and folic acid supplementation for 3 to 4 children of 6 months to 5 years as part of national iron initiative ASHA workers will be incentivized to make more budget and to provide at least one dose per week under direct observation and educate the mothers about benefits of iron supplementary then in addition there is a provision of weekly supplementation of iron and folic acid supplement to prove the grade in government and government aid at schools then weekly supplementation for out-of-school children at other body centers then deworming can be carried out that is with alphabet or syrup or tablet and syrups can be carried out every 6 months in order to reduce the industrial parameter using the bi-administration of deworming tablet or syrup this intervention can be combined as a vitamin A supplementation for high annual rounds as part of government's for vitamin A supplementation children between 9 months 9 months to 5 years and even 6 monthly doses of vitamin A a child must receive 9 doses of vitamin A 1 sub-verbal currently the program provides care to children with severe acute malnutrition that is ASAM and this is mainly through facility care given the magnitude of this program in India it is not the most viable approach the comprehensive strategy including promotion of optimal infant and end child feeding practices throat monitoring and promotion care of children with severe acute malnutrition in community care centers at a complicated cases of specialty based will be implemented in partnership with ICDs integrated child care I am just going to have to interrupt you there I know you have one more slide to go but we are running out of time so I am just wondering if you mind if we stop there and see if the audience has any questions almost I have completed the topic yes I know we got right to the end so thank you very much thank you very much and let's see if anyone out there has any questions Shagufa you had your hand up earlier and I think it's come down now did you have a question for us no no but we are not having you don't have any we'll just see if anyone can type oh here we go here is one what are some reasons that women avoid going to hospital for birth hello ma'am because they are fear to alone yes ma'am because women are having a fear to go institution delivery so they want always home delivery it is easier for them so that's why they are avoiding to go for hospital for birth hello so the question is why are they avoiding to go is it the cost even though you were talking about being so with the implementation of the free service has that increased the attendance to the hospital and now they are getting free service so many mothers are going nowadays even though the remote area they are having home delivery thank you we have another question here what is the role of the professional midwife in India so now she is both educator, guide and researcher and now NRAC that is national rural health mission they are arranging the harsha one lady health worker she is going to house to house and finding out their problems from the mothers so like in her role also like a midwife role so according to professional role means we are one thing educator and clinically we are managing it not like we are going for team team to the remote area hello thank you, thank you Shanti, thank you for that answer okay and how is the relationship between the mothers and the midwives it is very good nowadays because it is very good nowadays ma'am because government of India they are arranging many health workers they are finding many health workers so instead of house to house identifying the problems so they are more mingling so they are having good relationship between the midwives and also mothers so they are increasing more to the institutional way of getting care rather than the home care so nowadays police is very good that's great, thank you very much thank you okay any others I always will say thank you I'm assuming that the programs you have talked about are for the poor, what do the richer women do definitely she will go to institution delivery because here the government of India concentrating only the village and urban area so in the rich like town and district and city me they are going to the institutional delivery and they are getting good care from the hospital but government of India concentrating only the remote area who are at poor so they are giving free service and they are getting more benefit from the government okay excellent thank you very much that was very interesting and it sounds like a lot of implementation and workers has happened in this area so thank you very much Shanti and Manjula and Sony for your excellent presentation and so we just offer the end there yes okay so I'm just going to stop recording now okay man thank you so much for giving opportunity thank you to one and all thank you very much pleasure thank you


Okay, welcome back. I'm turning right where I left off as you can see our timer is still going Let's clean up our code a little bit and then clean up our output a little bit So I'm going to control C to get rid of that Control L to clear the screen and then again, I'm using Venom as I text editor, but use whatever editor you like And so they have been trying to do more with my bash scripts and lots of times the bash scripts You don't do this, but you know, I've been working with a lot of other languages And I really like, you know cleaning things up into functions, especially a short little script like this It isn't really necessary But let's go ahead and create some functions. It helps prevent any You know repeating of code and what I'm going to do is up here I'm gonna go like this. I'm gonna say function main This will be my main function and you don't have to write function like this You can just write main in the parentheses here, but I like to write function I just think it looks a little cleaner I meant indent there Okay, and now we're gonna call that there, but we that creates the function We want to call it somewhere so flower script. We're just gonna say main so it will load everything and then Start in our main function here. So we'll have our little message here and then our while loop I'll put in here I'll say function start Timer and put all this in a function indent everything properly Now up here we will say Start timer the function and Then we will Exit zero meaning that we exited properly if we ever get there, which we never really will because we're in a loop But it's good to have it there Okay, so now if everything is correct We should still be able to run this and really there's no difference to how it outputs It's just we're cleaning things up a little bit because we're gonna add another function right now so Let's go ahead and think about this. So right now we're counting seconds So after a minute it's gonna keep counting seconds and after hours still gonna be seconds It'd be nice if we could format things so that they display nicely with 90 seconds a second column a minute column an hour column and even a day column So let's go ahead and look at that. I am going to Save typing it all out. I'm gonna paste a function in here that I have and 99% of this is just from sample code that I've used and found online a while ago I would give credit, but I don't think there really was any credit where I found it It's very basic, but I'm gonna walk you through it here So we have I'm calling this format time and then you would pass it a variable basically your seconds And that would be anytime you pass a variable to a script The first variable or argument is going to be dollar sign one Well, the same is when you create functions in your script So we're going to when we call this we're gonna call time format and then give it a number of seconds Which would be these seconds right here and What this is going to do is going to take that and then putting in a variable called no We could call it seconds, but we actually have that somewhere else. So it's just to keep it even From being confusing. We're gonna call it no And then we're gonna set our minutes hours and days to zero so that they start off at that And then we have a series of if then statements with some math here So we're gonna take that number and we're gonna check is it greater than 59 if it is Well, then we're going to take that number and we're going to give it this percent 60 and what that's saying is it's gonna take that number So our seconds divide it by 60 and give us the remainder and That's gonna be our seconds column Then we're going to take the what's left over when we're gonna take that number and divide it by 60 and That's gonna give us we're gonna replace our num with that and then we're gonna take that and again see if it's 60 or more or sorry. Yeah, well, yeah greater than 59 or 60 or more you could say You know equal or greater than 60 or to say greater than 59 same accomplishes the same thing And again, now we're going to divide it by 60 and get the remainder and put that in our minutes column And then we're going to take our number Which we reassigned here and divide that by 60 and put it in the num So basically we're chopping it up By 60 and then the let's left or by 60 and then next time we're going to do it by 24 because There's 24 hours in a day So Then We have some else statements, you know in case those things don't get their values We're going to give them the numbers here all the way down for hours minutes and seconds And then I'm going to output just like we did before I'm going to say echo Dash e and the end means don't print a new line at the end of this and the e is saying hey look at this special Backslash r here, which means to go back to the beginning of the line So it's going to over at the line and then instead just outputting the seconds It's going to output our days value hours value minutes value and our seconds which by default All these except for seconds because we're going to start with some set with zero seconds after doing our math here We're going to have zeros but then once we break that 59 second all sudden minutes will start being updated and once the minutes past that 59 minute barrier then the hours will so we do that and Again, that's in a function called function time or sorry format time So really we don't need this Because our function is going to output that I could return it would be a more proper way probably to do it What I'm going to do here is just paste in that and we're going to give it the seconds and That should be it that's going to clean up our output So there we go It could would be nice if we put some placeholder zeros in there I think that would be nice So that would be zero zero zero zero zero zero and then like zero one zero two zero three here and then once the first but We could do that. I'm not going to do that in this video though because this is good enough So yeah, so we've cleaned up our output a bit and it's not just displaying seconds You're going to get real time. I'll let this video run for another 30 seconds at least so you can see when it flips over But again, I hope that made sense the math in there basically we're checking whether the seconds are greater than 59 and dividing that number of seconds by 60 and Getting the remainder and that will then be our seconds from there on out and then taking our number and dividing it by 60 and Replacing the number with that and then checking are the minutes over 59 Which is the num now and so forth and so on so here in a second. We should get one zero. Oh Why did it go to nine? Oh? That was just Okay, let's do that. Let's let's see if it does that again And that's that that so okay. Yeah, it's going to do that again I didn't realize that so because of the way that we're clearing the line It's not really erasing the line what it's doing is it's going back to the beginning of the line and rewriting it and so the When we update now that caught that rose not going to be as long So that last number of nine is going to be there until I hit a key or the number grows So we really should put placeholders zeros. So let's go ahead and do that. I Was just about to Actually look up how to add the placeholder zeros, which I'm still going to do here But I just realized a quick way to actually clear the line in a way by putting spaces there You can actually do backslash B a number of times is Backspacing but another option would be to if I put another R here and put a bunch of spaces That are longer than my output what it's going to do is it's going to go to the beginning of the line Print a bunch of blank spaces and then go to the beginning of the line and print my output here so if I do if I run the script it looks the same at this point and Actually, just to make things a little bit clearer. I probably would put these on two separate lines It's going to accomplish the same thing I just think it will look nicer plus gives you the added benefit of Making sure you put enough spaces to that it's longer than your output there Which it definitely will be because these take up these variables are taking up more characters than the seconds will or the Total time will the only thing it's going to get more than two digits would be days and it would take days and days It would take it would take months to for it to accomplish that But right now I should be able to run this script and again, this is one of those things as a program you do and Off the bat it doesn't really seem to make a difference. The end user isn't really going to notice it We're gonna let it again run here, and you'll see that as it gets to the 59 mark and then it flips over to the next minute what it's going to do is it's going to Actually every time what it's doing It's going to the beginning of the line printing a clear line going to the beginning of the line and printing your new output I don't know if it's the most efficient way to do it But you'll see that nine that was at the end of the line before Should not be there because we're actually overriding it with blank spaces So there actually will be a blank space there, which there is actually every time we're running this loop here You just don't see it because it happens so quick But we're almost there So as it flips over from 59 Back to zero There you go. We didn't that nine ding gets duck there Let's go ahead and add in those placeholder zeros Which you're gonna have to give me a moment to to look up I know it might have to use print F is how I'm familiar doing it And then you do something like percent the D and the number of characters you want give me a moment Okay, so I figured things out And actually we're gonna rewrite a lot of our script here because well, let's get to point number one Let's add some placeholder zeros here. So we'll go back into our script here. I also want to mention You notice earlier I said there's multiple ways to do math in Bash and I use the let which seems to be less used than using these double parentheses And it's just that's the way I learned to create integers 12 years ago when I first started writing bash script So that's how I use it and you'll notice down here I am checking things and then doing math inside these parentheses and that's because I did not write the script this function I mean But let's let's just get to our placeholder zeros here, which again I don't know how to do it with that. Well, I've done it with print F before so I checked and What we would do is Let's go ahead and move our line Eraser up here. So the backslash Backslash are so I'm still going to use echo I could probably I know I can do all this in one print F command But off the top of my head. I don't know how to do that, but we're gonna say go to be in a line Write a line of blank spaces and then go to the beginning of line again They're going to come down here and if we do print F and So sorry to look at this and one option would be Way I started off was percent to or sorry zero to D and then close those quotations and then if I put Spaces between each one of these and remove that last quotation mark what we'll get You'll see is not quite what we want, but I'm going to run it and It's close. We have our placeholders here spread saying timer timer colon something. Okay, so it's going to print everything multiple times Let's go ahead and just for now remove the timer and put in the semi colon there and that works But we have this last little semi colon there and I don't like the way that looks So then the next thing I tried is I put back in our timer colon and then here I put Because we have days hours minutes seconds. So for we have one two three four Erase that and we should get the output that we wanted and there you go, but There's a better way. Let's turn our format function into a One-liner how about that? So let's go back into our timer here and what we're going to do is we're going to erase this entire function except for those two lines that we just had for our output and I'm killing people who use Vim like me that I just held down D rather than typing in the line numbers that I wanted Anyway, I just know someone's going to complain about that.  What I'm going to do is I'm going to say in quotations dollar sign and double parentheses here and In there, I'm going to take our seconds and divide it by Eight six four zero zero Which is the number of seconds in a day and then again in other quotations double parentheses with a dollar sign and I'm going to see it say dollar sign or just seconds divided by 36 zero zero percent 24 and Some of you are probably seeing what I'm doing here and I should be able to do Again double parentheses here and the lines getting kind of long so it wouldn't hurt to break this down a little bit in multiple lines But let's go again seconds divide by 60 percent 60 and basically we're doing all our math on one line here so we're going to do is seconds and percent 60 so Here this is number of seconds in a day So we're taking the seconds and dividing it by that and that's going to be our day output Then we're going to take our seconds divide it by 36 and then 24 to get our hours Because that's the number of seconds in an hour. That's how many hours we have And then we're going to take our seconds divide it by 60 And then divide it by 60 with the remainders and then we're going to get our seconds and by that And if I typed everything properly that one line now not only gives us our placeholder zeros But should properly output our timer here I'm going to let it run here for a little bit. So, uh, yeah So I saw that when I went to look for placeholder zeros I saw an example of time output that was very similar to that. So that's what I ended up putting there and Yeah, that's a lot better than that big long function if you can shorten up your code and That's it. So hopefully I'll remember this will be up on my Paceman account if you go to films by chris.com up at the top you'll see a button that says scripts And then you'll click that and it'll bring you down to a script section Click on the one that says my notes and my notes will be bringing to a searchable page And you can actually search for the script on there You know just type in some of the keywords from the script like type in seconds or whatever and it should bring you Give you a list that'll bring you to the paste bin of this code Again, you can search through a lot of my example codes. There's probably almost 700 different scripts In that list So that's it go ahead check that out again I'll try to remember put a link to the the code in the description of the video, but If I forget for some reason go to films by chris.com. That's Chris the K link in the description And go to my notes and search there for this code. It's gonna be called Basic bash timer or something like that and check it out there. I do. Thank you for watching as always I hope that you have a great day