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

TOPIC:

Minified project download 09 May 2018 12:04 #15567

  • vlemos
  • vlemos's Avatar Topic Author
  • Away
  • 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
  • Away
  • 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
  • Away
  • 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.085 seconds

Although I found this tool some time ago I just started learning experimenting and building this first component on Monday and now on Thursday afternoon it's already online. Although I already had a working version done with another tool this is much easier to build and at the end you have the freedom to own your own component. Once you know how to use Cook you will boost your productivity as the learning curve is really moderate compared to many other tools.
Giori (Forum)

Get Started