SlideShare uma empresa Scribd logo
1 de 1
Baixar para ler offline
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

Mais conteúdo relacionado

Destaque

Agile web application development YII Framework
Agile web application development YII FrameworkAgile web application development YII Framework
Agile web application development YII Framework
Beehexa
 
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
 

Destaque (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
 

Mais de 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
 

Mais de 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
 

Último

Último (20)

Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 

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