[PRESENTATION] New Generation Website

10/14/2018 23:09 [MXD]Takeshi#1
[Only registered and activated users can see links. Click Here To Register...]

Hello everyone, today I want to present you my latest website project for shaiya.

this site is not like all the others, this site is based on a php framework, the use of the latest version of php (7.2)

the php framework works with the MVC logical system


I do this thread to show everyone that currently the sites we are using are really obsolete.

currently using this framework (YII2), we can go to remove all the queries, and more, let's see...

What is Yii2?
Quote:
Yii is a high performance, component-based PHP framework for rapidly developing modern Web applications. The name Yii can be considered as the acronym for Yes It Is!. Yii 2 inherits the main spirit behind Yii for being a simple, fast and highly extensible PHP framework.



After giving you this information, I ask the alleged dev remained, what do you think?
would not it be time to change? and offer something safer?



I would like to know what you think, do you say it's time to change?
do you have any useful tips, or anything?
10/14/2018 23:41 Cups#2
Next generation? Perhaps in the context of Shaiya, but in terms of web technologies this is still a few steps behind. You really don't need to make a thread about this, as this should be the standard anyway. The newer version of PHP are actually pretty great in terms of speed, but the language itself is rather lackluster and hacky. Would it not make more sense to use something like ASP.NET, seeing as we're almost required to use Windows environments anyway? You can follow the same MVC design (which I believe is the default for new projects), or if you wanted a simple API you could do something like the following:

Code:
using Microsoft.Owin.Hosting;
using Owin;
using System.Net.Http.Formatting;
using System.Web.Http;

namespace Apulune.Net.Http
{

    class GameHttpServer
    {

        public void Configuration(IAppBuilder builder)
        {

            var config = new HttpConfiguration();

            config.Formatters.Clear();
            config.Formatters.Add(new JsonMediaTypeFormatter());

            config.Routes.MapHttpRoute(
                name: "DefaultRoute",
                routeTemplate: "{controller}/{action}"
            );

            builder.UseWebApi(config);
        }

        public void Start(int port)
        {
            var address = $"http://*:{port}/";
            WebApp.Start<GameHttpServer>(url : address);
        }
    }
}
Code:
using Apulune.Game.World;
using System.Web.Http;

namespace Apulune.Net.Http.Controller
{

    public class ServerController : ApiController
    {

        [HttpGet]
        public int Users()
        {
            return GameWorld.GetOnlinePlayers();
        }
    }
}
Most web projects these days are either React / Vue / Angular apps served to the client and have the client render the website rather than the current server-side rendering, and request the required data from an API. At least, this is how I'm designing my website. The reason for this is because if we serve all of the assets to the user on the first page load, and have the client handle routing and contact an API, then we only need to load the website once and modify components depending on the application's state. This makes the website feel much more responsive and user friendly. You'd use JSON Web Tokens for accessing authorized routes. If you're concerned about SEO (as web crawlers won't render JavaScript), there are plenty of tools you can use to pre-render the app, and then serve that for robots.

I like that you're trying to make a change, and by all means, go for it. I just don't believe that PHP would be the way to go for a game like Shaiya.
10/15/2018 00:23 [MXD]Takeshi#3
Quote:
Originally Posted by Cups View Post
Next generation? Perhaps in the context of Shaiya, but in terms of web technologies this is still a few steps behind. You really don't need to make a thread about this, as this should be the standard anyway. The newer version of PHP are actually pretty great in terms of speed, but the language itself is rather lackluster and hacky. Would it not make more sense to use something like ASP.NET, seeing as we're almost required to use Windows environments anyway? You can follow the same MVC design (which I believe is the default for new projects), or if you wanted a simple API you could do something like the following:
------
Most web projects these days are either React / Vue / Angular apps served to the client and have the client render the website rather than the current server-side rendering, and request the required data from an API. At least, this is how I'm designing my website. The reason for this is because if we serve all of the assets to the user on the first page load, and have the client handle routing and contact an API, then we only need to load the website once and modify components depending on the application's state. This makes the website feel much more responsive and user friendly. You'd use JSON Web Tokens for accessing authorized routes. If you're concerned about SEO (as web crawlers won't render JavaScript), there are plenty of tools you can use to pre-render the app, and then serve that for robots.

I like that you're trying to make a change, and by all means, go for it. I just don't believe that PHP would be the way to go for a game like Shaiya.
Thanks for the honest answer, in fact I had started an admin panel using this system, for business reasons I moved on YII, I currently work on this framework.

The thread was also made to accept answers like yours, not having done so I would never know your thoughts about this. :)

from my last post on my old website, over 2 years, provided to SHAIYA EXCALIBUR, is currently sold by a certain "Pacifier Jr" (I really do not know who it is ...)
I had the desire to show anyone that what they go to pay is old, obsolete, without security, now even a child can throw it down...

this pushed me to finally create this thread, to inform possible buyers to be careful before buying an "unsafe" site.
There have been no inflictions that have led to fill report or anything else, but an unsafe website, implies that all data entered into the databases are not secure, for shaiya we can say that our Email is not secure, and eventually our password (many use the same for many sites)

Currently this is for information :D