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

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started