In-Depth Guide On WordPress Coding Standards For PHP & HTMLeSparkBiz
Before going to into the details of WordPress Coding Standards, you need to know the purpose of the coding standards & why you need to have coding standards.
In this blog, we will focus on part 1 – WordPress Coding Standards For PHP & HTML and in the next blog, we will focus on part 2 – WordPress Coding Standards For CSS & JS.
This is the fifth set of slightly updated slides from a Perl programming course that I held some years ago.
I want to share it with everyone looking for intransitive Perl-knowledge.
A table of content for all presentations can be found at i-can.eu.
The source code for the examples and the presentations in ODP format are on https://github.com/kberov/PerlProgrammingCourse
PHP is a server-side scripting language designed for web development, but also used as a general-purpose programming language. Most of the websites are using PHP in their dynamic content
In-Depth Guide On WordPress Coding Standards For PHP & HTMLeSparkBiz
Before going to into the details of WordPress Coding Standards, you need to know the purpose of the coding standards & why you need to have coding standards.
In this blog, we will focus on part 1 – WordPress Coding Standards For PHP & HTML and in the next blog, we will focus on part 2 – WordPress Coding Standards For CSS & JS.
This is the fifth set of slightly updated slides from a Perl programming course that I held some years ago.
I want to share it with everyone looking for intransitive Perl-knowledge.
A table of content for all presentations can be found at i-can.eu.
The source code for the examples and the presentations in ODP format are on https://github.com/kberov/PerlProgrammingCourse
PHP is a server-side scripting language designed for web development, but also used as a general-purpose programming language. Most of the websites are using PHP in their dynamic content
PHP is one of the simplest server-side languages out there, and it was designed primarily for web development. Learning PHP is good not only because it adds ...
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 3. In this session, we will cover desktop automation along with UI automation.
Topics covered:
UI automation Introduction,
UI automation Sample
Desktop automation flow
Pradeep Chinnala, Senior Consultant Automation Developer @WonderBotz and UiPath MVP
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
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.
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
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
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.
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.
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
2. PHP Scripting Block Always starts with <?php and ends with ?> <html> <head><title>Hello World Script</title> </head> <body> <?php echo “<p>Hello World!</p>” ?> </body> </html>
3. Using Simple Statements Simple statements are an instruction to PHP to do one simple action. There are two basic statements to output text with PHP: echo and print. Note: The file must have a .php extension. If the file has a .html extension, the PHP code will not be executed.
4. echo command The simplest use of echo is to print a string as argument, for example: echo “This will print in the user’s browser window.”; Or equivalently echo(“This will print in the user’s browser window.”);
5. Echo Statement You can also give multiple arguments to the unparenthesized version of echo, separated by commas, as in: echo “This will print in the “, “user’s browser window.”; The parenthesized version, however, will not accept multiple arguments: echo (“This will produce a “, “PARSE ERROR!”);
6. Used of - newline echo “line 1”; echo “line 2”; Will produced line 1 line 2 Used of <br /> echo “line 1<br />”; echo “line 2”; Will produced line 1 line 2 Used of <br /> and
7. PHP Simple StatementsFollow These Rules: PHP statements end with a semicolon or the PHP ending tag. PHP doesn’t notice white space or the end of lines. It continues reading a statement until it encounters a semicolon or the PHP closing tag, no matter how many lines the statement spans. PHP statements may be written in either upper- or lowercase. In an echo statement, Echo, echo, ECHO, and eCHo are all the same to PHP.
8. Comments in PHP In PHP, we use // to make a single-line comment or /* and */ to make a large comment block. <?php //This is a line comment # or this one /* This is a comment block */ ?>
9. Variables Are used for storing values such as numbers and strings so that it can be used several times in the script. “Symbolic Representation of a value”. Variables are identified and defined by prefixing their name with a dollar sign Example: $variable1, $variable2 Variable names must start with a letter or underscore character (“_”) Variable names may contain letters, numbers, underscores, or dashes. There should be no spaces Variable names are CaSE- SeNSiTiVE $thisVar $ThisvAr
10. Example of Variable Names $item $Item $myVariable (camel case) $this_variable $this-variable $product3 $_book $__bookPage
11. Variables PHP variables are not declared explicitly instead they are declared automatically the first time they are used. It’s a loosely typed of language so we do not specify the data type of the variable. PHP automatically converts the variable to the correct data type such as string, integer or floating point numbers.
13. Example of Variable Variables $varName=“ace”; $$varName=1029; This is exactly equivalent to $ace=1029;
14. Constants Always stay the same once defined Constants are defined with the define() function. Example: define(“VARIABLE1”, “value”); Constant names follow the same rules as variable names Constants are typically named all in UPPERCASE but do not have to be.
16. Constants One important difference between constants and variables is that when you refer to a constant, it does not have a dollar sign in front of it. If you want to use the value of a constant, use its name only. define(‘OILPRICE’,10); echo OILPRICE;
17. Sample Program for Constant Declaration <?php define(“USER”,”Grace”); echo “Welcome ” . USER; ?> Output: Welcome Grace
18. Integer An integer is a plain-vanilla number like 75, -95, 2000,or 1. Integers can be assigned to variables, or they can be used in expressions, like so: $int_var = 12345;
19. Floating Point A floating-point number is typically a fractional number such as 12.5 or 3.149391239129. Floating point numbers may be specified using either decimal or scientific notation. Ex: $temperature = 56.89;
20. Doubles Doubles are floating-point numbers, such as: $first_double = 123.456; $second_double = 0.456 $even_double = 2.0; Note that the fact that $even_double is a “round” number does not make it an integer. And the result of: $five = $even_double + 3; is a double, not an integer, even if it prints as 5. In almost all situations, however, you should feel free to mix doubles and integers in mathematical expressions, and let PHP sort out the typing.
21. Boolean The simplest variable type in PHP, a Boolean variable simply specifies a true or false value. TRUE=1, FALSE=0 Case-Insensitive True, TRUE, true are all the same. Printing out Boolean values. echo true . “”; //prints true echo false; //(none) 1 (none)
22. Boolean The ff. are considered FALSE: Integers and floats zero(0) Empty String (“”) The string “0” Array with zero elements NULL Object with zero member variables Every other value is considered TRUE.
23. NULL Null is a special value that indicates no value. Case-insensitive NULL, null, Null NULL converts to boolean FALSE and integer zero. A variable is considered to be NULL if: It has been assigned to the constant NULL It has not been set to any value yet It has been unset <?php $a= NULL; echo $b; ?>
24. isset(), is_null() isset() Tests if a variable exists Returns FALSE if: Is set to NULL Variable has been unset() is_null() Determines if the given variable is set to NULL. Returns true if variable is NULL, FALSE otherwise.
25. empty() Determines if a variable is empty. The following values are considered empty:
27. Strings A string is a sequence of characters, like 'hello' or 'abracadabra'. String values may be enclosed in either double quotes ("") or single quotes (''). $name1 = ‘Ervin'; $name2 = ‘Grace’;
28. Singly Quoted Strings Except for a couple of specially interpreted character sequences, singly quoted strings read in and store their characters literally. $literally = ‘My $variable will not print!n’; print($literally); produces the browser output: My $variable will not print!n
29. Doubly Quoted Strings Strings that are delimited by double quotes (as in “this”) are preprocessed in both the following two ways by PHP: Certain character sequences beginning with backslash ( are replaced with special characters. Variable names (starting with $) are replaced with string representations of their values.
30. Escape Sequence Replacements Are: is replaced by the new line character is replaced by the carriage-return character is replaced by the tab character is replaced by the dollar sign itself ($) is replaced by a single double-quote (“) is replaced by a single backslash (br />
31. A Note on String Values <?php $identity = 'James Bond'; $car = 'BMW'; // this would contain the string // "James Bond drives a BMW" $sentence = "$identity drives a $car"; // this would contain the string // "$identity drives a $car" $sentence = '$identity drives a $car'; ?>
32. A Note on String Values <?php // will cause an error due to // mismatched quotes $statement = 'It's hot outside'; // will be fine $statement = 'Itapos;s hot outside'; ?>
33. Data Conversion In PHP, the type of the variable depends on the value assigned to it.
34. Typecasting There are circumstances in which you will want to control how and when individual variables are converted from one type to another. This is called typecasting Typecasting forces a variable to be evaluated as another type The name of the desired type is written in parentheses before the variable that is to be cast.
35. Typecasting-Integers You can typecast any variable to an integer using the (int) operator. Floats are truncated so that only their integer portion is maintained. echo (int) 99.99; //99 Booleans are cast to either one or zero (int) TRUE == 1 (int) FALSE == 0 Strings are converted to their integer equivalent echo (int) “test 123” ; //0 echo (int) “123”; echo (int) “123test”; NULL always evaluates to zero.
36. Typecasting Booleans Data is cast to Boolean using the (bool) operator echo (bool) “1”; Numeric values are always TRUE unless they evaluate to zero Strings are always TRUE unless they are empty (bool) “FALSE” ==true Null always evaluates to FALSE.
37. Typecasting- Strings Data is typecast to a string using the (string) operator: echo (string) 123; Numeric values are converted to their decimal string equivalent: (string) 123.1 == “123.1”; Booleans evaluate to either “1” (TRUE) or an empty string (FALSE) NULL values evaluates to an empty string.
38. Gettype() Gets the type of a variable Returns “boolean”, “integer”, “double”, “string”, “array”, “object”, “resource”, “NULL”.
39. settype() Sets the type of a variable “boolean”, “integer”, “double”, “string”, “array”, “object”, “resource”, “NULL”