The Little Guy Posted May 6, 2008 Share Posted May 6, 2008 I am making a text editor, and I want to have built in templates, what would be the best way to store these files? I don't know if it matters, but I am using Visual Basic. Quote Link to comment https://forums.phpfreaks.com/topic/104316-templates/ Share on other sites More sharing options...
trq Posted May 6, 2008 Share Posted May 6, 2008 what would be the best way to store these files? One would assume as text files. Quote Link to comment https://forums.phpfreaks.com/topic/104316-templates/#findComment-534126 Share on other sites More sharing options...
The Little Guy Posted May 6, 2008 Author Share Posted May 6, 2008 But then the text files can be changed easily (on purpose or accident). Quote Link to comment https://forums.phpfreaks.com/topic/104316-templates/#findComment-534758 Share on other sites More sharing options...
trq Posted May 6, 2008 Share Posted May 6, 2008 I don't see the problem, but then again, I'm a Linux user where everything is configurable through simple text files. Maybe you could store them in the registry or a database like sqlite? Just seems like overkill to me though. Quote Link to comment https://forums.phpfreaks.com/topic/104316-templates/#findComment-534763 Share on other sites More sharing options...
448191 Posted May 7, 2008 Share Posted May 7, 2008 If you insist on having non-editable template files (don't see why -- templates are one of the things I WOULD want editable --, but hey, your party), simply compile them. Keep the data in the native language. Quote Link to comment https://forums.phpfreaks.com/topic/104316-templates/#findComment-535578 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.