Passo a Passo para criar uma aplicação Móvel HíbridaJuliano Martins
Passo a Passo para criar uma aplicação Móvel Híbrida para IPhone e Android com o framework Ionic (Angular + Cordova) consumindo um WebService do Wordpress para listagem de postagem de um blog.
Introdução a desenvolvimento híbrido para dispositivos móveis (Iphone, android) utilizando Ionic Framework (Angular, Cordova, Bootstrap). Tem exemplos de implementação.
There's always a gap between theoretical knowledge and practice. Particularly, how to start you first web project when you are familiar with HTML, JS, and CSS. This presentation covers such aspects as project functionality, modeling, file organization, building initial layout with HTML, insights of CSS, and jQuery.
Passo a Passo para criar uma aplicação Móvel HíbridaJuliano Martins
Passo a Passo para criar uma aplicação Móvel Híbrida para IPhone e Android com o framework Ionic (Angular + Cordova) consumindo um WebService do Wordpress para listagem de postagem de um blog.
Introdução a desenvolvimento híbrido para dispositivos móveis (Iphone, android) utilizando Ionic Framework (Angular, Cordova, Bootstrap). Tem exemplos de implementação.
There's always a gap between theoretical knowledge and practice. Particularly, how to start you first web project when you are familiar with HTML, JS, and CSS. This presentation covers such aspects as project functionality, modeling, file organization, building initial layout with HTML, insights of CSS, and jQuery.
The important parts of the front end development sphere including CSS3, advanced JavaScript, libraries such as jQuery, RequireJS and Promises. And finally, chrome developer tools for successful debugging and editing.
Reviews the basis of using JavaScript within WordPress. How to load in scripts correctly and move PHP data into JavaScripts for later use. Presented at WordCamp LA 2012
This is Steve Souders's talk at Amazon which I couldn't read in it's original pptx format (http://stevesouders.com/docs/amazon-20091030.pptx) since Keynote sucks at importing. It seems to render well here.
Why and when you need end-to-end tests, a spooky story with a 15 years software beast, and how to develop concise, maintainable functional tests using Groovy, Spock and Geb.
Modern JavaScript, HTML5 and CSS3 techniques and examples. There’s an endless amount of materials available around these topics so naturally this set doesn’t cover everything there is to know. Instead this is more like a summary of good techniques and practices I’ve encountered while doing web software development.
JUG Utrecht 2013 - Have you tried turning it off and on again? Problemen oplo...Peter Martin
Witte schermen, deprecated errors, missing Class errors, kan niet inloggen, kan niet installeren, mijn website is langzaam, mijn website is gehacked...
We hebben allemaal wel eens dergelijke problemen.
Deze presentatie werd op ma 9 december 2013 gegeven bij Joomla User Group Utrecht en leert je:
* identificeren van een probleem
* identificeren van het achterliggende probleem
* het probleem op te lossen
* of hulp te krijgen door de juiste vragen te stellen
En tijdens het probleem oplossen, leer je tevens iets over Joomla's Debug modus, .htaccess, phpMyAdmin, XAMPP, Akeeba Backup, Admin Tools, Google Chrome Inspect Element, FireFox Firebug, diff...
Troubleshooting Joomla! problems - Joomladay Germany 2014Peter Martin
Blank screens, deprecated errors, missing Class errors, can't login, can't install, my website is slow, my website got hacked... We all have run into one or two of those. If not, other people have... If you don't believe me, just visit http://forum.joomla.org/ :-)
On the basis of the 10 most common problems seen in Joomla Forum, Peter will learn you to:
* identify a problem
* identify the real problem behind it
* solve that problem
* or get help quickly by asking the right questions
In the process you might learn something more about Joomla's Debug mode, .htaccess, phpMyAdmin, permissions, XAMPP, Akeeba Backup, Admin Tools, Google Chrome Inspect Element, FireFox Firebug, diff...
The important parts of the front end development sphere including CSS3, advanced JavaScript, libraries such as jQuery, RequireJS and Promises. And finally, chrome developer tools for successful debugging and editing.
Reviews the basis of using JavaScript within WordPress. How to load in scripts correctly and move PHP data into JavaScripts for later use. Presented at WordCamp LA 2012
This is Steve Souders's talk at Amazon which I couldn't read in it's original pptx format (http://stevesouders.com/docs/amazon-20091030.pptx) since Keynote sucks at importing. It seems to render well here.
Why and when you need end-to-end tests, a spooky story with a 15 years software beast, and how to develop concise, maintainable functional tests using Groovy, Spock and Geb.
Modern JavaScript, HTML5 and CSS3 techniques and examples. There’s an endless amount of materials available around these topics so naturally this set doesn’t cover everything there is to know. Instead this is more like a summary of good techniques and practices I’ve encountered while doing web software development.
JUG Utrecht 2013 - Have you tried turning it off and on again? Problemen oplo...Peter Martin
Witte schermen, deprecated errors, missing Class errors, kan niet inloggen, kan niet installeren, mijn website is langzaam, mijn website is gehacked...
We hebben allemaal wel eens dergelijke problemen.
Deze presentatie werd op ma 9 december 2013 gegeven bij Joomla User Group Utrecht en leert je:
* identificeren van een probleem
* identificeren van het achterliggende probleem
* het probleem op te lossen
* of hulp te krijgen door de juiste vragen te stellen
En tijdens het probleem oplossen, leer je tevens iets over Joomla's Debug modus, .htaccess, phpMyAdmin, XAMPP, Akeeba Backup, Admin Tools, Google Chrome Inspect Element, FireFox Firebug, diff...
Troubleshooting Joomla! problems - Joomladay Germany 2014Peter Martin
Blank screens, deprecated errors, missing Class errors, can't login, can't install, my website is slow, my website got hacked... We all have run into one or two of those. If not, other people have... If you don't believe me, just visit http://forum.joomla.org/ :-)
On the basis of the 10 most common problems seen in Joomla Forum, Peter will learn you to:
* identify a problem
* identify the real problem behind it
* solve that problem
* or get help quickly by asking the right questions
In the process you might learn something more about Joomla's Debug mode, .htaccess, phpMyAdmin, permissions, XAMPP, Akeeba Backup, Admin Tools, Google Chrome Inspect Element, FireFox Firebug, diff...
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!
Diagnosing WordPress: What to do when things go wrongWordCamp Sydney
Everyone hates seeing the White Screen of Death, especially if it’s discovered by the client calling to tell you their site is down. Even more frustrating can be intermittent error and/or slow response times, as these can be much harder to diagnose.
Aimed at newer WordPress developers and advanced users, this talk will start with the basic diagnostics tools available and go all the way through to advanced debugging. Attendees should be able to leave this talk with an informed diagnostic approach to errors, rather than just panic.
Presented by Tim Butler @timbutler at WordCamp Sydney 2018
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.
3.1 Identify the uses for and the interfaces (or classes) and methods to achieve the following features:
Servlet context init. Parameters
Servlet context listener
Servlet context attribute listener
Session attribute listeners
3.2 Identify the WebApp deployment descriptor element name that declares the following features:
Servlet context init. Parameters
Servlet context listener
Servlet context attribute listener
Session attribute listeners
How to Build ToDo App with Vue 3 + TypeScriptKaty Slemon
Here’s a comprehensive step-by-step tutorial on how to get started with Vue Typescript. Let’s understand building To-do application combining Vue 3 + Typescript.
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Mind IT Systems
Healthcare providers often struggle with the complexities of chronic conditions and remote patient monitoring, as each patient requires personalized care and ongoing monitoring. Off-the-shelf solutions may not meet these diverse needs, leading to inefficiencies and gaps in care. It’s here, custom healthcare software offers a tailored solution, ensuring improved care and effectiveness.
How Recreation Management Software Can Streamline Your Operations.pptxwottaspaceseo
Recreation management software streamlines operations by automating key tasks such as scheduling, registration, and payment processing, reducing manual workload and errors. It provides centralized management of facilities, classes, and events, ensuring efficient resource allocation and facility usage. The software offers user-friendly online portals for easy access to bookings and program information, enhancing customer experience. Real-time reporting and data analytics deliver insights into attendance and preferences, aiding in strategic decision-making. Additionally, effective communication tools keep participants and staff informed with timely updates. Overall, recreation management software enhances efficiency, improves service delivery, and boosts customer satisfaction.
Developing Distributed High-performance Computing Capabilities of an Open Sci...Globus
COVID-19 had an unprecedented impact on scientific collaboration. The pandemic and its broad response from the scientific community has forged new relationships among public health practitioners, mathematical modelers, and scientific computing specialists, while revealing critical gaps in exploiting advanced computing systems to support urgent decision making. Informed by our team’s work in applying high-performance computing in support of public health decision makers during the COVID-19 pandemic, we present how Globus technologies are enabling the development of an open science platform for robust epidemic analysis, with the goal of collaborative, secure, distributed, on-demand, and fast time-to-solution analyses to support public health.
Into the Box Keynote Day 2: Unveiling amazing updates and announcements for modern CFML developers! Get ready for exciting releases and updates on Ortus tools and products. Stay tuned for cutting-edge innovations designed to boost your productivity.
Cyaniclab : Software Development Agency Portfolio.pdfCyanic lab
CyanicLab, an offshore custom software development company based in Sweden,India, Finland, is your go-to partner for startup development and innovative web design solutions. Our expert team specializes in crafting cutting-edge software tailored to meet the unique needs of startups and established enterprises alike. From conceptualization to execution, we offer comprehensive services including web and mobile app development, UI/UX design, and ongoing software maintenance. Ready to elevate your business? Contact CyanicLab today and let us propel your vision to success with our top-notch IT solutions.
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Anthony Dahanne
Les Buildpacks existent depuis plus de 10 ans ! D’abord, ils étaient utilisés pour détecter et construire une application avant de la déployer sur certains PaaS. Ensuite, nous avons pu créer des images Docker (OCI) avec leur dernière génération, les Cloud Native Buildpacks (CNCF en incubation). Sont-ils une bonne alternative au Dockerfile ? Que sont les buildpacks Paketo ? Quelles communautés les soutiennent et comment ?
Venez le découvrir lors de cette session ignite
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfJay Das
With the advent of artificial intelligence or AI tools, project management processes are undergoing a transformative shift. By using tools like ChatGPT, and Bard organizations can empower their leaders and managers to plan, execute, and monitor projects more effectively.
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar
The European Union Agency for Law Enforcement Cooperation (Europol) has suffered an alleged data breach after a notorious threat actor claimed to have exfiltrated data from its systems. Infamous data leaker IntelBroker posted on the even more infamous BreachForums hacking forum, saying that Europol suffered a data breach this month.
The alleged breach affected Europol agencies CCSE, EC3, Europol Platform for Experts, Law Enforcement Forum, and SIRIUS. Infiltration of these entities can disrupt ongoing investigations and compromise sensitive intelligence shared among international law enforcement agencies.
However, this is neither the first nor the last activity of IntekBroker. We have compiled for you what happened in the last few days. To track such hacker activities on dark web sources like hacker forums, private Telegram channels, and other hidden platforms where cyber threats often originate, you can check SOCRadar’s Dark Web News.
Stay Informed on Threat Actors’ Activity on the Dark Web with SOCRadar!
Software Engineering, Software Consulting, Tech Lead.
Spring Boot, Spring Cloud, Spring Core, Spring JDBC, Spring Security,
Spring Transaction, Spring MVC,
Log4j, REST/SOAP WEB-SERVICES.
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTier1 app
Even though at surface level ‘java.lang.OutOfMemoryError’ appears as one single error; underlyingly there are 9 types of OutOfMemoryError. Each type of OutOfMemoryError has different causes, diagnosis approaches and solutions. This session equips you with the knowledge, tools, and techniques needed to troubleshoot and conquer OutOfMemoryError in all its forms, ensuring smoother, more efficient Java applications.
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisGlobus
JASMIN is the UK’s high-performance data analysis platform for environmental science, operated by STFC on behalf of the UK Natural Environment Research Council (NERC). In addition to its role in hosting the CEDA Archive (NERC’s long-term repository for climate, atmospheric science & Earth observation data in the UK), JASMIN provides a collaborative platform to a community of around 2,000 scientists in the UK and beyond, providing nearly 400 environmental science projects with working space, compute resources and tools to facilitate their work. High-performance data transfer into and out of JASMIN has always been a key feature, with many scientists bringing model outputs from supercomputers elsewhere in the UK, to analyse against observational or other model data in the CEDA Archive. A growing number of JASMIN users are now realising the benefits of using the Globus service to provide reliable and efficient data movement and other tasks in this and other contexts. Further use cases involve long-distance (intercontinental) transfers to and from JASMIN, and collecting results from a mobile atmospheric radar system, pushing data to JASMIN via a lightweight Globus deployment. We provide details of how Globus fits into our current infrastructure, our experience of the recent migration to GCSv5.4, and of our interest in developing use of the wider ecosystem of Globus services for the benefit of our user community.
Check out the webinar slides to learn more about how XfilesPro transforms Salesforce document management by leveraging its world-class applications. For more details, please connect with sales@xfilespro.com
If you want to watch the on-demand webinar, please click here: https://www.xfilespro.com/webinars/salesforce-document-management-2-0-smarter-faster-better/
We describe the deployment and use of Globus Compute for remote computation. This content is aimed at researchers who wish to compute on remote resources using a unified programming interface, as well as system administrators who will deploy and operate Globus Compute services on their research computing infrastructure.
In software engineering, the right architecture is essential for robust, scalable platforms. Wix has undergone a pivotal shift from event sourcing to a CRUD-based model for its microservices. This talk will chart the course of this pivotal journey.
Event sourcing, which records state changes as immutable events, provided robust auditing and "time travel" debugging for Wix Stores' microservices. Despite its benefits, the complexity it introduced in state management slowed development. Wix responded by adopting a simpler, unified CRUD model. This talk will explore the challenges of event sourcing and the advantages of Wix's new "CRUD on steroids" approach, which streamlines API integration and domain event management while preserving data integrity and system resilience.
Participants will gain valuable insights into Wix's strategies for ensuring atomicity in database updates and event production, as well as caching, materialization, and performance optimization techniques within a distributed system.
Join us to discover how Wix has mastered the art of balancing simplicity and extensibility, and learn how the re-adoption of the modest CRUD has turbocharged their development velocity, resilience, and scalability in a high-growth environment.
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Globus
The U.S. Geological Survey (USGS) has made substantial investments in meeting evolving scientific, technical, and policy driven demands on storing, managing, and delivering data. As these demands continue to grow in complexity and scale, the USGS must continue to explore innovative solutions to improve its management, curation, sharing, delivering, and preservation approaches for large-scale research data. Supporting these needs, the USGS has partnered with the University of Chicago-Globus to research and develop advanced repository components and workflows leveraging its current investment in Globus. The primary outcome of this partnership includes the development of a prototype enterprise repository, driven by USGS Data Release requirements, through exploration and implementation of the entire suite of the Globus platform offerings, including Globus Flow, Globus Auth, Globus Transfer, and Globus Search. This presentation will provide insights into this research partnership, introduce the unique requirements and challenges being addressed and provide relevant project progress.
top nidhi software solution freedownloadvrstrong314
This presentation emphasizes the importance of data security and legal compliance for Nidhi companies in India. It highlights how online Nidhi software solutions, like Vector Nidhi Software, offer advanced features tailored to these needs. Key aspects include encryption, access controls, and audit trails to ensure data security. The software complies with regulatory guidelines from the MCA and RBI and adheres to Nidhi Rules, 2014. With customizable, user-friendly interfaces and real-time features, these Nidhi software solutions enhance efficiency, support growth, and provide exceptional member services. The presentation concludes with contact information for further inquiries.
A Comprehensive Look at Generative AI in Retail App Testing.pdfkalichargn70th171
Traditional software testing methods are being challenged in retail, where customer expectations and technological advancements continually shape the landscape. Enter generative AI—a transformative subset of artificial intelligence technologies poised to revolutionize software testing.
2. Learning to investigate and fix issues
Every time a change is made to a website there is a risk that something will
break.
I will help you learn how to investigate the problem and fix it.
This will be quicker than posting to a Facebook group or other forum, and it will
help you understand WordPress and your site better.
2
3. WordPress components
WordPress uses PHP and MySQL to deliver HTML, CSS and Javascript to the
browser.
You use different tools to debug the back end (PHP and MySQL) and front end.
3
6. What changed?
If it was working, you changed something and now it's broken then the problem
is likely in the changed code but...
Often we change a lot of things or the error appears in something that didn't
change.
6
7. Source control for incremental development
Using source control like Git, Subversion etc can help with debugging.
If you commit your changes regularly you can review the changes in the edited
files to help narrow down the source of an error.
Maybe do a commit after you test a change.
This applies to CSS files too - a small syntax error can dramatically change how
a site looks.
7
8. Frontend issues
The backend is a bit of a black box where the request for a page goes in and
HTML, CSS and Javascript come out.
Let's look at the frontend first as it's often easier to work with.
While browsers are very tolerant of bad HTML markup use a validator to find
issues here and fix them where possible.
https://validator.w3.org/ and https://jigsaw.w3.org/css-validator/
8
9. Debugging CSS
Browsers now include built-in tools to view information about the current web
page.
For example, you can see all the images, CSS, and Javascript files downloaded
to make up the page. You can see if any failed to download or if Javascript
code has caused any errors.
For frontend debugging, you can see the CSS that is applied to each page
element and temporarily change styles and see the result.
9
12. Debugging CSS - other tools
The browsers have additional features to help, for example,
● If you edit some CSS then Firefox will show you the changed
styles so you know which ones to copy back to your
stylesheet to paste into a text editor.
● Chrome allows you copy the styles of an element.
● Both will list all the files downloaded and how long each
took. You can even throttle the download to mimic a slow
network.
12
14. Tools to find the error
While viewing your site you will see that there is an error but not what file or line
is causing it. Let's get some tools in to help us.
In simpler applications, like a command line program, we could add 'echo' or
'print' or similar calls but WordPress is quite large and you need to narrow
things down first. Furthermore, you should never edit WordPress core code.
Even before using Xdebug and an IDE it is useful to narrow down where to look.
14
15. Debug Mode with WP_DEBUG
wp-config-sample.php has the following line:
define( 'WP_DEBUG', false );
A comment above that line says:
It is strongly recommended that plugin and theme
developers use WP_DEBUG in their development environments.
15
16. Debug Mode with WP_DEBUG
if ($_SERVER['REMOTE_ADDR'] == '12.34.56.78') {
define('WP_DEBUG', true);
// errors written to /wp-content/debug.log
define('WP_DEBUG_LOG', true); // Or set a filename.
define('WP_DEBUG_DISPLAY', false); // Errors to file.
@ini_set('display_errors', 0);
} else {
define('WP_DEBUG', false);
}
Here I have conditionally enabled debug mode for the specified IP address.
This limits error messages to those generated by my site visits.
16
17. Install and activate Query Monitor plugin
From the website:
It enables you to debug database queries, PHP errors, hooks and actions, block
editor blocks, enqueued scripts and stylesheets, rewrite rules, HTTP API calls,
and much more.
https://wordpress.org/plugins/query-monitor/
17
18. Reload the problem page
Now, with debug mode enabled and Query Monitor activated, reload the page
with the error.
This will write the error message to the wp-content/debug.log file and Query
Monitor will provide more information.
18
19. Read (and decipher) the error message
The error message will list the file and line number where the error occurred but
that doesn't always tell you where the problem is!
19
20. Sample error messages - major error
This is a serious error and cannot be ignored.
The site admin will also get an email. This is a new feature introduced in
WordPress 5.2 in May 2019. It's much better than a 500 error page (a White
Screen of Death - WSOD)!
20
21. Sample error messages - major error
PHP Parse error: syntax error, unexpected '$screen_id'
(T_VARIABLE) in /wp-content/plugins/wr.php on line 15
Here's lines 12 - 16 from wr.php:
12 add_action( 'admin_head', 'require_weight_field' );
13 function require_weight_field() {
14 $screen = get_current_screen()
15 $screen_id = $screen ? $screen->id : '';
16 if ( $screen_id == 'product' ) {
21
22. Sample PHP Notice message
Query Monitor didn't run because the previous error was occurred before
WordPress could fully run.
When it does run, the Query Monitor admin bar item will change colour - brown
for notices and red for errors.
22
24. More information from Query Monitor
In wp-content/debug.log:
PHP Notice: Undefined variable: screenid in
/wp-content/plugins/wr.php on line 16
PHP Notice: Undefined variable: variable_never_used_before in
/wp-content/plugins/wr.php on line 17
24
25. Fix this problem
Here's the code from that file:
14 $screen = get_current_screen();
15 $screen_id = $screen ? $screen->id : '';
16 $new_variable = $screenid;
17 $another_var = $variable_never_used_before;
On line 16 it is a typo $screenid should be $screen_id.
On line 17 it's a variable that was not set.
Notice that the message (undefined variable) is the same for both
situations. You might see this if accessing a global variable without using 'global
$variable' first.
25
26. A less serious error (QM didn't run)
PHP Fatal error: Uncaught Error: Call to a member
function get_image_id() on null in
/plugins/wcd-product-image-url.php:13
Here's lines 12 - 14 from the file:
12 global $product;
13 $post_thumbnail_id = $product->get_image_id();
14 $image_info = wp_get_attachment_image_src(
$post_thumbnail_id, 'full' );
26
27. Running in the right place
The function get_image_id() function is valid but the variable is null.
The problem is that the code is being run in the wrong place or without
appropriate checks.
The solution could be to call is_null($product) or is_product() first or
ensure that the function is only called on a page where product objects are
used.
27
28. error_log() and var_export()
Sometimes the code looks right but is not working correctly.
error_log() and var_export() are very helpful here.
error_log('This text will be in /wp-content/debug.log.');
To see readable versions of complex variables or objects use:
error_log('Variable: ' . var_export( $variable, true ));
28
32. Theme template files
If you are adding a template file to a theme you will need to know the Template
Hierarchy. Or cheat by getting the info from Query Monitor.
WordPress will look for different theme files depending on what is requested - a
page, post, archive etc. The Template Hierarchy codex page lists the files that it
will look for and their order.
Query Monitor will just tell you
32
33. Theme template files - what should I call it?
In the Query Monitor menu you
will see a 'Template' item.
Click it.
33
34. Theme template files - what should I call it?
Here I am viewing a page. I selected a Page Template when editing it.
The theme is a child theme and that's where the Page Template file is.
Page ID is 19 and slug is 'file-upload'.
34
35. Beyond runtime PHP errors
When the PHP engine reports the error (or warning or notice) it can generally be
fixed without the need for a debugger. What do we do when the issue is related
to the algorithm or program logic? Or in a section of code that does not have
any do_action() or apply_filters() calls?
We need a source code debugger - Xdebug and a debugging environment.
35
36. Xdebug & an IDE
Using error_log() and var_export() can only show the data at that point
in time.
Xdebug is a bridge between your site and your IDE (e.g. Microsoft Visual Studio
Code or PhpStorm or even Notepad++).
Combined with an IDE you will be able to watch variables as you step through
each line of code. You may also be able to change values.
36
39. Sometimes you need help...
If you are still stuck after trying each of the debugging methods it's time to ask
for help.
A fresh set of eyes can be very helpful.
Now you have to ask the right question and provide enough information...
39
40. How to ask for help
When you post on Facebook or StackExchange or a forum you will need to:
● demonstrate that you have tried to solve the problem (list the things you've
tried)
● link to the code involved
● clearly state what you are trying to achieve
● include a complete description of your setup (e.g. theme, plugins).
Sometimes writing this out will inspire you!
40