flat assembler
Message board for the users of flat assembler.

Index > Projects and Ideas > Asm driven CMS.

Goto page Previous  1, 2, 3, 4, 5
Author
Thread Post new topic Reply to topic
Madis731



Joined: 25 Sep 2003
Posts: 2139
Location: Estonia
Madis731 26 Jun 2012, 21:32
Nice work! I first tried suggesting you to switch from GIF to PNG, but a few conversions being larger, I won't do that. Instead I will give you an optimization hint: sprites are good! Smile At <100 bytes per request you are wasting resources Razz

http://css-tricks.com/css-sprites/
I just can't find that neat javascript thingy that loaded a tool on any page you would like to do sprites on and you just select the ones you want and etc. Sad
Post 26 Jun 2012, 21:32
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 27 Jun 2012, 06:19
Madis731 wrote:
... I will give you an optimization hint: sprites are good! Smile .......... I just can't find that neat javascript thingy that loaded a tool on any page you would like to do sprites on and you just select the ones you want and etc. Sad
Thanks for the suggestion. I am not very good in the HTML/CSS design, so probably there are a lot of things that can be improved. I am trying to not use JavaScript in this design, but as long as the HTML templates and CSS style sheets are independent from the CGI engine, the users of the CMS can customize them on his preference.

BTW, yesterday I uploaded the last components I wanted:

1. The online article editor - now the authorized author can edit articles online and save them to the server.

2. Visitors comment feature - now everyone can comment the articles (there is a form at the end of the article).

These new features are still not tested closely, so the version can be considered "beta". I will not make changes for some time, but only bug fixes.

I am not very sure about the security issues with the comments feature. I made some effort to make it safe, but as long as I am not online security expert, some flaws are possible.

Any help and opinions on that matter will be greatly appreciated.

_________________
Tox ID: 48C0321ADDB2FE5F644BB5E3D58B0D58C35E5BCBC81D7CD333633FEDF1047914A534256478D9
Post 27 Jun 2012, 06:19
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4333
Location: Now
edfed 27 Jun 2012, 21:20
you can decrease the number of colors in an image before compression, it will significantlly decrease the size of the png.

gimp powaaaa!
Post 27 Jun 2012, 21:20
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 28 Jun 2012, 04:17
For very small, low colors images, gif is still better. It supports small palettes: 2..7 bit colors that png doesn't support. For example, the attached image is 133 bytes and have 8 colors palette. Encoded in .png it grows at least to 900 bytes.


Description:
Filesize: 133 Bytes
Viewed: 16009 Time(s)

document_new.gif



_________________
Tox ID: 48C0321ADDB2FE5F644BB5E3D58B0D58C35E5BCBC81D7CD333633FEDF1047914A534256478D9
Post 28 Jun 2012, 04:17
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Enko



Joined: 03 Apr 2007
Posts: 676
Location: Mar del Plata
Enko 28 Jun 2012, 14:06
Actually the size is 291b.
There is PNG8 with exact pallet
With transparency

Without 271b.


Description:
Filesize: 291 Bytes
Viewed: 15994 Time(s)

document_new_650.png


Post 28 Jun 2012, 14:06
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 28 Jun 2012, 14:21
291 bytes are still more than double to 133bytes.
As long as GIF format is free now, I can't understand why there is a some kind of antipathy towards GIF images. Confused
Of course, if you need PNG advanced features - alpha channel, true color, etc. then the choice is predetermined. But for small images GIF is still better IMHO.
Post 28 Jun 2012, 14:21
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Enko



Joined: 03 Apr 2007
Posts: 676
Location: Mar del Plata
Enko 28 Jun 2012, 14:30
I think its because some are stuck in the 20th century where the gif format was licensed. xD

imho for very small pics gif is better.
(I just wanted to point that png is not so cruel)
Post 28 Jun 2012, 14:30
View user's profile Send private message Reply with quote
kalambong



Joined: 08 Nov 2008
Posts: 165
kalambong 22 Jul 2012, 02:18
How's the project coming, John Found ?
Post 22 Jul 2012, 02:18
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 22 Jul 2012, 03:57
kalambong wrote:
How's the project coming, John Found ?


Well, it is stable now and supports a lot of features.

It drives my home page: http://asm32.hopto.org more than a month now.

Does not crash and is still not hacked. Smile

That's how matters stand...

_________________
Tox ID: 48C0321ADDB2FE5F644BB5E3D58B0D58C35E5BCBC81D7CD333633FEDF1047914A534256478D9
Post 22 Jul 2012, 03:57
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
kalambong



Joined: 08 Nov 2008
Posts: 165
kalambong 23 Jan 2013, 05:53
JohnFound wrote:
kalambong, G-WAN seems to be really interesting web server.
It supports my assembly CGI for sure. Maybe I will play with it later.



Seven months have passed.

John, I wonder if you have found time to play with G-Wan?
Post 23 Jan 2013, 05:53
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 23 Jan 2013, 06:58
kalambong wrote:
John, I wonder if you have found time to play with G-Wan?


No, actually. Embarassed I still run lighttpd server on my home server (it is one core AMD Sempron) and is not heavy loaded.

On the other hand, for these 7 months, I managed to run MiniMagAsm on a regular commercial hosting - I mean http://fresh.flatassembler.net now is managed by MiniMagAsm on Bluehost 64bit Linux server.

Also, I am writing my own portable web server in assembly language, that will be able to run in Windows, Linux and KolibriOS.

_________________
Tox ID: 48C0321ADDB2FE5F644BB5E3D58B0D58C35E5BCBC81D7CD333633FEDF1047914A534256478D9
Post 23 Jan 2013, 06:58
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
kalambong



Joined: 08 Nov 2008
Posts: 165
kalambong 09 May 2013, 06:22
JohnFound wrote:
Also, I am writing my own portable web server in assembly language, that will be able to run in Windows, Linux and KolibriOS.
Any news on that front, John ?
Post 09 May 2013, 06:22
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 19 Jul 2013, 12:45
New version of MiniMagAsm has been submitted. It is a new script "sitemap.cgi" that generates a XML file with links to all articles published.
Post 19 Jul 2013, 12:45
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3, 4, 5

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.