Posts

Showing posts with the label Scripts

Integrating WordPress Into PHP Scripts

Overview Today, I had to use a custom PHP script that I created a while ago in a new WordPress application. Instead of developing a WordPress plugin to handle this existing code, I choose instead to use WordPress directly inside my script. Using WordPress inside your script is a great option if you have a lot of custom PHP code. When you have a large PHP code base from your previous development efforts. There are typically other libraries inside your code, such as Symfony, Zend Framework, Pear, etc, that you don’t want to take apart. You have working code and you want it to stay together. In my case, I had created a form for data collection for a client. But this was no ordinary form. It had over 100 form variables. They were made up of text input, radio boxes, checkboxes, and textarea’s. I wanted to use this form directly inside my WordPress application. Plus I wanted the integration to easy. The solution was actually quite simple. Existing PHP Code For example, assume this...

Screenplays and Scripts - Understand the Difference

Audience of the products of entertainment industries all over the world and people who are aspiring entertainment industry wannabes and workers if not the professionals in almost all parts of the globe have developed the habit of using the terms screenplay and script interchangeably with the later one most frequently used. This, however, is an erroneous custom and needs to be changed as to depict our correct understanding of the two terms as well as leading the people who are unconnected to the industry terms to quote the terms appropriately. Let’s begin to understand the difference between screenplays and scripts by having a look at the definitions of the terms used to refer to the writing tasks of the two types of entertainment industry documents. Screenwriting (not Screen Writing): Screenwriting, sometimes written as Screen Writing, which is no more a valid method of writing the term in almost all of the Hollywood but in few other parts of the world, is the term given to the ta...