I understood.
and the Homebrew code itself, do you write it in programs like Visual Studio Code, for example, organize it and convert it into PKG? more complicated, I believe.
and for those who have already started with JavaScript like me, what would you recommend me, a tip for example, continue studying it in depth and its tools like HTML and CSS, and then go to C and later to C++, or maybe leave JS and go to the basics of C?
I'm in the new beginning, I don't mind changing, in fact I'm trying to hit something, I've already tried to go straight into HTML but obviously it didn't work, I started over with JS and I'm going, for now I just learned to write "hello world !" on google and a dialog box appears where you write your name, nothing much really.
Yes, you can use Visual Studio if you like, the official SDK offers a VS plugin (for vs 2013 in the latest available SDK iirc), and for the psl1ght SDK there is also a VS plugin you can install.
Compiling a PS3 project in visual studio will create an executable file but packing a project into a PKG for deployment requires other tools that are included with the SDKs
Like I said you cannot create executables with HTML/JS, you can only execute stuff within the browser.
The PS3 GameOS is basically a FreeBSD OS at its core so the OS runs more or less like a Linux OS, the same development concepts apply and the same kind of tools.
Forget html and js, get the psl1ght SDK, install it according to instructions, get the psl1ght plugin for Visual Studio and check its visual studio version requirement, install the appropriate visual studio version then install the psl1ght plugin.
From there you should be able to compile a simple self executable and run it on the PS3, when there's no added resources to a project (like in a Hello World sample), there's no need to make a PKG to test your work, the executable can be run directly, you can even send it to the PS3 through the network and make it execute automatically, there's a ps3loadX tool to do just that.
Psl1ght doesn't support sprx plugin projects like webman or xa_plugin, to create such files one must use the official SDK which unfortunately is under expensive licensing.
Included also in the official SDK is the Target Manager and the ProDG debugger which are extremely helpful respectively to manage the PS3 remotely and to debug code.
An alternative to ProDG exists with the IDA deci3 debugger plugin, it allows you to debug code with gdb (the debugger commonly used in Linux) but IDA is also under license.
Of course all those things under license (IDA or official SDK) are available out there if you look for them however we cannot help you find that stuff, please don't ask.
There's plenty of info in this forum about how to use ProDG and Target Manager, there should also be tutorials about debugging.