SlideShare a Scribd company logo
Yii Framework - Best for Developing Web 2.0 Applications
Yii framework is one of the latest and most highly regarded PHP frameworks available in the market today. The
Model, View, Controller architecture in some detail, from a Yii perspective.

In the default rules, the admin user can perform certain actions, where “admin” is the actual name of the user that
is logged in, and comes from protected/components/User Identity. php. The default Yii framework allows for
two users, with names of demo and admin, but you’d likely have a more elaborate system in place. If you know
only a limited number of users will be admins, you could hard code their user names into the rules:

    •   Extract the Yii User Management Module under the modules/ directory of your new Web
        Application. Replace the _0.4 with the latest Version available.

    •   Add the Module to your Application Configuration

    •   The Yii User Management Module needs a Database Connection to work. You now have to setup your
        SQlite or MySQL Database and insert the connection URI in your Application configuration, like this:

    •   To let your Web Application use the Authentification Methods of the User Management Module, we
        need to overwrite the default Authentification Method in the Application Configuration:

    •   The difference of 'User' and 'user' here. 'User' represents our ActiveRecord-Model while 'user' represents
        the user configuration.

    •   Run the User Management Installer in your Web-Browser:

    •   Now the Installer of the User Management Module should appear. To the right you can set up alternating
        Table Names used by the Module.

    •   Click on "Administrate your Users (use admin/admin)". Now you are taken to the default Front-End
        Login-Screen of the User Management Module. Log in with the Username admin and Password admin.

    •   Click on the 'update Icon' (the pencil) of your administrator User. Change the Password to something
        more safe than 'admin'. Click Save.

    •   Remove the 'debug': true' line from your Application Configuration so your new data doesn't get
        overwritten accidentally by the installation process.

    •   Role Management:: You can add up new roles in the Role Manager. To check for access to this roles,
        you can use this code Snippet everywhere in your Yii Application. Most likely it will be used in the ACL
        Filter of your Controllers:

For More Information About YII Framework:
http://www.hiddenbrains.com/yii-development-india.html

More Related Content

Viewers also liked

Yii php framework
Yii php frameworkYii php framework
Yii php framework
KeaNy Chu
 
UML - Casos de Uso
UML - Casos de UsoUML - Casos de Uso
UML - Casos de Uso
Daniela Carvalho
 
Yii2 guide
Yii2 guideYii2 guide
Yii2 guide
Steve Gaita
 
Yii framework
Yii frameworkYii framework
Yii framework
Pratik Gondaliya
 
A site in 15 minutes with yii
A site in 15 minutes with yiiA site in 15 minutes with yii
A site in 15 minutes with yii
Andy Kelk
 
Yii framework
Yii frameworkYii framework
Yii framework
Mohammed Saqib
 
Yiitalk
YiitalkYiitalk
Yiitalk
Aaron Huang
 
Yii2install codingthailand
Yii2install codingthailandYii2install codingthailand
Yii2install codingthailand
Peerawas Saengthong
 
Yii workshop
Yii workshopYii workshop
Yii workshop
Simone Gentili
 
Yii php framework_honey
Yii php framework_honeyYii php framework_honey
Yii php framework_honey
Honeyson Joseph
 
Introduction Yii Framework
Introduction Yii FrameworkIntroduction Yii Framework
Introduction Yii Framework
Tuan Nguyen
 
Introduce Yii
Introduce YiiIntroduce Yii
Introduce Yii
zakieh alizadeh
 
Yii framework
Yii frameworkYii framework
Yii framework
Leena Roja
 
yii framework
yii frameworkyii framework
yii framework
Akhil Kumar
 
Yii Framework
Yii FrameworkYii Framework
Yii Framework
Jason Ragsdale
 
Agile web application development YII Framework
Agile web application development YII FrameworkAgile web application development YII Framework
Agile web application development YII Framework
Beehexa
 
Agile Manifesto
Agile ManifestoAgile Manifesto
Agile Manifesto
Mark Mansour
 
Sistema de Gerenciamento de Locadora de Vídeo - Apresentação
Sistema de Gerenciamento de Locadora de Vídeo - ApresentaçãoSistema de Gerenciamento de Locadora de Vídeo - Apresentação
Sistema de Gerenciamento de Locadora de Vídeo - Apresentação
Gleyciana Garrido
 

Viewers also liked (18)

Yii php framework
Yii php frameworkYii php framework
Yii php framework
 
UML - Casos de Uso
UML - Casos de UsoUML - Casos de Uso
UML - Casos de Uso
 
Yii2 guide
Yii2 guideYii2 guide
Yii2 guide
 
Yii framework
Yii frameworkYii framework
Yii framework
 
A site in 15 minutes with yii
A site in 15 minutes with yiiA site in 15 minutes with yii
A site in 15 minutes with yii
 
Yii framework
Yii frameworkYii framework
Yii framework
 
Yiitalk
YiitalkYiitalk
Yiitalk
 
Yii2install codingthailand
Yii2install codingthailandYii2install codingthailand
Yii2install codingthailand
 
Yii workshop
Yii workshopYii workshop
Yii workshop
 
Yii php framework_honey
Yii php framework_honeyYii php framework_honey
Yii php framework_honey
 
Introduction Yii Framework
Introduction Yii FrameworkIntroduction Yii Framework
Introduction Yii Framework
 
Introduce Yii
Introduce YiiIntroduce Yii
Introduce Yii
 
Yii framework
Yii frameworkYii framework
Yii framework
 
yii framework
yii frameworkyii framework
yii framework
 
Yii Framework
Yii FrameworkYii Framework
Yii Framework
 
Agile web application development YII Framework
Agile web application development YII FrameworkAgile web application development YII Framework
Agile web application development YII Framework
 
Agile Manifesto
Agile ManifestoAgile Manifesto
Agile Manifesto
 
Sistema de Gerenciamento de Locadora de Vídeo - Apresentação
Sistema de Gerenciamento de Locadora de Vídeo - ApresentaçãoSistema de Gerenciamento de Locadora de Vídeo - Apresentação
Sistema de Gerenciamento de Locadora de Vídeo - Apresentação
 

More from Anna Harris

Tips to build mobile application for kids
Tips to build mobile application for kidsTips to build mobile application for kids
Tips to build mobile application for kids
Anna Harris
 
Top mobile application development trends 2016
Top mobile application development trends 2016Top mobile application development trends 2016
Top mobile application development trends 2016
Anna Harris
 
Augmented Reality: Envisioning the Future of Tomorrow
Augmented Reality: Envisioning the Future of TomorrowAugmented Reality: Envisioning the Future of Tomorrow
Augmented Reality: Envisioning the Future of Tomorrow
Anna Harris
 
Top 5 Android Based Phablets Of 2013
Top 5 Android Based Phablets Of 2013Top 5 Android Based Phablets Of 2013
Top 5 Android Based Phablets Of 2013
Anna Harris
 
Top 20 [Hall of Fame] iPhone & iPad Games in The Market
Top 20 [Hall of Fame] iPhone & iPad Games in The MarketTop 20 [Hall of Fame] iPhone & iPad Games in The Market
Top 20 [Hall of Fame] iPhone & iPad Games in The Market
Anna Harris
 
25 Most Popular & Downloaded Apps For iPhone
25 Most Popular & Downloaded Apps For iPhone25 Most Popular & Downloaded Apps For iPhone
25 Most Popular & Downloaded Apps For iPhone
Anna Harris
 
Technologies Which Can be Helpful for Web Application Development
Technologies Which Can be Helpful for Web Application DevelopmentTechnologies Which Can be Helpful for Web Application Development
Technologies Which Can be Helpful for Web Application Development
Anna Harris
 
Website maintenance
Website maintenanceWebsite maintenance
Website maintenance
Anna Harris
 
Silverlight Development
Silverlight DevelopmentSilverlight Development
Silverlight Development
Anna Harris
 

More from Anna Harris (9)

Tips to build mobile application for kids
Tips to build mobile application for kidsTips to build mobile application for kids
Tips to build mobile application for kids
 
Top mobile application development trends 2016
Top mobile application development trends 2016Top mobile application development trends 2016
Top mobile application development trends 2016
 
Augmented Reality: Envisioning the Future of Tomorrow
Augmented Reality: Envisioning the Future of TomorrowAugmented Reality: Envisioning the Future of Tomorrow
Augmented Reality: Envisioning the Future of Tomorrow
 
Top 5 Android Based Phablets Of 2013
Top 5 Android Based Phablets Of 2013Top 5 Android Based Phablets Of 2013
Top 5 Android Based Phablets Of 2013
 
Top 20 [Hall of Fame] iPhone & iPad Games in The Market
Top 20 [Hall of Fame] iPhone & iPad Games in The MarketTop 20 [Hall of Fame] iPhone & iPad Games in The Market
Top 20 [Hall of Fame] iPhone & iPad Games in The Market
 
25 Most Popular & Downloaded Apps For iPhone
25 Most Popular & Downloaded Apps For iPhone25 Most Popular & Downloaded Apps For iPhone
25 Most Popular & Downloaded Apps For iPhone
 
Technologies Which Can be Helpful for Web Application Development
Technologies Which Can be Helpful for Web Application DevelopmentTechnologies Which Can be Helpful for Web Application Development
Technologies Which Can be Helpful for Web Application Development
 
Website maintenance
Website maintenanceWebsite maintenance
Website maintenance
 
Silverlight Development
Silverlight DevelopmentSilverlight Development
Silverlight Development
 

Recently uploaded

Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
Neo4j
 
A Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's ArchitectureA Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's Architecture
ScyllaDB
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
Neo4j
 
Principle of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptxPrinciple of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptx
BibashShahi
 
Day 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio FundamentalsDay 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio Fundamentals
UiPathCommunity
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
operationspcvita
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
Miro Wengner
 
ScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking ReplicationScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking Replication
ScyllaDB
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
DianaGray10
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Neo4j
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
DianaGray10
 
Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!
Ortus Solutions, Corp
 
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
AlexanderRichford
 
Christine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptxChristine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptx
christinelarrosa
 
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham HillinQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
LizaNolte
 
AI in the Workplace Reskilling, Upskilling, and Future Work.pptx
AI in the Workplace Reskilling, Upskilling, and Future Work.pptxAI in the Workplace Reskilling, Upskilling, and Future Work.pptx
AI in the Workplace Reskilling, Upskilling, and Future Work.pptx
Sunil Jagani
 
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptxPRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
christinelarrosa
 
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
Jason Yip
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
c5vrf27qcz
 

Recently uploaded (20)

Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
 
A Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's ArchitectureA Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's Architecture
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
 
Principle of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptxPrinciple of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptx
 
Day 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio FundamentalsDay 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio Fundamentals
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
 
ScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking ReplicationScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking Replication
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
 
Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!
 
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
 
Christine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptxChristine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptx
 
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham HillinQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
 
AI in the Workplace Reskilling, Upskilling, and Future Work.pptx
AI in the Workplace Reskilling, Upskilling, and Future Work.pptxAI in the Workplace Reskilling, Upskilling, and Future Work.pptx
AI in the Workplace Reskilling, Upskilling, and Future Work.pptx
 
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptxPRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
 
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
 

Yii Framework - Best for Developing Web 2.0 Applications

  • 1. Yii Framework - Best for Developing Web 2.0 Applications Yii framework is one of the latest and most highly regarded PHP frameworks available in the market today. The Model, View, Controller architecture in some detail, from a Yii perspective. In the default rules, the admin user can perform certain actions, where “admin” is the actual name of the user that is logged in, and comes from protected/components/User Identity. php. The default Yii framework allows for two users, with names of demo and admin, but you’d likely have a more elaborate system in place. If you know only a limited number of users will be admins, you could hard code their user names into the rules: • Extract the Yii User Management Module under the modules/ directory of your new Web Application. Replace the _0.4 with the latest Version available. • Add the Module to your Application Configuration • The Yii User Management Module needs a Database Connection to work. You now have to setup your SQlite or MySQL Database and insert the connection URI in your Application configuration, like this: • To let your Web Application use the Authentification Methods of the User Management Module, we need to overwrite the default Authentification Method in the Application Configuration: • The difference of 'User' and 'user' here. 'User' represents our ActiveRecord-Model while 'user' represents the user configuration. • Run the User Management Installer in your Web-Browser: • Now the Installer of the User Management Module should appear. To the right you can set up alternating Table Names used by the Module. • Click on "Administrate your Users (use admin/admin)". Now you are taken to the default Front-End Login-Screen of the User Management Module. Log in with the Username admin and Password admin. • Click on the 'update Icon' (the pencil) of your administrator User. Change the Password to something more safe than 'admin'. Click Save. • Remove the 'debug': true' line from your Application Configuration so your new data doesn't get overwritten accidentally by the installation process. • Role Management:: You can add up new roles in the Role Manager. To check for access to this roles, you can use this code Snippet everywhere in your Yii Application. Most likely it will be used in the ACL Filter of your Controllers: For More Information About YII Framework: http://www.hiddenbrains.com/yii-development-india.html