This document provides an introduction to setting up and testing Rails 3 engines. It discusses how engines were revamped in Rails 3 based on influences from Merb, and explains that engines inherit from Railties. It also demonstrates how to configure an engine's paths, bundle an engine as a gem, and share assets between an engine and host application. Finally, it summarizes best practices for testing engines and provides contact information for discussions on engines.
A brief introduction to Rails Eingines. The joy and shortcomings of building modular web apps the Rails way. Originally presented at the 22nd Athens Ruby Meetup.
A brief introduction to Rails Eingines. The joy and shortcomings of building modular web apps the Rails way. Originally presented at the 22nd Athens Ruby Meetup.
This talk covers a successful utilization of Rails Engines to share features that cut across the layers of MVC in different Rails 3 projects. Rails Engines thus provide the best of both worlds: improved productivity by reusing MVC code (including assets like Javascript, CSS, and Images) and better flexibility by allowing different applications to customize behavior as needed without reliance on application-dependent conditionals. Rails Engine patterns will be provided to guide developers on how to leverage Rails Engines' reusability and flexibility without sacrificing maintainability.
Creating your own framework on top of Symfony2 ComponentsDeepak Chandani
Symfony is a set of reusable standalone PHP components that can be used to solve many web dev problems. We will pick some of the important components (bricks) & will create our own framework on top of those bricks.
Web service with Laravel:
Laravel Philosophy
Requirement
Installation
Basic Routing
Requests & Input
Request Lifecycle
Controller
Controller Filters
RESTful Controllers
Database Model using Eloquent ORM
Creating A Migration
Code Example
The session was about how to create the Restful Web Services with Laravel, a PHP framework with the minimal code. Topics discussed are:
-Laravel Philosophy
-Requirement
-Installation
-Basic Routing
-Requests & Input
-Request Lifecycle
-Creating A Migration
-Controller
-Controller Filters
-RESTful Controllers
-Database
-Eloquent ORM
Custom URL Re-Writing/Routing using Attribute Routes in MVC 4 Web APIsAkhil Mittal
We have already learnt a lot on WebAPI. I have already explained how to create WebAPI, connect it with database using Entity Framework, resolving dependencies using Unity Container as well as using MEF. In all our sample applications we were using default route that MVC provides us for CRUD operations. In this article I’ll explain how to write your own custom routes using Attribute Routing. We’ll deal with Action level routing as well as Controller level routing. I’ll explain this in detail with the help of a sample application. My new readers can use any Web API sample they have, else you can also use the sample applications we developed in my previous articles.
Recently I have been porting an app into Rails 3 and probably you have
also been poking this new Rails 3 with ruby 1.9.2.
Therefore I would like to discuss a bit more about Rails 3 itself.
Particularly, things under railties lib directory covering classes
such as Railtie, Engine, Application and will go through
initialization with initializers.
Along the way I'll show some examples how you can use this knowledge
in your own gem or plugin.
Nothing too fancy but should be useful for developing your next Rails
This talk covers a successful utilization of Rails Engines to share features that cut across the layers of MVC in different Rails 3 projects. Rails Engines thus provide the best of both worlds: improved productivity by reusing MVC code (including assets like Javascript, CSS, and Images) and better flexibility by allowing different applications to customize behavior as needed without reliance on application-dependent conditionals. Rails Engine patterns will be provided to guide developers on how to leverage Rails Engines' reusability and flexibility without sacrificing maintainability.
Creating your own framework on top of Symfony2 ComponentsDeepak Chandani
Symfony is a set of reusable standalone PHP components that can be used to solve many web dev problems. We will pick some of the important components (bricks) & will create our own framework on top of those bricks.
Web service with Laravel:
Laravel Philosophy
Requirement
Installation
Basic Routing
Requests & Input
Request Lifecycle
Controller
Controller Filters
RESTful Controllers
Database Model using Eloquent ORM
Creating A Migration
Code Example
The session was about how to create the Restful Web Services with Laravel, a PHP framework with the minimal code. Topics discussed are:
-Laravel Philosophy
-Requirement
-Installation
-Basic Routing
-Requests & Input
-Request Lifecycle
-Creating A Migration
-Controller
-Controller Filters
-RESTful Controllers
-Database
-Eloquent ORM
Custom URL Re-Writing/Routing using Attribute Routes in MVC 4 Web APIsAkhil Mittal
We have already learnt a lot on WebAPI. I have already explained how to create WebAPI, connect it with database using Entity Framework, resolving dependencies using Unity Container as well as using MEF. In all our sample applications we were using default route that MVC provides us for CRUD operations. In this article I’ll explain how to write your own custom routes using Attribute Routing. We’ll deal with Action level routing as well as Controller level routing. I’ll explain this in detail with the help of a sample application. My new readers can use any Web API sample they have, else you can also use the sample applications we developed in my previous articles.
Recently I have been porting an app into Rails 3 and probably you have
also been poking this new Rails 3 with ruby 1.9.2.
Therefore I would like to discuss a bit more about Rails 3 itself.
Particularly, things under railties lib directory covering classes
such as Railtie, Engine, Application and will go through
initialization with initializers.
Along the way I'll show some examples how you can use this knowledge
in your own gem or plugin.
Nothing too fancy but should be useful for developing your next Rails
Ruby on Rails com certeza é a estrela que elevou Ruby ao patamar de linguagem praticamente obrigatória a todo programador moderno. Porém muitos esquecem que Rails não é a única forma de desenvolver aplicações Web e muitas vezes nem é a melhor opção. O Ecossistema Ruby evolui a passos largos, todos os novos frameworks Web em Ruby adotaram o padrão Rack, que facilita a interoperabilidade entre frameworks Ruby. Além disso muitos estão olhando para o mundo da alta concorrência com novas tecnologias como Node.JS, mas o mundo Ruby tem opções robustas e testadas em produção como EventMachine. Enfim, vamos tentar aumentar o leque de soluções web com Ruby, além do Rails, traçando um paralelo com a plataforma .NET.
An introduction to Rack and Action Dispatcher in Rails. It tracks all the way from a request to a call of an action controller, passing by middleware stack and much more.
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
UiPath New York Community Day in-person eventDianaGray10
UiPath Community Day is a unique gathering designed to foster collaboration, learning, and networking with automation enthusiasts. Whether you're an automation developer, business analyst, IT professional, solution architect, CoE lead, practitioner or a student/educator excited about the prospects of artificial intelligence and automation technologies in the United States, then the UiPath Community Day is definitely the place you want to be.
Join UiPath leaders, experts from the industry, and the amazing community members and let's connect over expert sessions, demos and use cases around AI in automation as we highlight our technology with a special speaker on Document Understanding.
📌Agenda
3:00 PM Registrations
3:30 PM Welcome note and Introductions | Corina Gheonea (Senior Director of Global UiPath Community)
4:00 PM Introduction to Document Understanding
How to build and deploy Document Understanding process
Where would Document Understanding be used.
Demo
Q&A
4:45 PM Customer/Partner showcase
Accelirate
Intro to Accelirate and history with UiPath
Why are we excited about the new AI features of UiPath?
Customer highlight
a. Document Understanding – BJs Case Study
b. Document Understanding + generative AI
5.30 PM Networking
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/
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.
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
The infamous Mallox is the digital Robin Hoods of our time, except they steal from everyone and give to themselves. Since mid-2021, they've been playing hide and seek with unsecured Microsoft SQL servers, encrypting data, and then graciously offering to give it back for a modest Bitcoin donation.
Mallox decided to go shopping for new malware toys, adding the Remcos RAT, BatCloak, and a sprinkle of Metasploit to their collection. They're now playing a game of "Catch me if you can" with antivirus software, using their FUD obfuscator packers to turn their ransomware into the digital equivalent of a ninja.
-------
This document provides a analysis of the Target Company ransomware group, also known as Smallpox, which has been rapidly evolving since its first identification in June 2021.
The analysis delves into various aspects of the group's operations, including its distinctive practice of appending targeted organizations' names to encrypted files, the evolution of its encryption algorithms, and its tactics for establishing persistence and evading defenses.
The insights gained from this analysis are crucial for informing defense strategies and enhancing preparedness against such evolving cyber threats.
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.
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlPeter Udo Diehl
I'm excited to share my latest predictions on how AI, robotics, and other technological advancements will reshape industries in the coming years. The slides explore the exponential growth of computational power, the future of AI and robotics, and their profound impact on various sectors.
Why this matters:
The success of new products and investments hinges on precise timing and foresight into emerging categories. This deck equips founders, VCs, and industry leaders with insights to align future products with upcoming tech developments. These insights enhance the ability to forecast industry trends, improve market timing, and predict competitor actions.
Highlights:
▪ Exponential Growth in Compute: How $1000 will soon buy the computational power of a human brain
▪ Scaling of AI Models: The journey towards beyond human-scale models and intelligent edge computing
▪ Transformative Technologies: From advanced robotics and brain interfaces to automated healthcare and beyond
▪ Future of Work: How automation will redefine jobs and economic structures by 2040
With so many predictions presented here, some will inevitably be wrong or mistimed, especially with potential external disruptions. For instance, a conflict in Taiwan could severely impact global semiconductor production, affecting compute costs and related advancements. Nonetheless, these slides are intended to guide intuition on future technological trends.
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/
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
How to set up and test a Rails 3 Engine
1. HOW TO SETUP AND
TEST RAILS 3 ENGINES.
Nicholas Faiz,
Tree Falling In The Woods, Pty Ltd.
2. INTRO
A quick introduction to Engines in Rails 3, including
a demo of how to set one up and test it.
Background: I've been working on a Rails 3 engine
project since February or so. It might help if I share
what I've encountered so far.
Rails 3 Engines are new. Rails 3 RC 2 only released a
few days ago.
3. INTRO 2
Finding information on how to set up an Engine in
Rails 3 has been difficult. Useful blogs: http://
www.themodestrubyist.com - by Jordan West. 4 posts
about engines.
Cesario: http://www.dev-fr.com/archives/
2010/04/07/rails-3-railties-and-engines/
4. STORY OF ENGINES SO
FAR
Engines before Rails 2.3
Engines Incorporated 2.3
Engines revamped in Rails 3
5. STORY OF ENGINES ... 2
How were they revamped in Rails 3? Merb influence
of decoupling.
2009 Merb merged with Rails. Merb influence r.e.
decoupled dependencies! e.g. Should be able to use
whichever ORM in your MVC.
In Rails 3 engines revamped, now inherit from
Rails::Railtie (See the Merb influence)
6. WHAT ARE RAILTIES?
Railties are a central concept to Rails 3. They
decouple components from each other.
See http://railsapi.com/doc/rails-v3.0.0.beta.3/
classes/Rails/Railtie.html
All major aspects of the Rails Framework are now
assembled into a larger system via a collection of
Railties.
7. WHAT ARE RAILTIES? 2
ActionController::Railtie < Rails::Railtie,
ActionView::Railtie < Rails::Railtie, etc.
Railties carry initializers, letting you configure how a
Rails application is bootstrapped.’
initializer "configure something" {|app|
config.something()}
8. WHAT ARE ENGINES?
Rails 3: Engines *are* Railties, well, subclasses of
them.
Rails::Engine < Rails::Railties
In fact, every Rails application *is* an engine, well, a
subclass ...
Rails::Application < Rails::Engine
9. WHAT ARE ENGINES?
Only touching upon functionality in this
presentation.
Hosting applications can use them, or override them
if they want to change things.
Most known Rails 3 engine at the moment - Devise:
http://github.com/plataformatec/devise
10. CONFIGURE, BUNDLE,
TEST
Engines are a bit more than just a Rails application,
though. More to it than the API. You have to know
how to configure, bundle, and test it.
You bundle a Rails engine, in its own gem, to reuse
within another Rails application.
First understand how an engine is accessed and used
by a Rails application.
Standard Rails app. paths available in the engine ...
12. ENGINES INSIDE THE
HOST APP.
All of this information is addressable via the Rails
object.
ruby-1.8.7-p299 > Rails.application.railties.engines
Holds an array of engine objects.
13. PATHS IN RAILS
ENGINES
rails console
ruby-1.8.7-p299 > e = Rails.application.railties.engines.last
ruby-1.8.7-p299 > e.config.paths.app
a => #<Rails::Paths::Path:0x103bf7058 @eager_load=true, @root=#<Rails::Paths::Root:
0x103c02958 @all_paths=[#<Rails::Paths::Path:0x103bf7058 ...>, …, @paths=["app"]>
ruby-1.8.7-p299 > e.class.name
=> "InklingContent::Engine" #helps to give your Railtie an informative namespace
14. FINDING AN ENGINE
BLUEPRINT
I began working on my own engines and made
headway in some areas but not others.
I decided that I wanted a simple blueprint of how an
engine should look.
Because engines are new, there aren't established
practices for setting them up and testing them. I've
come up with my own, which seem like common
sense, but took some thought.
15. TOMMY THE RAILS 3
ENGINE!
So I created Tommy, a
simple application with
a picture of Tommy the
Tank engine repeating a
message held in sqlite.
16. HOW IS SOMETHING SO
SIMPLE HELPFUL?
Demonstrates some basic concepts. Some projects
would actually copy their static files - javascripts,
partials, etc. - *over* the hosting application. (e.g.
BrowserCMS), in the Rails 2.x days.
I needed to prove how sharing assets was done
without this intrusion in Rails 3.
17. IN DEMO LOOK FOR ...
The Railties file (the engine).
Generators for migrations.
How to share static assets (like images, stylesheets,
javascript files, etc.), from the engine into the host
engine.
How to share rake tasks.
How to configure rspec and cucumber in an engine.
19. SUMMATION
An engine can't be used without a functioning Rails
app.. I find it easiest to nest a Rails app beneath the
top directory.
Tests for the engine can be created at the top level
directory of the engine, but symlinked into the test
app..
20. SUMMATION 2
Rails 3 engines are new. I haven’t heard many stories,
yet, about how they perform in production settings.
21. CONTACT ME TO
DISCUSS ENGINES
I’m basing a lot of work in 2010/2011 on the Engine
structure. I’m happy to discuss them:
biv/brain_in_vat on #roro freenode
http://twitter.com/nicholasf