Laravel is a clean and classy framework for PHP web development and I’m getting familiar with it and I’m really loving it. Well, Laravel has it’s nice documentation for everything but I didn’t find any documentation on it’s helper functions and I didn’t understand why they didn’t provide any documentation for those really helpful helper functions. Often I use those helper functions to save some code and time so I’ve decided to write about those helper functions so maybe someone else can use those functions without digging in to the code.
Using anonymous function in Laravel on less than php 5.4 throws error if you use “$this” keyword in the function, so you just can’t use “$this” but there is always a solution.
Answer by Sheikh Heera:
Rehabilitation refers to any process that seeks to restore the patient to a previous level of health and it could be physical or psychological. Rehabilitation has the goal of assisting individuals to achieve the highest quality of life and health as possible within their circumstances and it’s community based treatment process where there is a group of members and who have the same kind of problems or experiences and the method is like “each one teach one”. Now depending on the problem rehab comes in so many shapes (like Cliff Askey said) and it’s the place where addressing emotional issues is often part of the rehabilitation process.
Since I’m involved with a Drug Addiction Rehabilitation Center so I would like to say that, an addict looses his/her morals during addiction period and only detoxification is not sufficient for him/her to recover the lose and become a normal person again.
In drug rehabilitation process, detoxification is also important to help the addict to deal with physical cravings but it’s only a little part of the whole treatment and I would say it’s a the primary and not more than 5% of the treatment process, while counseling, positive peer culture, sharing e.t.c are helpful to recover the person’s behavior lapses and as well as weakening the emotional bonds and most importantly to recover his/her morality.
This question is to broad to answer here and also I’ve some limitations too but I think that the rehab is a place for those persons who are in lose of their mental, spiritual and maybe physical health (at some extent) and what is not possible to recover by themselves alone or with any medication. It helps people to restore their previous state mind and lifestyle and also supports the person to continue a normal life.
Finally I would like to mention that, an addict needs some extra care to improve his/her behavior disorder, mental strength and peace, spiritual thoughts and religious beliefs to recover from addiction and only a rehabilitation center focuses on these things as key ingredients in the drug treatment process for an addict.
Visit and also .
Its being a long time since we planned to develop a Bangla language related application for Android. After a long discussion we decided to create a Bangla Dictionary based on Google Dictionary. The main-pain was the font, Android is not yet matured enough to handle Unicode. After some challenges we successfully integrated universal Bangla font with our new Android app. We have published the app in the Android Market. The day we published the app totally amazed us with an overwhelming response, we never expected our app will be loved by so many people. Few days ago the total downloads exceeded 5000 with 30 ratings averaging 4.6 / 5 . The number may not be that high for an international audience focusing app, but its real high for Bengali people focusing app.
I’m going to show you how to setup the map location using marker’s drag and drop event used as “dragend” in the code, this is not a native “DOM” (Document Object Model) event, it’s Google map’s custom event, when drag and drop occurs, map object fires this custom event.
This is a jquery horizontal menu plugin. It has no css dependency and not more than one image (optional), so it is very light weight and easy to use. It will be very useful when you have a menu with unlimited ul and li. It has no limitation of sub menus. One more specialty of this jquery horizontal menu plugin is that you can add a “more” menu to the main menu bar and wrap all other menus in it when it’s more than your given numbers of menu items. You can customize it in many ways, like animation, hover color e.t.c.
Well, there is nothing new to write about how to write a jquery plugin, there are a lots of articles available on the web including jquery site and those are more than enough to learn about writing a jquery plugin. So I’m not going to teach anything new today but instead, I’m trying to discuss about various ways and difference of writing a jquery plugin that developers use, because everyone doesn’t use the same pattern and sometimes it creates confusions.
Well, this is not an article about how to use jsFiddle instead it’s about a WordPress Plugin which has been developed to embed jsFiddle in WordPress Blog. Although, it’s really easy enough to embed the jsFiddle in to your blog without any plugin but this plugin simplifies the whole process by using a shortcode which you don’t have to write by hand instead, you can insert it using a button from the WordPress’ editor and can customize the fiddle from the options page.