Support MemHT, Vote Now!
MemHT Portal is a Free PHP CMS and Blog
It permit the creation and the management online of websites with few and easy steps.
It's completelly customizable, expandable and suitable for all needs.
     Site demo
Moderators: mem paulo89 adminik
RSSReply
XML Installer
AuthorText
Docwyatt2001
Developer
Avatar

Posts: 87
Contributes: 0

Gender: _MALE_
Online: No

Version: 3.7.5
Country: Australia
Date: 01/06/2008 08:57
XML Installer
#post7636
Loving this idea...

There was two things I was going to suggest for the XML file spec, and a third to the general public.

The first two was the inclusion of the following two additional tags (Optional of course in the actual format)

code
<component opt="image">data</component>

and

code
<component opt="logo">data</component>

I know it sounds silly, but some people like to brand their mods/addons/blocks - both for the item themselves or the company/group/team they work for.

The data component will be then a base 64 encoded file (gif, jpg, png, etc) which will allow the file to continue to be self contained.

Data will be something like this...
code
png;base64,iVBORw0KGgoAAAANSUhEUgAAADIA...

You can then insert that back into an image tag as the source.. ie.
code
<img src="data:image/png;base64,...." alt="">

How can you do this Base64 Embedded Image (not IE) and Dean Edwards IE work around

The limitation will be an image that can be about 128 x 128 maximum due to the IE post length (the PHP workaround) - so not got for huge pictures, but small logos will be good.

Which then leads me on to the next suggestion.

We all know how busy Mem is writing this, so what I would like to propose is that we, the community, help write an builder or compiler for this XML file format, so people can write there own addons, etc, and have it created correctly every time. Things such as validity checkers, and security checks could be included?

What do people think? (to either set of suggestions)?
"Where is my damn coffee!!!"
Delete Edit Quote
 
mem
MemHT's Dad
Admin / Developer

Avatar

Posts: 3778
Contributes: 1050

Gender: _MALE_
Online: No

Languages: English, Italiano, Makedonski, Srpski, Un poco de Español
Date: 01/06/2008 10:08
Re: XML Installer
#post7639
It seems you already know all my intentions Smile

I was thinking to create a small function that permit to the installer to create images from code, writing the file at the installation or using them always from the code (as your solution). I'm very happy you have the intention to orginiza the work with others, thanks Smile
Image
MemHT Portal - Free PHP CMS and Blog

"Great works are performed, not by strength, but by perseverance."
Samuel Johnson

READ THIS before posting your support question in the forum!
Delete Edit Quote
 
Docwyatt2001
Developer
Avatar

Posts: 87
Contributes: 0

Gender: _MALE_
Online: No

Version: 3.7.5
Country: Australia
Date: 01/06/2008 10:24
Re: XML Installer
#post7640
quote
mem:
It seems you already know all my intentions Smile

Ok.. Now I'm scared... I'm thinking like Mem Smile

quote
mem:
I was thinking to create a small function that permit to the installer to create images from code, writing the file at the installation or using them always from the code (as your solution). I'm very happy you have the intention to orginiza the work with others, thanks Smile

Where you thinking it as part of the Memht core,or a standalone project?

And I'm happy to organise people if they are interested. If any one is, PM me.
Edited: 01/06/2008 10:38
"Where is my damn coffee!!!"
Delete Edit Quote
 
mem
MemHT's Dad
Admin / Developer

Avatar

Posts: 3778
Contributes: 1050

Gender: _MALE_
Online: No

Languages: English, Italiano, Makedonski, Srpski, Un poco de Español
Date: 01/06/2008 10:35
Re: XML Installer
#post7641
In the first case into the core, in the second case it can be used directly into addons
Image
MemHT Portal - Free PHP CMS and Blog

"Great works are performed, not by strength, but by perseverance."
Samuel Johnson

READ THIS before posting your support question in the forum!
Delete Edit Quote
 
Docwyatt2001
Developer
Avatar

Posts: 87
Contributes: 0

Gender: _MALE_
Online: No

Version: 3.7.5
Country: Australia
Date: 01/06/2008 10:41
Re: XML Installer
#post7642
Clever... I hadn't expanded the thought to cover in line images in the actual addon. Nice.
"Where is my damn coffee!!!"
Delete Edit Quote
 
Reply
Tags Cloud
Advertising
News Archive
Help MemHT Portal
Navigator
Search
Users Block
Hi Guest
IP: 38.103.63.60

Username
Password
New files
Friends
Language
MemHT Portal is a free software released under the GNU/GPL License by Miltenovik Manojlo