This document discusses setting up a development environment for working with content management systems like WordPress. It introduces the key components: PHP, a scripting language for dynamic web pages; Apache, a popular web server; and MySQL, a database management system. Each component is described briefly, with PHP and MySQL getting more detail on their origins, uses, and administration. The document encourages learning more about using this LAMP stack environment for web development.
Brief History of PHP
PHP (PHP: Hypertext Preprocessor) was created by Rasmus Lerdorf in 1994. It was initially developed for HTTP usage logging and server-side form generation in Unix.
PHP 2 (1995) transformed the language into a Server-side embedded scripting language. Added database support, file uploads, variables, arrays, recursive functions, conditionals, iteration, regular expressions, etc.
PHP 3 (1998) added support for ODBC data sources, multiple platform support, email protocols (SNMP,IMAP), and new parser written by Zeev Suraski and Andi Gutmans .
PHP 4 (2000) became an independent component of the web server for added efficiency. The parser was renamed the Zend Engine. Many security features were added.
PHP 5 (2004) adds Zend Engine II with object oriented programming, robust XML support using the libxml2 library, SOAP extension for interoperability with Web Services, SQLite has been bundled with PHP
What is PHP Used For?
PHP is a general-purpose server-side scripting language originally designed for web development to produce dynamic web pages
PHP can interact with MySQL databases
What is PHP?
PHP == ‘Hypertext Preprocessor’
Open-source, server-side scripting language
Used to generate dynamic web-pages
PHP scripts reside between reserved PHP tags
This allows the programmer to embed PHP scripts within HTML pages
What is PHP (cont’d)
Interpreted language, scripts are parsed at run-time rather than compiled beforehand
Executed on the server-side
Source-code not visible by client
‘View Source’ in browsers does not display the PHP code
Various built-in functions allow for fast development
Compatible with many popular databases
What does PHP code look like?
Structurally similar to C/C++
Supports procedural and object-oriented paradigm (to some degree)
All PHP statements end with a semi-colon
Each PHP script must be enclosed in the reserved PHP tag
Comments in PHP
Standard C, C++, and shell comment symbols
Variables in PHP
PHP variables must begin with a “$” sign
Case-sensitive ($Foo != $foo != $fOo)
Global and locally-scoped variables
Global variables can be used anywhere
Local variables restricted to a function or class
Certain variable names reserved by PHP
Form variables ($_POST, $_GET)
Server variables ($_SERVER)
Etc.
Variable usage
Arithmetic Operations
$a - $b // subtraction
$a * $b // multiplication
$a / $b // division
$a += 5 // $a = $a+5 Also works for *= and /=
Concatenation
Use a period to join strings into one.
If ... Else...
If (condition)
{
Statements;
}
Else
{
Statement;
}
While Loops
While (condition)
{
Statements;
}
Date Display
$datedisplay=date(“yyyy/m/d”);
Print $datedisplay;
# If the date is April 1st, 2009
# It would display as 2009/4/1
Month, Day & Date Format Symbols
In this short presentation, Subhash Yadav of Valuebound has explained about “Caching in Drupal 8.” A cache is a collection of data of the same type stored in a device for future use. Caches are found at every level of a content's journey from the original server to the browser.
How to reduce database load using Memcachevaluebound
Configuring Memcache with Drupal 8 helps to reduce database load by caching DB objects in RAM. In this presentation, Ajay Reddy of Valuebound has explained how to install Memcache on the server and configure it with Drupal 8.
Brief History of PHP
PHP (PHP: Hypertext Preprocessor) was created by Rasmus Lerdorf in 1994. It was initially developed for HTTP usage logging and server-side form generation in Unix.
PHP 2 (1995) transformed the language into a Server-side embedded scripting language. Added database support, file uploads, variables, arrays, recursive functions, conditionals, iteration, regular expressions, etc.
PHP 3 (1998) added support for ODBC data sources, multiple platform support, email protocols (SNMP,IMAP), and new parser written by Zeev Suraski and Andi Gutmans .
PHP 4 (2000) became an independent component of the web server for added efficiency. The parser was renamed the Zend Engine. Many security features were added.
PHP 5 (2004) adds Zend Engine II with object oriented programming, robust XML support using the libxml2 library, SOAP extension for interoperability with Web Services, SQLite has been bundled with PHP
What is PHP Used For?
PHP is a general-purpose server-side scripting language originally designed for web development to produce dynamic web pages
PHP can interact with MySQL databases
What is PHP?
PHP == ‘Hypertext Preprocessor’
Open-source, server-side scripting language
Used to generate dynamic web-pages
PHP scripts reside between reserved PHP tags
This allows the programmer to embed PHP scripts within HTML pages
What is PHP (cont’d)
Interpreted language, scripts are parsed at run-time rather than compiled beforehand
Executed on the server-side
Source-code not visible by client
‘View Source’ in browsers does not display the PHP code
Various built-in functions allow for fast development
Compatible with many popular databases
What does PHP code look like?
Structurally similar to C/C++
Supports procedural and object-oriented paradigm (to some degree)
All PHP statements end with a semi-colon
Each PHP script must be enclosed in the reserved PHP tag
Comments in PHP
Standard C, C++, and shell comment symbols
Variables in PHP
PHP variables must begin with a “$” sign
Case-sensitive ($Foo != $foo != $fOo)
Global and locally-scoped variables
Global variables can be used anywhere
Local variables restricted to a function or class
Certain variable names reserved by PHP
Form variables ($_POST, $_GET)
Server variables ($_SERVER)
Etc.
Variable usage
Arithmetic Operations
$a - $b // subtraction
$a * $b // multiplication
$a / $b // division
$a += 5 // $a = $a+5 Also works for *= and /=
Concatenation
Use a period to join strings into one.
If ... Else...
If (condition)
{
Statements;
}
Else
{
Statement;
}
While Loops
While (condition)
{
Statements;
}
Date Display
$datedisplay=date(“yyyy/m/d”);
Print $datedisplay;
# If the date is April 1st, 2009
# It would display as 2009/4/1
Month, Day & Date Format Symbols
In this short presentation, Subhash Yadav of Valuebound has explained about “Caching in Drupal 8.” A cache is a collection of data of the same type stored in a device for future use. Caches are found at every level of a content's journey from the original server to the browser.
How to reduce database load using Memcachevaluebound
Configuring Memcache with Drupal 8 helps to reduce database load by caching DB objects in RAM. In this presentation, Ajay Reddy of Valuebound has explained how to install Memcache on the server and configure it with Drupal 8.
Prisense Technologies provides IT training in various computer courses like as prisense technologies, presence india ,Cloud Computing, Java, Android, Dot Net, PHP, Web Designing, Hadoop, CCNA, CCNP, Networking, Linux, Computer Training, Industrial training.
Availing Windows Dedicated Servers of HTS HostingHTS Hosting
HTS Hosting is committed to ensuring user satisfaction through its efficient and budget-friendly services which are delivered straight from its highly sophisticated data centre, HTS Data Centre, that houses its powerfully configured web servers (Dedicated Servers and Virtual Private Servers).
These slides belong to https://CustomizeWoo.com, a technical video course that shows you how to override WooCommerce pages and elements without using plugins. You can watch me code and learn by example.
A series of videos, screencasts, examples and exercises will help you feel more confident about WooCommerce customization, child themes, hooks and CSS/PHP snippets.
Watch and re-watch each video how many times you like, get lifetime access to me via the comment section, exercise as much as possible and keep learning.
Access your free videos or buy the course via https://businessbloomer.com/customizewoo-master-woocommerce-online-course/
Less and faster – Cache tips for WordPress developersSeravo
Otto Kekäläinen, the code-loving CEO of Seravo held a webinar on May 12, 2020, that focused on the cache: what should a WordPress developer know and which are the best practices to follow?
Presentation from webinar held on August 19th, 2020, with Xdebug developer Derick Rethans and Seravo CEO Otto Kekäläinen.
This presentation shows you how to use Xdebug (which is very easy with the Seravo WordPress development environment!) to make a record of what the WordPress PHP code does during a website page load, and how to use that information to optimize the performance of your WordPress site.
For a video recording and Dericks presentation see https://seravo.com/blog/webinar-xdebug-profile-php/
Prisense Technologies provides IT training in various computer courses like as prisense technologies, presence india ,Cloud Computing, Java, Android, Dot Net, PHP, Web Designing, Hadoop, CCNA, CCNP, Networking, Linux, Computer Training, Industrial training.
Availing Windows Dedicated Servers of HTS HostingHTS Hosting
HTS Hosting is committed to ensuring user satisfaction through its efficient and budget-friendly services which are delivered straight from its highly sophisticated data centre, HTS Data Centre, that houses its powerfully configured web servers (Dedicated Servers and Virtual Private Servers).
These slides belong to https://CustomizeWoo.com, a technical video course that shows you how to override WooCommerce pages and elements without using plugins. You can watch me code and learn by example.
A series of videos, screencasts, examples and exercises will help you feel more confident about WooCommerce customization, child themes, hooks and CSS/PHP snippets.
Watch and re-watch each video how many times you like, get lifetime access to me via the comment section, exercise as much as possible and keep learning.
Access your free videos or buy the course via https://businessbloomer.com/customizewoo-master-woocommerce-online-course/
Less and faster – Cache tips for WordPress developersSeravo
Otto Kekäläinen, the code-loving CEO of Seravo held a webinar on May 12, 2020, that focused on the cache: what should a WordPress developer know and which are the best practices to follow?
Presentation from webinar held on August 19th, 2020, with Xdebug developer Derick Rethans and Seravo CEO Otto Kekäläinen.
This presentation shows you how to use Xdebug (which is very easy with the Seravo WordPress development environment!) to make a record of what the WordPress PHP code does during a website page load, and how to use that information to optimize the performance of your WordPress site.
For a video recording and Dericks presentation see https://seravo.com/blog/webinar-xdebug-profile-php/
INCLUSIVE EDUCATION: HOW TO PROMOTE POSITIVE CLASSROOM BEHAVIOUR IN STUDENTS?Roudhahtul Isa
Halifah Husaini (08D0013), Aisah Lamit (08D0047), Roudhahtul Isa (08D0008), Diploma in Primary Education session 2008/2011.
PRESENTATION TOPIC: HOW TO PROMOTE POSITIVE CLASSROOM BEHAVIOUR IN STUDENTS?, Semester 5 (Year 2010), Course facilitator: Dr. Koay Teng Leong, Course name: INCLUSIVE EDUCATION, UNIVERSITI BRUNEI DARUSSALAM.
Sub-topics:
Presented by Halifah Husaini (08D0013):
- Relationship Building Strategies
- Social Skills Instruction
Presented by Aisah Lamit (08D0047):
- Antecedent Based Interventions
- Self Management Interventions
Presented by Roudhahtul Isa (08D0008):
- Group Oriented Management Systems
- Behavior Reduction Interventions
All rights reserved.
a brief introduction to PHP and how to use it.Raihan Mistry
PHP (Hypertext Processor) is a general-purpose scripting language and interpreter that is freely available and widely used for web development. The language is used primarily for server-side scripting, although it can also be used for command-line scripting and, to a limited degree, desktop applications.
Integrating PHP With System-i using Web ServicesIvo Jansch
Presentation about Web Services in PHP for IBM System-i users. Sam Pinkhasov (Zend) did most of the presentation, I did the general part on PHP (first 9 slides). Presentation was done at the IBM Future Proof event in Eindhoven (june 5th, 2007)
Slides were presented in one of #Dubytes session held by #dubizzle every month. Aim was to discuss What is RabbitMQ and how dubizzle's uses it in the journey to a micro-services architecture. With demos and explanation on how RabbitMQ works and the concept behind messaging.
This is also a follow-up on a recently published blog post on how to implement a RabbitMQ cluster on Amazon Web Services which can be found on: https://goo.gl/tFMVrG
An introductory session about #AngularJS, Kinda mentions history but focuses more on Angular's features, and what it introduces to Web Development.The session was introduced in Google Dev Fest 2014 in Cairo, Egypt . And then revised and presented in #CATScope14.
Pitch was performed in front of Alexandria Startup Cup Judges, by Islam ElZayat, Slides by Me with some Photo editing by Mahmoud Metwally.
http://desk2.me
Historical and an inspirational session introduced to CATReloaded Juniors aiming to raise their spirit and get them to know the legacy old CAT members and founders left to them.
Map Your MIInd, or Map Your Mind 2, another part of Map Your Mind I - Map Your Mind 1 -(http://www.slideshare.net/bingorabbit/map-your-mind-your-mind-on-a-paper), introduced in CATReloaded About Us' Day, 15th of December 2009.
Java Based RFID Attendance Management System Graduation Project Presentation
Source code is only available when having permissions from the whole team members.
Presentation was introduced in an introductory session, introducing Information Technology Various Fields for Beginners.
A series dkTalk, in which this session was the first. dkTalk Series is introduced by depiak Foundation (http://depiak.catreloaded.net)
Session was introduced in CAT Scope 9, one of the most successful events held by CAT (Computer Assistance Team). It discussed the Mind Mapping technique basics and how to create your own Mind Maps.
Session by Ahmed Masoud (http://twitter.com/ahmedeleven) in WordCamp Egypt 2009, discussing different ways to have a WordPress blog and the installation of a typical WordPress System.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
Elevating Tactical DDD Patterns Through Object CalisthenicsDorra BARTAGUIZ
After immersing yourself in the blue book and its red counterpart, attending DDD-focused conferences, and applying tactical patterns, you're left with a crucial question: How do I ensure my design is effective? Tactical patterns within Domain-Driven Design (DDD) serve as guiding principles for creating clear and manageable domain models. However, achieving success with these patterns requires additional guidance. Interestingly, we've observed that a set of constraints initially designed for training purposes remarkably aligns with effective pattern implementation, offering a more ‘mechanical’ approach. Let's explore together how Object Calisthenics can elevate the design of your tactical DDD patterns, offering concrete help for those venturing into DDD for the first time!
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
5. What's a Web Server?
A computer program that is
responsible for accepting HTTP
requests from clients and serving
them HTTP responses .
6. What's a Web Server?
Path Translation
http://www.example.com/file.html
HTTP 1.1 request:
GET /file.html HTTP/1.1
Host: www.example.com
7. What's a Web Server?
Web server will append path to its
root directory
/var/www/file.html
8. What's a Web Server?
HTTP responses contain optional
data contents, like web pages such
as HTML documents and linked
objects (images, etc.).
9. What's a Web Server?
Some Common Features
- HTTP & HTTPS support.
- Logging info about client requests
and server responses.
- Authentication.
- Static and Dynamic Contents.
10. What's a Web Server?
Static Contents
if they come from an existing file
lying on the server's filesystem.
11. What's a Web Server?
Dynamic Contents
if they are generated by a script or
(API) called by the web server.
is Our Scripting Language..
12. About PHP
PHP is a scripting language
originally designed for producing
dynamic web pages.
13. About PHP
PHP was originally created by Rasmus
➢
Lerdorf in 1995.
➢PHP is free software released under
the PHP License.
➢It is incompatible with the GNU
General Public License (GPL).
➢
14. About PHP
PHP is especially suited for web
➢
development & can be embedded into
HTML.
It generally runs on a web server,
➢
taking PHP code as its input and
creating web pages as output.
➢
15. About PHP
It can be deployed on almost every
➢
operating system.
PHP is installed on more than 20
➢
million websites and 1 million web
servers.
➢
16. About PHP
PHP originally stood for “Personal
➢
Home Page”.
➢Itbegan in 1994 as a set of
Common Gateway Interface binaries
written in C by Rasmus Lerdorf.
17. About PHP
PHP now stands for “PHP
➢
Hypertext Preprocessor”.
PHP focuses on server side
➢
scripting.
19. About MySQL
➢MySQL is a relational database
management system (RDBMS).
➢MySQL was released on 23 May 1995
under GNU GPL.
➢It is written in C and C++.
20. About MySQL
You Can Administrate MySQL using:
Command-line tools :”mysql &
➢
mysqladmin”.
➢ GUI tools:” MySQL administrator &
PHPMyAdmin”.
21. About MySQL
MySQL acts as the database
➢
component of the LAMP, BAMP,
MAMP, SAMP, and WAMP platforms.
It's the database component for open-
➢
source bug tracking tools like
Bugzilla.
22. About MySQL
These High traffic websites use
➢
MySQL: