These are chat archives for ppi/framework

19th
May 2015
Pereira Ricardo
@namaless
May 19 2015 08:32
Hello guys!
anyone give problem with composer on windows installation? I get this when install or update:
Writing lock file
Generating autoload files
Installing assets using the symlink option
Installing assets for Framework into public/modules/framework



  [Symfony\Component\Filesystem\Exception\IOException]
  Failed to create symbolic link from "../../modules/Framework/resources/public/" to "public/modules/framework".



assets:install [--symlink] [--relative] [target]


Script PPI\DistributionModule\Composer\ScriptHandler::installAssets handling the post-update-cmd event terminated with an exception



  [RuntimeException]
  An error occurred when executing the ""assets:install --symlink --relative  public "" command.



update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [packages1] ... [packagesN]
Pereira Ricardo
@namaless
May 19 2015 08:54
for a moment i have removed this from composer.json file:
"ppi-assets-install_": "symlink-relative"
Paul Dragoonis
@dragoonis
May 19 2015 10:10
@namaless welcome :)
@namaless perhaps it's becuase windows doesn't support symlinks - I will raise a bug ticket for this, for us to look into and test.
I have raised this bug ticket ppi/skeletonapp#43
Pereira Ricardo
@namaless
May 19 2015 10:47
Yes sorry i do not see the chat :P
I posted my idea for fix it (without code) :)
Paul Dragoonis
@dragoonis
May 19 2015 10:47
:)
@namaless - Gitter has Chrome has Browser Notification
so you get desktop notification when your name is mentioned
Pereira Ricardo
@namaless
May 19 2015 10:48
I have gitter app too xD but im in other room, i not think the notification can change the my rooms :D
Paul Dragoonis
@dragoonis
May 19 2015 10:48
:D
Pereira Ricardo
@namaless
May 19 2015 10:48
ehehehehe btw great project
Paul Dragoonis
@dragoonis
May 19 2015 10:49
Thanks! where did you hear about PPI ?
Pereira Ricardo
@namaless
May 19 2015 10:49
from google when i search "framework module php" :P
Paul Dragoonis
@dragoonis
May 19 2015 10:49
cool!
Pereira Ricardo
@namaless
May 19 2015 10:49
I remember i have already see this, but i don't like in the past...
Paul Dragoonis
@dragoonis
May 19 2015 10:49
we are improving, lots!!
Pereira Ricardo
@namaless
May 19 2015 10:49
is possible the folder structure and modules are coming in the 2.1?
Paul Dragoonis
@dragoonis
May 19 2015 10:50
explain?
Pereira Ricardo
@namaless
May 19 2015 10:50
mmm
i think you not understand
give a sec
I had already seen this project in the past, it is possible that the folder structure or the modules have been added recently?
ty gtanslate lol
Paul Dragoonis
@dragoonis
May 19 2015 10:52
:clap:
@namaless not 100% understand - but if what you see right now, and you are happy - then everything is :+1:
Pereira Ricardo
@namaless
May 19 2015 10:52
yes, the best framework folder structure i found it :D
if i can give one suggestion or you have a fix for this
ill try the skeleton app... but
php + yaml file in the config
some routers class :/
some template engines xD
I understand the skeleton app is for see the power of the framework, but is possible to have one clean?
Paul Dragoonis
@dragoonis
May 19 2015 10:54
@namaless i understand - we are working on clean skeleton app, right now the files are there to see the power
I recommend you use config/*.php :)
but config/*.yml will work too!
I recommend you DELETE what you do not use.
if(using yml) { delete *.php config }
Pereira Ricardo
@namaless
May 19 2015 10:55
ofc php is much fast :)
Paul Dragoonis
@dragoonis
May 19 2015 10:55
Templating: if(using twig) { delete *.smarty, *.php }
Undertand ?
Pereira Ricardo
@namaless
May 19 2015 10:56
yes this is the way :D
Paul Dragoonis
@dragoonis
May 19 2015 10:56
We also now support Aura3 Routing + Symfony2 Routing, for each module :)
Pereira Ricardo
@namaless
May 19 2015 10:56
no worries i understand, the my problem is my horrible english xD
Paul Dragoonis
@dragoonis
May 19 2015 10:56
New 2.1 feature
Pereira Ricardo
@namaless
May 19 2015 10:56
yes i see, ofc i use 2.1-dev :P
Paul Dragoonis
@dragoonis
May 19 2015 10:57
for example
and this, for example module structure, for 2.1: http://talks.ppi.io/20150513-phpsw/#/33
Pereira Ricardo
@namaless
May 19 2015 10:58
yes i read yestaday night the 2.1 doc
it's fantastic for me this organization :)
mmm i think start with clean framework app, then i choice what i need and i can learn much more from this
Paul Dragoonis
@dragoonis
May 19 2015 11:00
@namaless okay, we are here if you want to talk, or need help
Pereira Ricardo
@namaless
May 19 2015 11:01
btw my time is over, thanks again for some helps here and for all your free work on this project ^^
Paul Dragoonis
@dragoonis
May 19 2015 11:01
PPI = pick what you need. (config, routers, templating) ..etc
Pereira Ricardo
@namaless
May 19 2015 11:01
yes ofc i like this, but i working sometimes with personal classes or symfony components
Paul Dragoonis
@dragoonis
May 19 2015 11:02
great - bring them into your PPI module - easy :) (composer)
Pereira Ricardo
@namaless
May 19 2015 11:02
aura srly i don't know, but all the times we can learn :D
btw now i need to go, bye all in listen ^^
Paul Dragoonis
@dragoonis
May 19 2015 11:03
bye @namaless
Pereira Ricardo
@namaless
May 19 2015 12:03
omg
Paul Dragoonis
@dragoonis
May 19 2015 13:29
@namaless omg = ?
Pereira Ricardo
@namaless
May 19 2015 14:59
I see how to working every module, nice implementation :)
btw i need to understand the templating object, i see the smarty module and this have few extensions, in the twig module are missed, I need to implement or we need to add into twig module?
@dragoonis notification :P
<title>Welcome to Symfony!</title>
Paul Dragoonis
@dragoonis
May 19 2015 15:16
@namaless yes, this is 100% symfony templating component, in your PPI module :)
I will update that to say Welcome to PPI
Pereira Ricardo
@namaless
May 19 2015 15:16
but lol... welcome to PPI not to symfony :P
Paul Dragoonis
@dragoonis
May 19 2015 15:16
@namaless what are you missing, for twig documentation?
Pereira Ricardo
@namaless
May 19 2015 15:17
for a moment learn time, but i check ppi repo and see the twig/smarty/musta module repo
Paul Dragoonis
@dragoonis
May 19 2015 15:17
yea - docs needing added in this area - they're on the list - coming soon :)
Pereira Ricardo
@namaless
May 19 2015 15:17
and the first i think for the route urls
or assets
i see the ppi templating object have this methods
Paul Dragoonis
@dragoonis
May 19 2015 15:18
Pereira Ricardo
@namaless
May 19 2015 15:18
after i see the framework source and TwigEngine class
ahhhh
Paul Dragoonis
@dragoonis
May 19 2015 15:18
It is 100% symofny here, so we re-use everything :)
Pereira Ricardo
@namaless
May 19 2015 15:18
ok for the next time i check what class you loaded in the main framework :P
yeah i love symfony and know him ^^
no the fullstack, but i used sometimes some components...
btw you are here so i use you :P
Paul Dragoonis
@dragoonis
May 19 2015 15:19
:P cool
we use components/main framework, inside small PPI Module
Pereira Ricardo
@namaless
May 19 2015 15:20
the first project i want to port with ppi it's based with backend by cockpit, you know?
Paul Dragoonis
@dragoonis
May 19 2015 15:20
looks nice - excited to see what you make :)
Pereira Ricardo
@namaless
May 19 2015 15:20
btw it's simple, i give the data from this backend
i check your usermodule, but i think i don't need all this classes xD
because the datastore come directly from the backend, i give directly the result
Paul Dragoonis
@dragoonis
May 19 2015 15:21
UserModule isn't so great - maybe delete it, if you don't like it
Pereira Ricardo
@namaless
May 19 2015 15:21
no worries, i understand the true way, you explain me before :P
btw i think the best way is first create a module example CockpitModule xD
this module interface any cockpit installation with ppi, then create my modules for my app true?
Paul Dragoonis
@dragoonis
May 19 2015 15:23
Yep
Pereira Ricardo
@namaless
May 19 2015 15:23
or extend the ppi datastore? mmm
Paul Dragoonis
@dragoonis
May 19 2015 15:23
use your own, or use PPI datasource
PPI datasource is just Connection's to many libraries
Pereira Ricardo
@namaless
May 19 2015 15:23
i see ppi datasource is pdo true?
DoctrineDBAL { PDO }
DoctrineDBAL is great library, which is wrapping PDO
Pereira Ricardo
@namaless
May 19 2015 15:24
yeah i see now...
mmm
Pereira Ricardo
@namaless
May 19 2015 15:24
in the future i think create one connection for mongolite
yeah i love/hate dbal xD
ah, important, the module Application it's the core of app, so for any project i need to implement my work inside true?
or example if i want a blog site, i create a blog module, the application module not need for me, is true?
sorry if i ask to you some questions :(
Paul Dragoonis
@dragoonis
May 19 2015 15:27
some modules there, to power the website
"BlogModule"
Pereira Ricardo
@namaless
May 19 2015 15:27
yeah it's only for example :P
Paul Dragoonis
@dragoonis
May 19 2015 15:28
Application is for example, or to put maybe things like "/" or "/about"
Pereira Ricardo
@namaless
May 19 2015 15:28
ah ok, i the same of symfony framework so
ok i see all modules and not required to start my application :)
really great project, srly :)
now i need to see for i18n and multi languages :D
i think the translator is a true way
Paul Dragoonis
@dragoonis
May 19 2015 15:37
yes :) Use Zend/Symfony for i18n
PPI = consume all the things
consumare :) (ITA)
Pereira Ricardo
@namaless
May 19 2015 15:38
ahahahahaaha
Paul Dragoonis
@dragoonis
May 19 2015 15:38
PPI = consumare tutte le cose
Pereira Ricardo
@namaless
May 19 2015 15:38
no worries i can translate, no lose time for translating, but thanks :D
for the first project i don't need the multi languages because is only on one language, but i need i18n for simple my life :D
in the bad case i use a simple array and end :)
Pereira Ricardo
@namaless
May 19 2015 17:27
suggestion for performance: use only one template engine or leave enabled all 3?
Vítor Brandão
@noisebleed
May 19 2015 19:55
@namaless Templating engines are lazy loaded but if you don't need all of them disable those you are not going to use.
Pereira Ricardo
@namaless
May 19 2015 19:59
i think for the future use of other modules, example i wanna add the usermodule i need the php templating
Vítor Brandão
@noisebleed
May 19 2015 20:01
@namaless what language do you natively speak? Italian, Portuguese?
Pereira Ricardo
@namaless
May 19 2015 20:01
italian :D
Vítor Brandão
@noisebleed
May 19 2015 20:02
Funny, your name is 100% Portuguese :)
Pereira Ricardo
@namaless
May 19 2015 20:02
yes i born on portugal ;)
Vítor Brandão
@noisebleed
May 19 2015 20:02
same as me ;)
Pereira Ricardo
@namaless
May 19 2015 20:02
i have another name and surname btw i not used on public profile on github :P