This document provides an overview of using Perl web frameworks Catalyst and Mojolicious. It discusses MVC architecture and components like routers, controllers, models, and views. It also covers installing frameworks via CPAN, creating Catalyst applications, adding controllers, views using Template Toolkit, and models using DBIC. Authentication and authorization plugins for Catalyst are also mentioned.
This document provides an overview of using Perl web frameworks Catalyst and Mojolicious. It discusses MVC architecture and components like routers, controllers, models, and views. It also covers installing frameworks via CPAN, creating Catalyst applications, adding controllers, views using Template Toolkit, and models using DBIC. Authentication and authorization plugins for Catalyst are also mentioned.
Anatoly Sharifulin presents on developing apps using Perl. He discusses creating an app called DLTTR that allows users to delete tweets in bulk using asynchronous queues and APIs. The app was built with Mojolicious, uses a server API, and stores data in MySQL. It has been successful with over 1 million tweets deleted and thousands of users. The talk highlights how Perl helped enable the creation of this cross-platform app that deletes tweets quickly and appropriately.
The document discusses telemedicine and its potential benefits. It defines telemedicine as the use of telecommunications and information technologies to provide clinical healthcare at a distance. The Prime Minister of India's vision is highlighted for making medical specialists and teachers available through broadband to remote areas. Potential services of telemedicine include primary care, specialist referrals, remote patient monitoring, consumer health information, chronic disease management, and medical education. Benefits include improved access to care, cost efficiencies, quality of care, and meeting patient demand. Various delivery mechanisms and technologies are described. Legal and ethical issues are also discussed.
Inside Bokete: Web Application with Mojolicious and othersYusuke Wada
油
Yusuke Wada introduced his work developing the Bokete website. Bokete is a Japanese entertainment website similar to 9gag that allows users to post and view "boke" which are photos with short texts. It has a website, mobile apps, and receives 300 million page views per month. Wada developed the backend system for Bokete using Perl and Mojolicious along with several other CPAN modules, particularly some written by Japanese authors. He discussed the system architecture and modules used to build Bokete.
This document discusses using WebRTC in Perl to enable real-time communication between browsers. It explains that WebRTC allows peer-to-peer connections without plugins by using signaling to exchange endpoint details and ICE servers. It then provides over 350 lines of Perl code to demonstrate setting up a WebRTC connection between an "offerer" and "answerer" browser to allow sending messages over a data channel. The code connects the browsers as peers, exchanges session descriptions and ICE candidates, creates audio/video constraints, and includes a chat interface to test the connection.
Mojo started as an alternative to the aging LWP library for HTTP requests in Perl. It was created by Sebastian Riedel to have a more modern, asynchronous API. Mojo provides an easy to use and full-featured HTTP client and server with support for features like websockets, parallel requests, and more. The library uses a test-driven development approach and strives to have a pragmatic design with reusable components.
Este documento proporciona una introducci坦n a las expresiones regulares en Perl. Explica qu辿 son las expresiones regulares y c坦mo se pueden usar para buscar patrones de texto, reemplazar subcadenas y modificar cadenas. Tambi辿n describe varios elementos clave de las expresiones regulares como cuantificadores, anclajes, metacar叩cteres y clases de caracteres, ilustrando sus usos con ejemplos.
1) The document discusses the opportunity for technology to improve organizational efficiency and transition economies into a "smart and clean world."
2) It argues that aggregate efficiency has stalled at around 22% for 30 years due to limitations of the Second Industrial Revolution, but that digitizing transport, energy, and communication through technologies like blockchain can help manage resources and increase efficiency.
3) Technologies like precision agriculture, cloud computing, robotics, and autonomous vehicles may allow for "dematerialization" and do more with fewer physical resources through effects like reduced waste and need for transportation/logistics infrastructure.
'The best practices' by KONSTANTIN KULAKSYZ at OdessaJS'2020OdessaJS Conf
油
How to develop web applications using Vue.js and implement best practices from the first day of development. Consider practical recommendations for using Vue.js, based on personal experience, thoughtful reading of documentation and analysis of best practices suggested by other developers. During the talk, you will learn what you can implement today in your development practice to make your web applications on Vue.js more productive and the development process more efficient.
18. use Mojolicious::Lite;
get '/' => 'about/what' ;
get '/who' => 'about/who' ;
get '/what' => 'about/what' ;
get '/where' => 'about/where';
get '/code' => 'about/code' ;
app->log->level('error');
app->start;
56. package App;
use Mojo::Base 'Mojolicious';
has conf => sub { do 'conf/app.conf' };
has db => sub { use Util; Util->db(
do 'conf/mysql.conf'
) };
sub startup { ... }
57. use DBI 1.58; use DBD::mysql 4.004; use DBI::Util;
return DBI->connect(DBI::Util::_parse_cfg(
$conf,
{
RootClass => 'DBI::Util',
mysql_enable_utf8 => 1,
mysql_auto_reconnect => 1,
}
));
77. package App::Index;
use Mojo::Base 'Mojolicious::Controller';
use common::sense;
use App::News;
use App::Book;
use App::Audio;
has news => sub { App::News->new(%{ +shift }) };
has book => sub { App::Book->new(%{ +shift }) };
has audio => sub { App::Audio->new(%{ +shift }) };
78. package App::Index;
use Mojo::Base 'Mojolicious::Controller';
use common::sense;
use App::News;
use App::Book;
use App::Audio;
__PACKAGE__->attr(news => sub { App::News->new
(%{ +shift }) });
__PACKAGE__->attr(book => sub { App::Book->new
(%{ +shift }) });
__PACKAGE__->attr(audio => sub { App::Audio->new
(%{ +shift }) };