Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

It is the theory which decides what can be observed. -- Albert Einstein


devel / comp.lang.php / lavarel: compiled files

SubjectAuthor
* lavarel: compiled filesFx ROOM
`* Re: lavarel: compiled filesArno Welzel
 `* Re: lavarel: compiled filesFx ROOM
  `- Re: lavarel: compiled filesArno Welzel

1
lavarel: compiled files

<t6le7v$61v$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=514&group=comp.lang.php#514

  copy link   Newsgroups: comp.lang.php
Path: i2pn2.org!i2pn.org!aioe.org!x3ACC2qrBjQXx8cNs6QrPQ.user.46.165.242.91.POSTED!not-for-mail
From: naso@tata.new (Fx ROOM)
Newsgroups: comp.lang.php
Subject: lavarel: compiled files
Date: Wed, 25 May 2022 16:25:03 +0200
Organization: Aioe.org NNTP Server
Message-ID: <t6le7v$61v$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="6207"; posting-host="x3ACC2qrBjQXx8cNs6QrPQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Content-Language: it-IT
X-Notice: Filtered by postfilter v. 0.9.2
 by: Fx ROOM - Wed, 25 May 2022 14:25 UTC

https://laravel.com/docs/9.x/structure#the-resources-directory
The resources directory contains your views as well as your raw,
un-compiled assets such as CSS or JavaScript.

????

Instead the files in the other directories are compiled?
o_O

Re: lavarel: compiled files

<jf9lkeFu8j6U1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=515&group=comp.lang.php#515

  copy link   Newsgroups: comp.lang.php
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.mixmin.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@arnowelzel.de (Arno Welzel)
Newsgroups: comp.lang.php
Subject: Re: lavarel: compiled files
Date: Thu, 26 May 2022 17:45:18 +0200
Lines: 28
Message-ID: <jf9lkeFu8j6U1@mid.individual.net>
References: <t6le7v$61v$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: individual.net h3N5gVZEhfynPmsNvPOTAAQSmHSObjKFQRfCd0GSVx2tAZShbh
Cancel-Lock: sha1:yDZbifpEd/ceY4v1EqSa4BaiNYI=
Content-Language: de-DE
In-Reply-To: <t6le7v$61v$1@gioia.aioe.org>
 by: Arno Welzel - Thu, 26 May 2022 15:45 UTC

Fx ROOM:

> https://laravel.com/docs/9.x/structure#the-resources-directory
> The resources directory contains your views as well as your raw,
> un-compiled assets such as CSS or JavaScript.
>
> ????
>
> Instead the files in the other directories are compiled?

Yes.

Usually for production JavaScript and CSS gets "compiled". This is not
the same as compiling source code to a binary form, but still the
"compiled" versions are optimized for production use.

Example:

<https://arnowelzel.de/res-3.4.2/wp-content/plugins/lightbox-photoswipe/assets/scripts.js>

This file is based on multiple "source" files which get combined and
"minified" for production use. This can also be seen als "compiling"
something.

--
Arno Welzel
https://arnowelzel.de

Re: lavarel: compiled files

<t6q4ga$uin$2@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=516&group=comp.lang.php#516

  copy link   Newsgroups: comp.lang.php
Path: i2pn2.org!i2pn.org!aioe.org!x3ACC2qrBjQXx8cNs6QrPQ.user.46.165.242.91.POSTED!not-for-mail
From: naso@tata.new (Fx ROOM)
Newsgroups: comp.lang.php
Subject: Re: lavarel: compiled files
Date: Fri, 27 May 2022 11:09:30 +0200
Organization: Aioe.org NNTP Server
Message-ID: <t6q4ga$uin$2@gioia.aioe.org>
References: <t6le7v$61v$1@gioia.aioe.org> <jf9lkeFu8j6U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="31319"; posting-host="x3ACC2qrBjQXx8cNs6QrPQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: it-IT
 by: Fx ROOM - Fri, 27 May 2022 09:09 UTC

Il 26/05/22 17:45, Arno Welzel ha scritto:
> Yes.
>
> Usually for production JavaScript and CSS gets "compiled". This is not
> the same as compiling source code to a binary form, but still the
> "compiled" versions are optimized for production use.
>
> Example:
>
> <https://arnowelzel.de/res-3.4.2/wp-content/plugins/lightbox-photoswipe/assets/scripts.js>
>
> This file is based on multiple "source" files which get combined and
> "minified" for production use. This can also be seen als "compiling"
> something.

thanks

Re: lavarel: compiled files

<jfbs1jFcgsgU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=517&group=comp.lang.php#517

  copy link   Newsgroups: comp.lang.php
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@arnowelzel.de (Arno Welzel)
Newsgroups: comp.lang.php
Subject: Re: lavarel: compiled files
Date: Fri, 27 May 2022 13:47:00 +0200
Lines: 36
Message-ID: <jfbs1jFcgsgU1@mid.individual.net>
References: <t6le7v$61v$1@gioia.aioe.org> <jf9lkeFu8j6U1@mid.individual.net>
<t6q4ga$uin$2@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: individual.net Zi3+2VJoPgedxoEcja7ZWADBFueikXPBsuYjWGkdOw4ond+XF+
Cancel-Lock: sha1:+BE52qeG+fCwyXCyAAjvmEsAirM=
Content-Language: de-DE
In-Reply-To: <t6q4ga$uin$2@gioia.aioe.org>
 by: Arno Welzel - Fri, 27 May 2022 11:47 UTC

Fx ROOM:

> Il 26/05/22 17:45, Arno Welzel ha scritto:
>> Yes.
>>
>> Usually for production JavaScript and CSS gets "compiled". This is not
>> the same as compiling source code to a binary form, but still the
>> "compiled" versions are optimized for production use.
>>
>> Example:
>>
>> <https://arnowelzel.de/res-3.4.2/wp-content/plugins/lightbox-photoswipe/assets/scripts.js>
>>
>> This file is based on multiple "source" files which get combined and
>> "minified" for production use. This can also be seen als "compiling"
>> something.
>
> thanks

In addition - also see LESS and SASS which also "compile" CSS:

<https://css-tricks.com/sass-vs-less/>

And you should also know about Webpack:

<https://webpack.js.org>

I don't know how Laravel handles this, but in Symfony based projects the
preferred way to deal with frontend assets is Webpack Encore:

<https://www.npmjs.com/package/@symfony/webpack-encore>

--
Arno Welzel
https://arnowelzel.de

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor