Blog

Project Manager: New Horizons

2017-07-14

There are times when you might think that you are omnipotent. You fancy yourself some sort of ace, a perfect professional who can move mountains at will. Have this happen to you? Well, I think that one lives and learns. You can’t possibly know everything, even within a single area. Today, I am continuing to talk about the Project Manager, hoping that this article will be useful not just for the beginners.

You can find the previous article here.

If You Chase Two Rabbits...

This saying does not hold true in the Project Manager. You can chase as many rabbits as you want and never lose any of them… um, what am I talking about? Well, about projects, of course! And about many, many applications inside one project.

Every project in Blend4Web is a unique entity with settings, parameters and a root directory of its own. However, there is no reason why you shouldn’t work with several independent applications inside a single project.

Why you might need this? The most obvious example would be developing an application for several social networks, each one with its own quirks and requirements. You will probably have to alter HTML, CSS and maybe even JS files. However, your main content (graphics, music, logic etc.) won’t be changing, right? This is only one of the cases where developing several apps in one project would come in handy.

This is not particularly hard to do. When you create a new project in Project Manager, it is already able to work with multiple applications. It’s just the program won’t tell you about it, so not many users are aware of this feature.

If you open a newly created project and view the files in its root folder, you will see something like this:

And in the Project Names/Apps column in the Project Manager you will see this:

Click the dev:my_project.html link, and the Manager will run the application in a new tab in browser. Well, you should already know this much.

But what if you create several HTML files in the project folder? In this case, something like this might happen:

What is interesting here is that the Project Manager considers each HTML file in the project folder an independent application. This is understandable, as it is there where you set CSS, scripts and other stuff.

If you try to build the application using the Build Project command, the Manager will compile each and every HTML file and files associated with them. This allows you to work with multiple variations of a single application inside a project.

Now, let’s take a look on a different task: how to make Project Manager not to take into account specific HTMLs. If you click the config link near the title of the project (see the picture above), the project configuration window will open. Add the HTML files you need to the Apps field. The program will recognize only the file listed in this field and will work with them exclusively. File names in the field should be separated by semicolons.

The Art of Building

Beginners and even experienced users do sometimes run into trouble with deploying applications to a web server. I’ve seen fully operational programs with HTML files containing long lists of engine source files in the SRC folder. I’ve also seen people asking on the forum: “Well, I’ve copied the folder, but it won’t work!”.

So, here are the rules of deploying applications with Project Manager:

 Make sure that JavaScript Obfuscation Level in the project settings is set to Advanced. This will tell compiler to minify the resulting JavaScript code and make it a bit harder to read.

 Execute the convert resources command. The Project Manager will scan all your files (images, sounds, video etc.) and automatically covert them to formats more suitable for web browsers. But do not delete original files! You can rely on the engine to decide which formats are better suited for certain browsers. Aside from converting media data, this command will also create compressed files in the gzip format, which is especially useful if you cannot set up compression on the server side. To use these gzip files, you have to add a specific assets_gzip_available: true directive to the engine initialization code:

var m_app = require("app");

m_app.init({
    canvas_container_id: "canvas",
    callback: init_cb,
    autoresize: true,
    assets_gzip_available: true
});

 Execute the build project command and test how the application works by running build: my_project.html (your own project will, of course, have a different title).

 Finally, execute the deploy project command, download the application archive and unpack it to a proper location in the server.

By following this simple list of actions you can be sure that your project will work on a server without problems and will be compatible with the broadest set of devices.

Comments
23 dec. 2025 11:37
Xoilac TV - Nơi cập nhật linh xem trực tiếp bóng đá chất lượng nhất hiện nay.

Giữa thời đại số, việc tìm kiếm trực tiếp bóng đá mượt mà, ổn định và chất lượng cao đang trở thành mối quan tâm lớn của người hâm mộ. Và trong số rất nhiều nền tảng phát sóng, tuong thuat truc tiep bong da Xoi Lac Live nổi bật nhờ sở hữu hệ thống link xem ổn định, cập nhật nhanh và đa dạng nhất tại Việt Nam hiện nay.

Chỉ cần truy cập vào trang Xoilac365.tv, người xem có thể dễ dàng tìm thấy đường link trực tiếp bóng đá của hàng loạt giải đấu hàng đầu thế giới. Từ Champions League, Premier League, La Liga, Serie A, Bundesliga cho đến Ligue 1 – tất cả đều được cập nhật đầy đủ với chất lượng hình ảnh sắc nét, âm thanh sống động và bình luận tiếng Việt hấp dẫn.

Không chỉ dừng ở cấp câu lạc bộ, Xoilac TV còn phát sóng các giải đấu cấp đội tuyển như Euro, Copa America, Asian Cup, hay AFF Cup nơi quy tụ những anh tài của bóng đá thế giới. Đặc biệt, các trận cầu thuộc V-League của Việt Nam cũng luôn được cập nhật nhanh chóng, giúp khán giả dễ dàng theo dõi đội bóng quê hương thi đấu mỗi tuần.

Một ưu điểm nổi bật khác của Xoilac TV là toàn bộ các link trực tiếp bóng đá đều miễn phí và tương thích với nhiều thiết bị: điện thoại, máy tính bảng, laptop hay TV thông minh. Ngoài ra, trang còn hỗ trợ nhiều tùy chọn chất lượng (SD, HD, Full HD) giúp người xem chủ động chọn mức phù hợp với tốc độ mạng của mình.

Với tốc độ cập nhật nhanh, phạm vi giải đấu rộng cùng giao diện thân thiện, Xoilac TV thực sự là điểm đến hàng đầu cho mọi tín đồ đam mê trực tiếp bóng đá. Dù bạn yêu thích sân cỏ châu Âu hay các trận cầu trong nước, chỉ cần một cú nhấp chuột vào Xôi Lạc TV, mọi trận đấu đều nằm trong tầm tay.

Chuyên mục xem thêm: https://xoilacvzv.cc/dieu-khoan/

Thông tin liên hệ Xoilac TV Official:

Địa chỉ: 28 Võ Nguyên Giáp, Dư Hàng Kênh, Lê Chân, Hải Phòng, Việt Nam

Điện thoại: 0365285678

Email: xoilactvoffical@gmail.com

Social: https://orusocial.com/xoilactvoffical

Hastag: #Xoilac #XoilacTV #tructiepbongda #XoilacTVOffical #Xoilac_TV
24 dec. 2025 02:06
CasinoSpotFR - https://casinospotfr.com/machines-a-sous-gratuites/le-santa/ est un site spécialisé dans les jeux de casino en ligne, offrant une grande variété de jeux comme les machines à sous, la roulette, le poker et bien plus. Avec des promotions attractives et une plateforme sécurisée, c’est un endroit idéal pour jouer et gagner en toute confiance.
25 dec. 2025 11:48

Co88 mới nhất là nhà cái uy tín, cung cấp đa dạng trò chơi từ thể thao, live casino, slot đến nổ hũ. Trải nghiệm an toàn, thanh toán nhanh và hỗ trợ khách hàng 24/7.
Website: co88.diy/
Địa chỉ: 31a Tôn Đản, Phường 10, Quận 4, Hồ Chí Minh, Việt Nam
Email: contact@co88.diy
SĐT: 0987001414
Hashtags: #CO88 #NhaCaiCO88 #CO88Casino #CO88Bet #CO88UyTin #LinkCO88
Google map: https://maps.app.goo.gl/txTpy4xmgB4A3GVo6
Social:
https://x.com/co88diy
https://www.youtube.com/@co88diy
https://www.pinterest.com/co88diy/
https://www.tumblr.com/co88diy
https://gravatar.com/co88diy
https://www.twitch.tv/co88diy/about
https://500px.com/p/co88diy
https://profile.hatena.ne.jp/co88diy/
Please register or log in to leave a reply.