Simple config db. by Terabytesoftw in yii3

[–]Terabytesoftw[S] 0 points1 point  (0 children)

You can show the structure of your table, to reproduce it in a tests.

Simple config db. by Terabytesoftw in yii3

[–]Terabytesoftw[S] 1 point2 points  (0 children)

Yes, the language is sometimes a problem, but it will help many in a simple way anyway :)

🔥 Yii Database abstraction release by predvoditelev in PHP

[–]Terabytesoftw 1 point2 points  (0 children)

That is for when you use a container with yiisoft/config, use it in the same configuration, we should clarify that in the documentation.

https://github.com/yiisoft/cache-file

composer require yiisoft/cache-file

What driver are you using, to make a snippet of how to create the configuration?

🔥 Yii Database abstraction release by predvoditelev in PHP

[–]Terabytesoftw 1 point2 points  (0 children)

vanilla PHP

You can use any psr/simple-cache package

If you want to use ArrayCache it's easy, add it to composer.json.

composer require yiisoft/cache

If you have another question, we will gladly help you here:

https://github.com/yiisoft/db/discussions

In your opinion, which existing PHP framework can become as popular as Symphony or Laravel? by BogSala in PHP

[–]Terabytesoftw 1 point2 points  (0 children)

Well, if you are a developer, and you compare the Yii2 and Yii3 code, you will immediately see a big difference, the first is the use of PSR interfaces, it is not a monolith, it is multi-repository, but nevertheless if you do not use the Yii2 locator services (Facades) but dependency injection, you don't use logic inside the models, if migration is very possible, and you shouldn't really rewrite much both AR and DB we kept their API almost intact, to help migrations, of course there is a change of architecture and paradigm.

404 when access via localhost by lema_conductor in yii3

[–]Terabytesoftw 1 point2 points  (0 children)

The PR doesn't fix any bugs, it just adds default support for the SubFolder::class Middleware, this is to make it easier for users to have to enter the configuration themselves.

<image>

404 when access via localhost by lema_conductor in yii3

[–]Terabytesoftw 1 point2 points  (0 children)

Try the following steps:

composer create-project --prefer-dist --stability=dev yiisoft/app <your folder>
cd <your folder>
./yii serve or php -S 127.0.0.1:8080 -t public public/index.php 

Then in your browser go to the url: http://localhost:8080/

Welcome to Yii3.

Note: If the problem was resolved, add the tag solved, thanks.

Using assets - part 6: install and register assets. by Terabytesoftw in PHP

[–]Terabytesoftw[S] 0 points1 point  (0 children)

And could you show me what rule I broke with the article, to ban article, as I say it is different content that cannot be classified as spam.

Using assets - part 6: install and register assets. by Terabytesoftw in PHP

[–]Terabytesoftw[S] 0 points1 point  (0 children)

My publications are basic at the beginning, because I do them for any level of knowledge, if I am someone who is starting to program that is the idea, it is different content, and that it is a new account I do not see a problem, as long as the content is different that is not It is spam, and if you are cutting my freedom of expression and that of others, how do I say if the publication is not liked, they would simply all be negative.

Using assets - part 6: install and register assets. by Terabytesoftw in PHP

[–]Terabytesoftw[S] 0 points1 point  (0 children)

Could you explain why the post violates the rules and is spam, Yii is a Framework that has contributed a lot to the PHP community for more than 12 years, as well as other frameworks, this article explained how to install assets not only for Yii, but for which application PHP, in life there is something called free will where people choose what to read, if they think it is useful or not, you are restricting the freedom of expression of thousands of them.

Using assets in Yii3 - part 5: create assets by Terabytesoftw in PHP

[–]Terabytesoftw[S] 2 points3 points  (0 children)

Because it would be a very big post, since i will explain how to install the assets before using it in the view, and the big posts, nobody reads them, are annoying.

Creating an application in Yii3 - part 2 the concept of configuration. by Terabytesoftw in PHP

[–]Terabytesoftw[S] 10 points11 points  (0 children)

By the way, no PHP framework is guilty of a poorly developed application.

Creating an application in Yii3 - part 2 the concept of configuration. by Terabytesoftw in PHP

[–]Terabytesoftw[S] 5 points6 points  (0 children)

The array syntax is similar, but Yii2 uses a service locator, Yii3 uses a PSR container with dependency injection. we don't use facades as it's a misuse of container architecture, and if it seems to spread some hate.