GithubHelp home page GithubHelp logo

yii2-profil's Introduction

yii2-profil Modulü Nedir?

Profil modulü AydinCanAltun/sorucevap modulüne bağlı bir profil görüntüleme modulüdür. Bu modülde, sorucevap modülü kullanılarak sorulan sorular, verilen cevaplar görüntülenebilir. Veritabanı üzerinden çekilen bu bilgiler kişiye özel profil sekmesinde de görüntülenebilir.


Kurulum

Modülün kurulumu, yii2-advanced template'i kullanıllanılarak anlatılacaktır. Vagrant makinenize ssh ile bağlandıktan sonra
cd var/www
komutu kullanılarak yii2 projesini oluşturacağımız dizine gelinir.
composer create-project yiisoft/yii2-app-advanced ['Proje Klasörü']
komutu kullanılarak bulunduğumuz dizindeki Proje Klasörü'ne yii2-advanced template'i kurulur.
php yii migrate
komutu Proje Klasörü içerisinde çalıştırılarak yii proje hazır hale getirilir. Artık modüller projeye dahil edilebilir.
composer require aybarsyildiz/yii2-profil "dev-main" aydincanaltun/yii2-sorucevap "dev-main"
komutu ile modüller projeye eklenir. Modülün bağımlı olduğu migrationları eklemek için ise
php yii migrate/up --migrationPath=@vendor/aydincanaltun/yii2-sorucevap/src/migrations
komutu çalıştırılır.


composer ile modul kurulduktan ve migrationlar eklendikten sonra app\config\main.php icerisindeki modules kismina
'profil' => 'aybarsyildiz\profil\Module',
'sorucevap' => 'AydinCanAltun\sorucevap\Module'
satirlari eklenir.
Bu satır eklendikten sonra modül çalışır hale gelmiştir.
http://advanced/backend/web/index.php?r=profil
http://advanced/backend/web/index.php?r=sorucevap
adresleri kullanılarak bu modüllere ulaşılabilir.


Modul icerisinden ekran goruntuleri

  1. Ana Ekran Profil Görüntüleme
  2. Profil Görüntüleme Ana Ekran Ekran Goruntuleri
  3. Profil Görüntüleme 2 Profil Görüntüleme
  4. Soru Sorma Soru Sorma
  5. Veritabanı İlişki Şeması Veritabanı İlişki Şeması

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.