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.115 seconds

This is what you call a component builder. I was able to master using this in a very short time and the resulting component works like a charm. Not just a basic component builder but a fully working component builder with forms fields tables all ready to go. You can make the list and item views to display in the front and back end. Also there is a great forum just starting to evolve and I'm sure this will grow very rapidly when you all realise how good this tool is.
Kevin (JED)

         

Get Started