This presentation covers how to document REST APIs. For accompanying notes, see http://idratherbewriting.com/restapicourse. This presentation is geared towards technical writers. The focus is with REST APIs, not platform-specific APIs such as Java.
Recently we presented on WordCamp Thessaloniki how we can use WordPress as a Framework. In this presentation you can find some nice ideas on what is a Framework, how WordPress can be used as one and how we can start building custom apps using WordPress. Enjoy!
Introduction To Simple WordPress Plugin DevelopmentBruce L Chamoff
If you are a PHP developer and WordPress user, this simple tutorial explains how to easily create a plugin. I have used this presentation at WordCamps around the United States and now I have simplified it for you.
In this presentation, I not only show you how to code plugins, but I explain all the details of plugins as I know them and touch upon necessary plugin topics including, but not limited to:
- the WordPress core
- where plugins are stored under the hood
- how to properly name a plugin
- the simple plan for your plugins
- plugin architecture
- hooks
- callback functions
- installing and activating your new plugin
API Documentation Workshop tcworld India 2015Tom Johnson
This is a workshop I gave on API documentation at tcworld India 2015. The workshop covers 3 main areas:
- General overview of API documentation
- Deep dive into REST API documentation
- Deep dive into Javadoc documentation
A presentation given by Roy Ganor and myself at local Microsoft PHP developer day in Microsoft Israel, covering some general Zend info, Zend Framework, some Zend Studio and a bit about Windows Azure. The talk also included a lot of live demo and code review
This presentation covers how to document REST APIs. For accompanying notes, see http://idratherbewriting.com/restapicourse. This presentation is geared towards technical writers. The focus is with REST APIs, not platform-specific APIs such as Java.
Recently we presented on WordCamp Thessaloniki how we can use WordPress as a Framework. In this presentation you can find some nice ideas on what is a Framework, how WordPress can be used as one and how we can start building custom apps using WordPress. Enjoy!
Introduction To Simple WordPress Plugin DevelopmentBruce L Chamoff
If you are a PHP developer and WordPress user, this simple tutorial explains how to easily create a plugin. I have used this presentation at WordCamps around the United States and now I have simplified it for you.
In this presentation, I not only show you how to code plugins, but I explain all the details of plugins as I know them and touch upon necessary plugin topics including, but not limited to:
- the WordPress core
- where plugins are stored under the hood
- how to properly name a plugin
- the simple plan for your plugins
- plugin architecture
- hooks
- callback functions
- installing and activating your new plugin
API Documentation Workshop tcworld India 2015Tom Johnson
This is a workshop I gave on API documentation at tcworld India 2015. The workshop covers 3 main areas:
- General overview of API documentation
- Deep dive into REST API documentation
- Deep dive into Javadoc documentation
A presentation given by Roy Ganor and myself at local Microsoft PHP developer day in Microsoft Israel, covering some general Zend info, Zend Framework, some Zend Studio and a bit about Windows Azure. The talk also included a lot of live demo and code review
Survival Strategies for API Documentation: Presentation to Southwestern Ontar...Tom Johnson
This is a presentation I gave to the Southwestern Ontario STC chapter on API documentation on Feb 2, 2015. For more details, see my blog at http://idratherbewriting.com. You can listen to the recorded presentation here: http://youtu.be/I8rGe2w1sAo.
Publishing API documentation -- WorkshopTom Johnson
These slides are from the REST API documentation workshop that I gave at the STC Summit 2015. For more details, see http://idratherbewriting.com/publishingapidocs.
Publishing strategies for API documentationTom Johnson
Most of the common tools for publishing help material fall short when it comes to API documentation. Much API documentation (such as for Java, C++, or .NET APIs) is generated from comments in the source code. Their outputs don’t usually integrate with other help material, such as programming tutorials or scenario-based code samples.
REST APIs are a breed of their own, with almost no standard tools for generating documentation from the source. The variety of outputs for REST APIs are as diverse as the APIs themselves, as you can see by browsing the 11,000+ web APIs on programmableweb.com.
As a technical writer, what publishing strategies do you use for API documentation? Do you leave the reference material separate from the tutorials and code samples? Do you convert everything to DITA and merge it into a single output? Do you build your own help system from scratch that imports your REST API information?
There’s not a one-size-fits-all approach. In this presentation, you’ll learn a variety of publishing strategies for different kinds of APIs, with examples of what works well for developer audiences. No matter what kind of API you’re working with, you’ll benefit from this survey of the API doc publishing scene.
- See more at: http://idratherbewriting.com
These slides focus on documentation for REST APIs. See http://idratherbewriting.com for more detail. For the video recording, see http://youtu.be/0yfNd7tzH2Q. This deep dive is the second slide deck I used in the presentation.
API Workshop: Deep dive into code samplesTom Johnson
See http://idratherbewriting.com for more details. This was the third slidedeck I used in my presentation. Most of these slides repeat what I presented as a soap! conference webinar in Poland.
5 Steps to Develop a WordPress Plugin From Scratch.pdfBeePlugin
Whether you want to create a custom plugin for your own website or publish the plugin publicly we will help you learn where and how to begin. We will walk you through all the steps involved in custom WordPress plugin development so that you can start developing and publishing your own custom plugins.
Survival Strategies for API Documentation: Presentation to Southwestern Ontar...Tom Johnson
This is a presentation I gave to the Southwestern Ontario STC chapter on API documentation on Feb 2, 2015. For more details, see my blog at http://idratherbewriting.com. You can listen to the recorded presentation here: http://youtu.be/I8rGe2w1sAo.
Publishing API documentation -- WorkshopTom Johnson
These slides are from the REST API documentation workshop that I gave at the STC Summit 2015. For more details, see http://idratherbewriting.com/publishingapidocs.
Publishing strategies for API documentationTom Johnson
Most of the common tools for publishing help material fall short when it comes to API documentation. Much API documentation (such as for Java, C++, or .NET APIs) is generated from comments in the source code. Their outputs don’t usually integrate with other help material, such as programming tutorials or scenario-based code samples.
REST APIs are a breed of their own, with almost no standard tools for generating documentation from the source. The variety of outputs for REST APIs are as diverse as the APIs themselves, as you can see by browsing the 11,000+ web APIs on programmableweb.com.
As a technical writer, what publishing strategies do you use for API documentation? Do you leave the reference material separate from the tutorials and code samples? Do you convert everything to DITA and merge it into a single output? Do you build your own help system from scratch that imports your REST API information?
There’s not a one-size-fits-all approach. In this presentation, you’ll learn a variety of publishing strategies for different kinds of APIs, with examples of what works well for developer audiences. No matter what kind of API you’re working with, you’ll benefit from this survey of the API doc publishing scene.
- See more at: http://idratherbewriting.com
These slides focus on documentation for REST APIs. See http://idratherbewriting.com for more detail. For the video recording, see http://youtu.be/0yfNd7tzH2Q. This deep dive is the second slide deck I used in the presentation.
API Workshop: Deep dive into code samplesTom Johnson
See http://idratherbewriting.com for more details. This was the third slidedeck I used in my presentation. Most of these slides repeat what I presented as a soap! conference webinar in Poland.
5 Steps to Develop a WordPress Plugin From Scratch.pdfBeePlugin
Whether you want to create a custom plugin for your own website or publish the plugin publicly we will help you learn where and how to begin. We will walk you through all the steps involved in custom WordPress plugin development so that you can start developing and publishing your own custom plugins.
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to DevelopmentEvan Mullins
Crash course introduction to web development for WordPress covering acronyms, buzzwords and concepts that often leave outsiders mystified. Overview of primary development processes and what software and tools are needed to play the game. We’ll cover what you need to go from zero to developer and hopefully how to have fun on the way. WordPress development tools explained for beginners: ftp, git, svn, php, html, css, sass, js, jquery, IDEs, themes, child themes, the Loop, hooks, APIs, CLI, agile, bootstrap, slack, linting, sniffing … etc.
Word press Plugins by WordPress ExpertsYameen Khan
A plugin in WordPress is a PHP script that extends or alters the core functionality of
WordPress. Quite simply plugins are files installed in WordPress to add a feature, or set of features, to WordPress
Plugin provides a set of hooks that enable plugins access to specific parts of WordPress. WordPress contains two different types of hooks: Actions and Filters. The Action hook enables you to trigger custom plugin code at specific points during execution. For example, you can trigger a custom function to run after a user registers a user account in WordPress.
The Filter hook to modifies text before adding or after retrieving from the database.
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017 Evan Mullins
WP Dev/tools for beginners: ftp, git, svn, php, html, css, sass, js, jquery, IDEs, themes, child themes, the loop, hooks, APIs, CLI, agile, bootstrap, SEO, slack… etc.
We’ll discuss the language and various acronyms and buzzwords used by devs in this crash course introduction to the developer’s world. Overview of primary development processes and terms and what software is needed to play the game. We’ll cover what you need to go from zero to developer and hopefully how to have fun on the way.
MVC Frameworks for building PHP Web ApplicationsVforce Infotech
Hello and welcome to VForce Infotech Training on MVC Frameworks for Building PHP Web Applications. In this course we are going to look at PHP, and specifically we are going to look into some of the main frameworks that you can use to develop PHP applications. We are going to look at some of the patterns, most specifically the Model/View/ Controller pattern, which is at the root of every one of these frameworks. And then we are going to dive in and take a look at the Zend framework. We are going to also look at the SymFony framework. We will look at the lightweight CodeIgniter framework. And lastly will look at CakePHP. This course was designed to introduce you to some of the more popular PHP frameworks.
Hopefully you can choose what might be right for you and your project. I'll show you how to get started in each of them and you can take it from there. So let's get started.
WordCamp Asheville 2017 - So You Wanna Dev? Join the Team!Evan Mullins
WP Dev/tools for beginners: ftp, git, svn, php, html, css, sass, js, jquery, IDEs, themes, child themes, the loop, inspect element, hooks, APIs, CLI, agile, bootstrap, SEO, slack… etc.
We’ll discuss the language and various acronyms and buzzwords used by devs in this crash course introduction to the developer’s world. Overview of primary development processes and terms and what software is needed to play the game. We’ll cover what you need to go from zero to developer and hopefully how to have fun on the way.
Takeaways:
Learn to speak dev
Get familiar with concepts (and acronyms) you’ll need to dev
Learn about tools that will help you
Presented at WordCamp Montreal 2017
For many WordPress users, even seasoned PHP developers, creating new plugins for WordPress seems like a daunting task. This presentation aims to show attendees how simple creating plugins for WordPress from the ground up can be by looking at the architecture of a WordPress plugin, from the basic concepts of registering actions and filters to more advanced concepts such as the creation of admin pages and registering shortcodes.
WordPress Plugin Development- Rich Media Institute WorkshopBrendan Sera-Shriar
“Plug-ins can extend WordPress to do almost anything you can imagine.” In this workshop we will cover the following areas, Extending WordPress, Customizing WordPress Plug-ins, Tips On Writing WordPress Plug-ins, Writing WordPress Plug-ins, and Essential WordPress Plug-ins. Plus, that isn’t enough, we will build a simple Flash plug-in by the end of the workshop that you can take with you!"
Extending WordPress - a guide to building your first pluginJonathan Bossenger
This talk is aimed at the prospective WordPress developer who wants to bend WordPress to their will beyond what is possible with off the shelf themes or plugins. We’ll look at when it would be a good idea to build a custom plugin, the basics of building a WordPress plugin, understanding important terminology like hooks and filters and I’ll share some common resources that a prospective plugin developer can use to ramp up their skills while at the same time building a small plugin of our own.
Similar to How to Create a Custom WordPress Plugin (20)
Latest Facts and Trends in Fitness App DevelopmentAndolasoft Inc
A prominent trend in the ever-evolving landscape of fitness app development is the seamless integration of wearable devices. The fitness app landscape is evolving at a rapid pace, fueled by technological advancements and an ever-growing interest in health and wellness.
Challenges of React Native App Development_ Effective Mitigation Strategies.pdfAndolasoft Inc
React Native stands as a beacon of cross-platform efficiency and developer-friendly app development. It helps in building applications for multiple platforms with a single codebase and has propelled it to the forefront of the development world.
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
In this blog, we embark on a journey into the realm of Server-Side Rendering with NuxtJS, unraveling its capabilities and demonstrating how it can be a catalyst for an unparalleled web experience.
Essential Functionalities Your Real Estate Web App Must Have.pdfAndolasoft Inc
In this blog, we’ll explore the must-have functionalities that can elevate your real estate web app and make it an indispensable tool for property professionals and clients alike.
A Complete Guide to Developing Healthcare AppAndolasoft Inc
In this comprehensive guide, we'll explore the world of healthcare apps, delving into their types, functionalities, and the key considerations for developing one.
Game-Changing Power of React Native for Businesses in 2024Andolasoft Inc
React native apps provide the perfect solution as businesses can create apps for all mobile devices cost-effective . With this cross-platform development technology, developers write the code-base once and deploy it on all mobile OS.
How to Build Cross-Platform Mobile Apps Using PythonAndolasoft Inc
Python is a great choice for making mobile app that work on both iOS and Android. In this blog we demystify the process and empower you to create mobile applications that transcend boundaries and captivate users across diverse platforms.
Impact of AI on Modern Mobile App DevelopmentAndolasoft Inc
Mobile app development is the fastest growing technology trend in the world. As more and more users are spending most of their time on mobile devices, they are making desktop a thing of the past.
In this blog, we’ll explore effective strategies and techniques to enhance the SEO of your Shopify store and increase your chances of ranking higher in search engine results.
14 Tips On How To Improve Android App PerformanceAndolasoft Inc
In this blog post, we’ll explore the top tips and techniques to help you achieve just that. To keep your users engaged and satisfied, it’s crucial to optimize your Android app performance.
The Ultimate Guide to Setting Up Your WooCommerce StoreAndolasoft Inc
WooCommerce is a popular and highly regarded ecommerce solution that seamlessly integrates with WordPress, the world's leading content management system. Let's know how to setting up your WooCommerce store from Installation to Product Management.
Ranking The Best PHP Development Companies in the WorldAndolasoft Inc
Are you looking to find the best PHP development company for your project? Look no further! We’ve done the research and compiled a list of the php web development company from around the world.
List of 10 Best WordPress Development CompaniesAndolasoft Inc
Here are some leading WordPress development agencies known for their exceptional expertise and experience in creating custom WordPress applications for clients across diverse industries
WooCommerce vs Shopify: Which is Better For Your Online StoreAndolasoft Inc
If you want a ton of customization options cost-effectively WooCommerce is the best solution for you. The platform itself is free to begin with but to avail advanced store features you need to hire a professional WooCommerce development agency.
Why Choose WooCommerce For Your eCommerce StoreAndolasoft Inc
Andolasoft is a leading WooCommerce development company developing bespoke solutions for businesses who want to take their brick-and-mortar store online.
Django is a free and open source web application framework written in Python. A framework is nothing more than a collection of modules that make development easier. Read More: https://www.andolasoft.com/blog/django-workflow-and-architecture.html
The main aim of service-oriented architecture is to allow users to mix large chunks of functionalities into one in order to build an application and services by combining services. This architectural design of node backend application is considered a best practice in industrial labels.
Top Features And Updates Of Angular 13 You Must KnowAndolasoft Inc
At Andolasoft, we have expert Angular developers can help you migrate your existing applications, and also create new web and mobile applications with the best quality.
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!
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
Essentials of Automations: The Art of Triggers and Actions in FMESafe Software
In this second installment of our Essentials of Automations webinar series, we’ll explore the landscape of triggers and actions, guiding you through the nuances of authoring and adapting workspaces for seamless automations. Gain an understanding of the full spectrum of triggers and actions available in FME, empowering you to enhance your workspaces for efficient automation.
We’ll kick things off by showcasing the most commonly used event-based triggers, introducing you to various automation workflows like manual triggers, schedules, directory watchers, and more. Plus, see how these elements play out in real scenarios.
Whether you’re tweaking your current setup or building from the ground up, this session will arm you with the tools and insights needed to transform your FME usage into a powerhouse of productivity. Join us to discover effective strategies that simplify complex processes, enhancing your productivity and transforming your data management practices with FME. Let’s turn complexity into clarity and make your workspaces work wonders!
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024Neo4j
Neha Bajwa, Vice President of Product Marketing, Neo4j
Join us as we explore breakthrough innovations enabled by interconnected data and AI. Discover firsthand how organizations use relationships in data to uncover contextual insights and solve our most pressing challenges – from optimizing supply chains, detecting fraud, and improving customer experiences to accelerating drug discoveries.
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
Pushing the limits of ePRTC: 100ns holdover for 100 daysAdtran
At WSTS 2024, Alon Stern explored the topic of parametric holdover and explained how recent research findings can be implemented in real-world PNT networks to achieve 100 nanoseconds of accuracy for up to 100 days.
Sudheer Mechineni, Head of Application Frameworks, Standard Chartered Bank
Discover how Standard Chartered Bank harnessed the power of Neo4j to transform complex data access challenges into a dynamic, scalable graph database solution. This keynote will cover their journey from initial adoption to deploying a fully automated, enterprise-grade causal cluster, highlighting key strategies for modelling organisational changes and ensuring robust disaster recovery. Learn how these innovations have not only enhanced Standard Chartered Bank’s data infrastructure but also positioned them as pioneers in the banking sector’s adoption of graph technology.
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.
Removing Uninteresting Bytes in Software FuzzingAftab Hussain
Imagine a world where software fuzzing, the process of mutating bytes in test seeds to uncover hidden and erroneous program behaviors, becomes faster and more effective. A lot depends on the initial seeds, which can significantly dictate the trajectory of a fuzzing campaign, particularly in terms of how long it takes to uncover interesting behaviour in your code. We introduce DIAR, a technique designed to speedup fuzzing campaigns by pinpointing and eliminating those uninteresting bytes in the seeds. Picture this: instead of wasting valuable resources on meaningless mutations in large, bloated seeds, DIAR removes the unnecessary bytes, streamlining the entire process.
In this work, we equipped AFL, a popular fuzzer, with DIAR and examined two critical Linux libraries -- Libxml's xmllint, a tool for parsing xml documents, and Binutil's readelf, an essential debugging and security analysis command-line tool used to display detailed information about ELF (Executable and Linkable Format). Our preliminary results show that AFL+DIAR does not only discover new paths more quickly but also achieves higher coverage overall. This work thus showcases how starting with lean and optimized seeds can lead to faster, more comprehensive fuzzing campaigns -- and DIAR helps you find such seeds.
- These are slides of the talk given at IEEE International Conference on Software Testing Verification and Validation Workshop, ICSTW 2022.
UiPath Test Automation using UiPath Test Suite series, part 5DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 5. In this session, we will cover CI/CD with devops.
Topics covered:
CI/CD with in UiPath
End-to-end overview of CI/CD pipeline with Azure devops
Speaker:
Lyndsey Byblow, Test Suite Sales Engineer @ UiPath, Inc.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
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.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
How to Create a Custom WordPress Plugin
1. From the Resource Library of Andolasoft.Inc | Web and Mobile App Development
Company
1
2. From the Resource Library of Andolasoft.Inc | Web and Mobile App Development
Company
2
Custom WordPress Plugin act as add-ons with additional functionalities or extending any
existing functionality to a website without modifying the core files. It helps the installation
of future updates without losing any core functionalities or customizations.
Why would you want to create a plugin?
All WordPress themes contain a functions.php file, which includes code that adds all the
functionalities to your site. It operates very similarly to the way a plugin works. you can add
the same code to either a plugin or functions.php file, and both will work for you.
Consider this scenario.
You have decided to change the look and feel of the website so you need to change the
theme, the custom code that you have added will no longer work since it was there in the
previous theme. On the other hand, plugins are not dependent on a specific theme, which
means that you can switch themes without losing the plugin’s functionalities. Using a plugin
instead of a theme also makes the functionality you want to create easier to maintain and it
will not be impacted during the theme updates.
Types of WordPress Plugin:
Plugins can carry out lots of tasks. It adds extra functionalities to your site which makes the
website more user-friendly.
Types of WordPress plugin include:
WordPress Security and Performance Plugins
Marketing and sales plugins for things like SEO, social media, etc
Custom content plugins such as custom post types, widgets, shortcodes, contact
forms, image galleries, etc.
API plugins that work with the WordPress REST API
Community plugins that add social networking features like the Forum feature.
3. From the Resource Library of Andolasoft.Inc | Web and Mobile App Development
Company
3
How to Run Your Plugin Code: Options
Few methods are there to activate your code in WordPress like,
functions
action and filter hooks
classes
Let’s deepdive on the above points.
Functions
Functions are the building blocks of WordPress code. They’re the easiest way to get started
writing your own plugins and the quickest to code. You’ll find plenty of them in your
themes’ files too.
Each function will have its own name, followed by braces and the code inside those braces.
The code inside your plugin won’t run unless you call the function somehow. The simplest
(but least flexible) way to do that is by directly calling the code in your theme or somewhere
else in your plugin.
Here’s an example function:To directly call that function in your theme, you’d simply type
andola_myfunction() in the place in your theme template files where you want it to run. Or
you might add it somewhere in your plugin… but you’d also need to activate the code that
calls it!
There are a few limitations to this:
If the function does something that isn’t just adding content somewhere in a theme
template file, you can’t activate it this way.
If you want to call the function in multiple places, you’ll have to call it again and
again.
It can be hard to keep track of all the places you’ve manually called a function.
It’s much better practice to call functions by attaching them to a hook.
4. From the Resource Library of Andolasoft.Inc | Web and Mobile App Development
Company
4
Action and Filter Hooks
By attaching your function to a hook, you run its code whenever that hook is fired. There are
two types of hooks: action hooks and filter hooks.
Action hooks are empty. When WordPress comes to them, it does nothing unless a function
has been hooked to that hook.
Filter hooks contain code that will run unless there is a function hooked to that hook. If
there is a function, it’ll run the code in that function instead. This means you can add default
code to your plugin but override it in another plugin, or you can write a function that
overrides the default code that’s attached to a filter hook in WordPress itself.
Hooks are fired in three ways:
By WordPress itself. The WordPress core code includes hundreds of hooks that fire at
different times. Which one you hook your function to will depend on what your function
does and when you want its code to run. You can find a list of WordPress hooks in the
developer handbook.
By your theme. Many themes include action and filter hooks that you can use to add
extra content in key places in your website’s design. And all themes will include a
wp_head and wp_footer hook. Combine these with conditional tags, and you can run
specific code on certain types of pages in your site.
By your plugin or other plugins. You might add an action hook to your plugin and then
add functions in your include files that attach code to that hook. Or you might write a
filter hook and then have a function that overrides its contents under certain
circumstances. Alternatively, if you’re creating a plugin to complement another plugin,
you can hook your functions to the existing hook in the third-party plugin.
Some of this is more advanced, but with your first plugin, you’ll probably be hooking your
functions to an action or filter hook output by WordPress itself, most likely an action hook.
Classes
Classes are a way of coding more complex features, such as widgets and customizer
elements, that make use of the existing WordPress APIs.
When you write a class in your plugin, you’ll probably be extending an existing class that’s
coded into WordPress. This way, you can make use of the code provided by the class and
tweak it to make it your own.
5. From the Resource Library of Andolasoft.Inc | Web and Mobile App Development
Company
5
An example would be the customizer, where you might write a class including a color picker,
making use of the color picker UI that’s provided in the existing class for the customizer.
Using classes is more advanced than functions, and it’s unlikely you’ll do it in your plugin.
If you do write classes, you’ll still have to use actions or filters to get them to run.
Let’s start with the basics first.
WordPress plugins are stored inside the wp-content/plugins folder which can be accessed
from WordPress root directory.
Creating a simple “Hello World” plugin in WordPress can be done in 3 easy steps:
Creating the plugin’s main folder and the plugin file
Creating plugin headers in the created plugin file (headers: information about the
plugin, version, and the author)
Writing custom functions to display “Hello World” text inside an admin page in
WordPress panel
Prerequisite
Some knowledge in basic installation & setup of WordPress, to develop custom
Plugins is necessary.
Always use the latest WordPress version available.
Coding knowledge for PHP is required.
The Plugin needs to be tested in a clean WordPress setup.
An Editor of your choice might be required.
Steps:
Enable debug mode for bug tracking. You can do so by adding ‘define(‘WP_DEBUG’,
true)’ to the ‘wp-config.php’ file.
Use wp_enqueue_style() and wp_enqueue_script() to add style sheets and scripts to
a Plugin; This prevents scripts from being loaded multiple times.
All the Plugins will be there in the wp-content > plugins folder.
Step 1: Create a New Plugin File
To start creating a new plugin, you will need access to your site’s directory. The easiest way
to do this is by using SFTP, which is a method for viewing and editing your site’s files when
it’s located on an external server.
6. From the Resource Library of Andolasoft.Inc | Web and Mobile App Development
Company
6
Create a folder andola-hello-world inside the plugins folder.
Note: Keep the name unique, so that it doesn’t conflict with other Plugins used in the
website.
The Main Plugin File
The main plugin file is essential. It will always be a PHP file, and it will always contain
commented-out text that tells WordPress about your plugin.
Create a file named andolasoft-hello-world.php where we can write our Plugin functionality
code.
<?php
/**
* Plugin Name: Andola Hello World
* Plugin URI: https://wordpress.org/plugins/
* Author: Andolasoft
* Author URI: https://www.andolasoft.com/
* License: GPLv2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Description: This is the very first plugin I ever created.
* Version: 1.0
* Text Domain: andola-hello-world
*/
You can see that the information provided in the plugin file is used to populate this entry
and provide links.
7. From the Resource Library of Andolasoft.Inc | Web and Mobile App Development
Company
7
Other information about the plugin is contained in the README.txt file, which is used to
populate the plugin’s page in the plugin directory:
This tells WordPress what your plugin does, where to find out more about it, and who
developed it. It also gives information about the version number and the text domain.
WordPress takes this information and uses it to populate the plugins screen in your site.
Here’s how it looks on that screen:
if ( ! defined( 'ABSPATH' ) ) die( 'Error!' );
add_shortcode('hello-world', 'andola_hello_world_function');
function andola_hello_world_function(){
return "Hello World! This is the very first plugin I ever created.";
}
That’s it, your plugin is ready!
Step 2: Activate your new plugin
Login to your WordPress Dashboard, go to ‘Plugins’, your “Hello World” plugin is there. All
you need to do now is activate it.
Step 3: Start using your own plugin
Create a new post and insert short-code ‘[hello_world]’ into it:
8. From the Resource Library of Andolasoft.Inc | Web and Mobile App Development
Company
8
Then this is how it will appear in the front end:
Plugin Best Practices
Before you start coding your plugin, it helps to understand best practices for plugins so your
code can be high quality right from the start.
These include:
Write your code according to WordPress coding standards. If you want to submit your
plugin to the plugin directory, you’ll have to do this.
Use comments throughout your code so other people can work with it—and so you
remember how your code works when you come back to it in the future.
Name your functions, hooks, and classes using prefixes so they are unique to your
plugin. You don’t want to give a function the same name as another function in a
different plugin or in WordPress core.
Organise your folders logically, and keep your code separated so other people can
understand it and so you can add to it over time without it becoming a mess.
You might think that using best practice isn’t necessary because it’s just you working with
the plugin. But your plugin might grow over time, you might let other people use it, or you
might sell it. Or you might come back to it in two years and not be able to remember how
the code is organized!
9. From the Resource Library of Andolasoft.Inc | Web and Mobile App Development
Company
9
FAQs
Here are the answers to some of the most frequently asked questions about WordPress
plugins.
Why can’t I just add the code I need to my theme functions file?
It’s tempting to simply keep on adding code to the functions.php file, and there is some
code that should be there.
But if your code is related to functionality in your site, rather than the design or the output
of content, then you should code it into a plugin. This means that if you switch themes in
the future, you still have that functionality. And you can use the plugin on another site
running a different theme.
I’ve added code to my plugin. Why is nothing happening?
This is probably because you haven’t hooked your code to an action or filter hook. Until you
do that, nothing will happen.
When I edit my plugin and check my site, I get a white screen. Help!
You’ve probably added some code that’s got an error in it somewhere. PHP is an unforgiving
language, and this might be as minor as a semicolon in the wrong place.
Try turning on WP_DEBUG in your wp-config.php file, and you’ll see a message telling you
where the error is. Then you can fix it.
When I activate my plugin, I get an error message telling me too many headers have been
output. What does this mean?
All this normally means is that there are too many empty lines in your plugin file. Go back
and check there are no empty lines at the beginning of the file.
10. From the Resource Library of Andolasoft.Inc | Web and Mobile App Development
Company
10
If that doesn’t fix it, try turning on WP_DEBUG.
Conclusion
Developing a custom plugin is a way to add functionality to a WordPress site that currently
available plugins don’t offer. It can be a simple plugin that implements minor alterations or
a complex one that modifies the entire site.
Are you looking to develop a custom WordPress plugin! Let Discuss