Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Minified project download 09 May 2018 12:04 #15567

  • vlemos
  • vlemos's Avatar Topic Author
  • Online
  • Elite Member
  • Elite Member
  • Posts: 295
  • Thank you received: 41
Hello Admin, is it possible to provide a minified version of COOK user projects for download?

At times a developer wants to provide a solution yet reserve a certain level of IP. A minified version would allow us to make a solution a bit more difficult to read and understand.

Thx V

Please Log in or Create an account to join the conversation.

Minified project download 09 May 2018 22:17 #15569

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
I never thought of making this...
Apparently generated code is not complex enough for you ? lol

You mean changing the variables name (a, b, c, d), putting in line, removing all possible spaces, encoding some parts eventualy.
Well, I am not sure it could one day be available because of lack of interrest. It is the first time I heard such request. I would probably never do that for my own projects.
You might use a specific third part application processing the generated code.
Because such code analyse the php and transform, it must be a multi language interpreter. Quite complex and not in the roadmap fo sure
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Minified project download 11 May 2018 00:42 #15571

  • vlemos
  • vlemos's Avatar Topic Author
  • Online
  • Elite Member
  • Elite Member
  • Posts: 295
  • Thank you received: 41
Sorry if I wasn't clear, but I was simply talking about removing all the file formatting [tabs, carriage-returns, comments, etc.] and dumping a string into the file name.

Please Log in or Create an account to join the conversation.

Minified project download 11 May 2018 13:16 #15574

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Some of these thing can be usefull for optimization and for security.

Comments : I should create the application layer for managing comments, and giving the option. > That's good
Spaces and Tabs : Yes Also (simple parser that removes it all)
Variables renaming : impossible for me. It is not the direction I want to go. Way too complex for a single feature
File renaming:. Every file has a specific place and a conventional name (as you know). May be possible, but every class has to be registered into JLoader. Is that you meant ?
Dev comfort vs Optimization : Removing static string values such as viewName, layout name... these vars are used for developper. Theoricaly there are many such things... Optional ORM System...
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Minified project download 11 May 2018 14:14 #15575

  • vlemos
  • vlemos's Avatar Topic Author
  • Online
  • Elite Member
  • Elite Member
  • Posts: 295
  • Thank you received: 41
Yes, I understand the time constraints; that's why I am ONLY speaking about removing the white-space and comments from each generated file.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.121 seconds
  I still don't believe he can really be human to do all this ! From all of the forums that I've ever participated in this is certainly the one that most encapsulates the feeling of being truly open source where everyone's opinions and contributions can and will shape the development of the service! It's truly awesome! Hope you enjoy cooking and look forward to reading and contributing to any of the editorial work that you proposed too!! Thanks
Gez (audibleid - JED)

Get Started