Register for your free account! | Forgot your password?

You last visited: Today at 14:11

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[RELEASE] Website based on MVC

Discussion on [RELEASE] Website based on MVC within the Shaiya PServer Guides & Releases forum part of the Shaiya Private Server category.

Reply
 
Old 12/11/2018, 02:08   #16
 
[MXD]Takeshi's Avatar
 
elite*gold: 0
Join Date: Nov 2017
Posts: 137
Received Thanks: 148
Quote:
Originally Posted by copain View Post
i am using plesk in windows server 2016 the root dir is htdoc apatche,i have configure the web config to point it on my, db.. which folder or file hadles the page directory?

I have released above how to configure apache, simply change the virtual host.
Code:
/Path/to/yii-application/frontend/web/
this is the folder where the website will be pointed, where / path / to / will change according to the location.

example:
Code:
C:/xampp/htdocs/yii-application/frontend/web
if you follow the guide your
punch to frontend/web
instead of the root folder
[MXD]Takeshi is offline  
Old 12/11/2018, 05:47   #17
 
elite*gold: 0
Join Date: Nov 2018
Posts: 23
Received Thanks: 4
Unhappy

First of all, we need:
Code:
php >=5.6, 
OpenSSL extension, 
PDO extension, 
Intl extension
once you enable these php extensions, we need to fix our database, with small query.

hello; how to enable this extension where to put this code ? i'm using xampp and i have already added [extension=php_sqlsrv_56_ts.dll
extension=php_pdo_sqlsrv_56_ts.dll] to my php ini and driver dll is already in my php/ext folder, but when i navigate to rank this error will show

Database Exception – yii\db\Exception
could not find driver

Caused by: PDOException
could not find driver
in C:\xampp\htdocs\yii-advanced\vendor\yiisoft\yii2\db\Connection.php at line 687
copain is offline  
Old 12/11/2018, 20:05   #18
 
[MXD]Takeshi's Avatar
 
elite*gold: 0
Join Date: Nov 2017
Posts: 137
Received Thanks: 148
Quote:
Originally Posted by copain View Post
First of all, we need:
Code:
php >=5.6, 
OpenSSL extension, 
PDO extension, 
Intl extension
once you enable these php extensions, we need to fix our database, with small query.

hello; how to enable this extension where to put this code ? i'm using xampp and i have already added [extension=php_sqlsrv_56_ts.dll
extension=php_pdo_sqlsrv_56_ts.dll] to my php ini and driver dll is already in my php/ext folder, but when i navigate to rank this error will show

Database Exception – yii\db\Exception
could not find driver

Caused by: PDOException
could not find driver
in C:\xampp\htdocs\yii-advanced\vendor\yiisoft\yii2\db\Connection.php at line 687
you add extension with []???
remove the [] then restart apache

contact me on skype, if you still get error, i will happy to help u ^^
[MXD]Takeshi is offline  
Old 12/21/2018, 15:45   #19

 
{Skrillex}'s Avatar
 
elite*gold: 0
Join Date: Mar 2013
Posts: 850
Received Thanks: 408
Hi,
i take a look into your files here. I would not recommend to this files.
Its to confusing. Noobs or starting "developers" will never learn with a system like this.
You have thouthands of Folders and files there. For what?
With a bit of PHP knowledge you are able to develop a good website with scripts.
Why make it mor complicated as it is?

For all "noobies".
Download a free or a cheap HTML website. Intigrate the right DB-Connection in it. There are enough examples here on epvp.

Your system want to force to edit my database to get right work? ?!?!

Why dont make it possible with php? This release is stupid.. Im sorry.

Thanks for reading
{Skrillex} is offline  
Old 12/21/2018, 17:06   #20
 
[MXD]Takeshi's Avatar
 
elite*gold: 0
Join Date: Nov 2017
Posts: 137
Received Thanks: 148
Quote:
Originally Posted by .:Unix:. View Post
Hi,
i take a look into your files here. I would not recommend to this files.
Its to confusing. Noobs or starting "developers" will never learn with a system like this.
You have thouthands of Folders and files there. For what?
With a bit of PHP knowledge you are able to develop a good website with scripts.
Why make it mor complicated as it is?

For all "noobies".
Download a free or a cheap HTML website. Intigrate the right DB-Connection in it. There are enough examples here on epvp.

Your system want to force to edit my database to get right work? ?!?!

Why dont make it possible with php? This release is stupid.. Im sorry.

Thanks for reading
you see that you are not a web programmer, to begin with, using this framework we have the possibility to have a custom ROUTES.

*- for those who do not understand what are the routes here is an example:
-> login page, which implies that you have the file with this name, instead using the framework the file you can call hellopeople.php and from the controller say what the view is called (hellopeople. php).

we do not need to go and invent functions to prevent any SQL injector, thanks to php and its magic methods, just call 1 model to get all the data and work on it.

we have other possibilities, such as having access to data anywhere, we can check if the user is logged in via a simple IF, without going to create queries or anything else.

there is a distinction between VISTA and CONTROLLER, so we do not need to go to create pages with inside it written HTML, CSS, PHP, everyone will have his workspace ....

here in addition we have the beauty of having 2 sites, in the sense that the backend and the frontend are 2 sites divided but communicating, so frontend is what I wrote so far, the backend can become an adminpanel with everything you need, and always safe.

so until now only installing the framwork I have the opportunity to have advantages in security, cleaning in the scripts and not only ...

we must also say that here we use the LANGUAGE TO OBJECTS, so they are not cheap things, I have released to get information and opinions on the related project.


why change the database ?? It does not seem to me that we have added scripts that imply the non-functioning of the game, well there are things that had to be done a long time ago.

the password encrypted, instead we all know the password of our players, we do not even give them security, if the players had more attention to their data, they will not record their data on the servers.
the use of the encrypted password is not necessary, but requires changing the basic functions of encryption and decryption of the site, always to provide security (the basis of this release in part)

then I define the primary key, all the tables should have them, like the foreign keys, but this implies a knowledge of the general sql script, working on shaiya you do not learn this ^ _ ^

last clarification, the "noobs" the starter developer, to learn how this works, just go to read what is and how a MVC framework system works, and object language, then look at what I did, and learn if you know working on it, there is also a large documentation on the framework, I say at the end that for Shaiya it is not necessary to implement everything that can be done with this framework.


ah for your clarification here we use PHP but object-level, just know the object-oriented programming to understand, the creation time with this system are reduced by 30% secure only having the basics ^^ hope with this my explanation, you got all information necessary of why use it
[MXD]Takeshi is offline  
Thanks
1 User
Reply

Tags
bootstrap, no sqlinjector, shaiya, website, yii2


Similar Threads Similar Threads
Shaiya mvc framework website
07/01/2016 - Shaiya PServer Development - 0 Replies
Hello I would like to start a new project for shaiya servers. But I would like some input first before I start. The project will be a website built on bootstrap framework. Reason? So your players can access there account via cell/tablet. What I want to ask is what do you think the website should have in it? Should it use a separate login other than game? Should it have an item mall? Etc No bashing or hating I'm just trying to give back to the community.
Verständniss MVC
01/24/2014 - Web Development - 8 Replies
Heyho Com. Habe eig nur ein paar Verständnissfragen zum MVC Modell. MVC steht für Model _ kümmert sich um die besorgung der Daten View _ Erzeugt den HTML Code / Die Ausgabe die an den User gereicht wird Controller _ Verbindet das Model mit den View und teilt die Aufgaben zu. Ordner Struktur
[ASP.Net-Website MVC 4 | C#] Informationen einer MySQL Datenbank in Tabelle ausgeben
07/22/2013 - .NET Languages - 0 Replies
Guten Tag liebe Community, zurück auf der Arbeit nach einem langen entspannten Wochenende in der Shishabar habe ich wieder eine Frage an euch. Das zuletzt gestellte Problem mit den Sessions welche beim Login übergeben werden sollten habe ich dann nach 4 Stunden Arbeit bzw. rumprobieren gelöst: (Dieser Thread: http://www.elitepvpers.com/forum/net-languages/272 9073-asp-net-website-razor-v2-login-berpr-fung-auf -den-anderen-seiten.html )
[S][Java] MVC-Fragen beantworten
07/06/2013 - General Coding - 2 Replies
Hallo, ich bin momentan auf der Suche nach einem Java-Programmierer, der MVC kann. Es geht hierbei um ein Projekt, dass ich nach dem MVC-Pattern umbauen will, dabei komme ich jedoch nicht weiter und benötige demnach Hilfe. Kann mir hierbei jemand über Skype helfen und gewisse Fragen beantworten? Grüße hallo6
DarkNight 1.3.2 [Bukkit][cracked] Jobs, MVC, LWC
08/26/2012 - Minecraft Server Advertising - 0 Replies
Hallo, der Bukkit-Server DarkNight mit 10 Slots braucht noch Spieler. Er ist schon seit 3 1/2 Monaten online und hat schon jede Menge nette Spieler. Es ist gibt Grundstücke und ein/e Freebuilding-Bereich/Welt. Der Server wird noch erweitert. Trailer: Der Trailer IP:



All times are GMT +1. The time now is 14:14.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.