Encoding of Smarty Templates. |
|
Hi,
Does NuCoder also support the encoding of smarty templates? Thanx |
||||||||||||
|
Site Admin
|
Smarty templates are containing text that is intending for processing by Smarty class.
Certainly, Smarty class knows nothing about encoding-decoding. It works with source text and only. In other words, even if we get tpl files encoded, in order to get them working we'd have to decode files into original source form before passing to Smarty class. Therefore anybody will get good chance to get files decoded. On the other hand, what Smarty produces after parsing (see smarty cache directory) are php files and they can be encoded and provided to the user. In this case tpl files would not be needed at all. |
||||||||||||
_________________ The PHP IDE team |
|
Hi ,
I have found out that ioncube has a solution for encoding smarty. I would like to have all products from one company, so I can use phped for development and in future I can use phped to encode my php files. Can you provide me with a solution on how i can encode smarty (template_c folder) by using nucoder? Regards Robert |
||||||||||||
|
|
Hi it's me again,
I am sorry, don't want to go on your nerves, I guess I was drunk yesterday when I wrote the last two postings. What I am trying to say is that I love working with phped and it would be really great if encoding and development could be done with one product. Nucoder is not so expansive as other encoding products on the market and it is developed by you so too me it has all the potential to become a great product, and that is why I want to use it. The only problem I have is, that I am using smarty template engine to develop my applications. Now I also understand what you meant with smarty cache, I could compile all templates I have created and then encode the files which are stored in the template_c folder, maybe for small projects this is a good idea but for big projects I am not so sure. I have found out that the developers from ioncube have such a module created that can encode on the fly smarty template files. So my question to you is: 1. Are you also planning to develop a module that can encode smarty templates for nucoder? 2. If not, would it be possible, in some way to use nucoder to encode smarty templates? Maybe you have a solution for question two. That was all I wanted to say with my last two postings. Thank you very much for helping. Best regards Robert |
||||||||||||
|
Site Admin
|
I'm not familiar with that solution.
On the first glance, they offer to replace smarty _read_file function with ther's where files are read and decoded on the fly when smarty needs them. It looks like it's not what you're expecting. If file can be that easily decoded into the original (source) form, nothing could stop user from getting the source. |
||||||||||||
_________________ The PHP IDE team |
|
Hi,
First of all I would like to wish the whole NuSphere Team a Happy new year , So I could use nucoder to encode already compiled files which have been copied to the template_c folder. I will download nucoder and try it out. Or is there another solution you can recommend me? Thanks All the best wishes for 2007 and keep on doing the good work. Regards Robert |
||||||||||||
|
Veteran
|
Hi Robert - we wish you and all other members of PhpED/PhpDock/Nu-Coder community all the best in 2007 as well, thank you very much for doing business with us!
Yes, encoding the generated files seems like the best solution with Nu-Coder. |
||||||||||||
|
Veteran
|
What is the point of encoding smart templates ?
Normally you would let the smart templates be unencoded, so users are able to change the layout of the applications using only the smart template files. As long as the rest of the application is encoded then what is the problem. |
||||||||||||
|
|
Yeah that is exactly what I meant with my second posting.
I guess that I only need to encode the PHP files and leave the *.tpl files as they are. Everybody has the possibility to view the HTML code of a site in a web browser. So it is possible to encode the php files which are calling smarty template files. Hhhmm .........that was the thing I wanted to know, if had tested it before posting the question then we did not had such a nice conversation. Thank you very much for this discussion. I will test this with Nucode I am sure that it will work. Regards Robert |
||||||||||||
|
Encoding of Smarty Templates. |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by