btw, in SonataMediaBundle [1] there are quite some things about handling
cnd and file systems. it could be a good use case to challenge any
solution we come up with.
it would be great if somebody can come up with a good concept for this.
not sure if gaufrette is complete and enough or if it needs
/issues/1081
feedback welcome. when i have a go that we do it this way, i will
write a cookbook entry for bundles with reusable entities and the
compiler passes for doctrine mongo/couch/phpcr.
cheers,david
Am 20.02.2013 13:53, schrieb David Buchmann:
> hi,
>
> i want to try to revive an old d
questions. feedback is very
welcome.
cheers,david
[1]
https://github.com/dbu/FOSUserBundle/blob/doctrine-compiler-pass/DependencyInjection/OrmMappingBundleInterface.php
[2] https://github.com/dbu/FOSUserBundle/pull/1
cheers,david
Am 20.02.2013 13:53, schrieb David Buchmann:
> hi,
>
> i wa
can phpbb also handle answering to emails? sort of like github or jira,
where an answer email creates a new comment on the issue...
then i think we could take this as a chance to re-unite the forum and
mailinglist communities.
if it won't be possible to answer by email, we either need somebody to
i think this question should be asked on a doctrine channel (assuming
you use doctrine), see http://www.doctrine-project.org/
a quick check in the doctrine documentation found me this:
http://docs.doctrine-project.org/en/latest/reference/native-sql.html
Am 19.03.2013 10:08, schrieb Asep Fajar Nug
i think that is an excellent idea. i forwarded this to the
symfony-cmf-devs list so that the content management framework
developpers also think about this.
one thing that comes to my mind would be to clean up the sonata admin
code and documentation. it is an insanely powerful system, but hard to
while drupal 8 is probably a good name to promote symfony with business
people, the rest of the frameworks mentioned is probably not that known
to managers. it does surely not hurt to collect a more and more
impressive list of what is using symfony components, but i think the
most important are rea
this is the mailing list about developping symfony2, so not really the
right place for this kind of questions. you should use the
symfo...@googlegroups.com list for such questions.
> Hi, I'm trying to create an utility class (inside a generic Utility
> subdirectory of my bundle) to implement some
> - Demo repositories like https://github.com/liip/LiipHelloBundle but
> focus on starters demonstrating the power of Doctrine, Twig, Forms
you could add https://github.com/dbu/symfony-speed/ to that collection,
a step-by-step demo how to optimize requests with assetic and varnish.
cheers,david
hi,
i want to try to revive an old discussion [1] that never came to any
conclusion: what would be the right folders for doctrine model classes?
with phpcr-odm we start to see clashes between mongo-odm and phpcr-odm
[2].
the thread went into a discussion that having persistence specific
classes
probably not fair to pick the concrete example of routing, but:
you could use the DynamicRouter and write a route repository that
triggers the "RoutesCollect" (what you call "info") event and then the
"RoutesAlter" event.
btw, i think lukas smith is pushing for an "alter" cicle in the DI
loading,
hi,
probably not exactly what you need, but if you need more dynamic routes,
take a look at the SymfonyCmfRoutingExtraBundle, it has code to handle
routes coming from any source, i.e. a database.
cheers,
david
Am 17.10.2012 23:06, schrieb Mario Alberto Alvarez Garcia:
> Hi,
> I'm trying to find
> be that as it may .. how do we address the issue of wanting to be able to
> match different routes for different users?
>
> f.e. i want to be able to have a publish/unpublish flag for pages .. or a
> publish date. of course this would not apply to admins, who also need to be
> abel to view un
are you sure you wanted to update the dependencies?
usually you just do composer install, and this will get you the set of
version known to work together as defined in composer.lock
Am 22.09.2012 01:38, schrieb John Francis Mukulu:
> I need help on which version of repository should i set for thi
if you checked out a project based on the symfony standard edition and
need the router then either something needs to be fixed or you have to
figure out what happened to app_dev.php
btw its uncommon that the vendor code lives in src/
take a look at the symfony standard edition if you want to unde
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi,
in the cmf project we encounter a weird issue with the cache clearing
and warmup process:
https://github.com/symfony-cmf/Routing/issues/15
basically it looks like when we run cache:clear something is not
realizing appdevUrlMatcher already is load
> Do you have any thoughts about new major PHP releases? Current minimum
> PHP version is 5.3.3. PHP 5.4 is not adapted by enterprise systems yet
> - but it is only a matter of time.
i guess 5.3 will stay around for quite a while. not all hosters are
quick to update.
making real use of 5.4 means b
hi,
if you extend the symfony base controller, you can simply do
$this->redirect($this->generateUrl('url'));
i don't think this is more complicated. the plus side is that you need
to remember only those two methods. generating an url for something else
than redirecting works the same way.
cheer
this mailinglist is about symfony development, not about doctrine user
questions. you should ask on one of the support channels of doctrine [1]
what you are looking for is id generators. a not very good example is
here [2] for all its worth.
that said, i have to add: be really careful about addi
way this could be solved is with a set of suggested
> standards for admin bundles, serializers etc. but this could be seen as
> unfair on other bundles of that do the same thing.
>
> [1] - http://nelm.io/blog/2012/05/an-appeal-to-all-package-managers/
>
> Thanks
>
> Michael C
>
when i last discussed with jordi, one of the brains behind composer, he
was looking for a solution for managing javascript dependencies. its
kind of strange to need symfony bundles for javascript code, just so the
php composer can track them.
if somebody has good ideas (i.e. knows if there is a de
entios have the advantage that they are very simple to follow and
> understand, just that they easily lead to undesired coupling.
>
> Research that keeps me up on this topic is the new "Data, Context,
> Interaction" movement and this talk by Uncle Bob:
> http://confreaks.com/vide
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi,
we are actually discussing two things here:
1. how to avoid namespace collisions when you create persistence
specific classes
2. how to avoid writing persistence specific classes
1) i totally agree we have to avoid name clashes and will happily
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi,
i don't think its realistic to expect every bundle to exist in PEAR.
bundles are developped by various parties.
however, there is hope: for symfony 2.1, dependencies will be managed
with composer [1]. there where ideas to have composer keep local
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
cool idea, thanks for sharing!
however, it would be even more useful if it would walk the vendors
directory to find any git roots (folders having .git in them) as some
libraries are included directly in vendors, and for bundles/ there might
be various
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi,
i would love to see symfony using travis to automatically test pull
requests. its just so much better than asking the people to confirm unit
tests still run (even if they really ran the full suite and do not lie,
i doubt everybody re-runs it for e
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi,
symfony itself does not have to do anything with databases, it is a
framework and not a database driver. it bundles doctrine, which is what
you probably tried to use.
try to see if you find information on http://www.doctrine-project.org
and if not
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi,
this looks very strange indeed. see the path app/cache/dev... => you
ususally deploy with a production kernel (web/app.php and not
web/app_dev.php and
$kernel = new AppCache(new AppKernel('prod', false));
make sure when deploying you run app/cons
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> I have to clean the cache to see again the translations correctly.
>
> Is this a bug?
>
> sf 2.0.3
https://github.com/symfony/symfony/issues/2250
(as mentioned in the other thread about this topic ;-)
i do hope somebody with more insight can fig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi magnus, hi everybody,
a follow up to this old thread: we are finally working on a bundle to
chain routers. the benefit over registering several event listeners is a
little performance gain and more explicit control over what is happening.
we need
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi,
and sorry for abusing this list for a non-symfony question. (but its for
the symfony cmf project, so i hope you can bare with me)
we want to put most of the cmf bundles into one git repository, but
additionally expose some of them as separate git
ate custom bundle and use paths in this way.
>
> 31 травня 2011 р. 10:21 David Buchmann <mailto:david.buchm...@liip.ch>> написав:
>
> hi anton,
>
> this sounds like you are not using the AsseticBundle. if you use the
> assetic bundle, you will have something lik
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
i did an internal presentation on assetic, explaining it as far as found
out experimenting and gathered from the mailing list. the slides are
available and might help a bit:
http://slides.liip.ch/static/2011-05-31_assetic/#1
-BEGIN PGP SIGNATURE---
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi anton,
this sounds like you are not using the AsseticBundle. if you use the
assetic bundle, you will have something like the following in your
template, and let assetic handle it (i recommend setting the controller
to true in your config_dev.yml)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> And what about forcing usage of () at the end. Seems to be
> straightforward and fixes most issues.
+1
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk3e
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
FOSUserBundle:
when looking at the number of questions on the symfony-users list
regarding the user bundle, i think it would help many beginners to have
a basic user setup in the standard edition.
its easy to turn off if you don't need it, but for beg
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi magnus,
this sounds like a very interesting approach to that problem.
can you provide some pointers how to use (build?) such a chain router
and implement a custom router?
for the cmf, we currently have a navigation module that uses a catch-all
rout
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hello bart,
> I've been aware of the CMF project for a while, but i'm afraid our CMS
> needs to remain proprietary due to the nature of our customers, at
> least for a little while.
> I am however reading up on the CMF project and adapting our design
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi bart,
> The company i work for has started developing a content management
> system on top of Symfony 2.
did you see the content management framework project? the aim is to
build pluggable components that can be used to build content management
in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi victor,
i think the best strategy would be:
keep the default (persist), but add your max size idea (if total size is
> limit, delete older files until in limit again) or just have a max age
(delete everything older than i.e. an hour) with again a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
>> Thanks. I understand that vendors.sh will be updated to use alpha2
>
> it has been ..
>
> however i think its no longer necessary as Fabien merged the necessary core
> changes.
i can confirm that. had the problem, now using both master for symfo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
+1 for following naming conventions and call the methods to add log
messages addXXX()
as you can choose your own logger with as many levels as you want for
your application anyway, it seems a good idea to me to keep the required
number as low as possi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
maybe it would make sense to provide a symfony2 testbed distribution for
that, with a recent phpunit in the vendors folder? and some useful
configuration to run the test suites for different parts of symfony...
phpunit does not belong onto a productio
er users. I'd
> prefer not to use XML for reasons I don't need to go into here (much
> bigger debate).
>
> This is of course, just a suggestion. Thoughts?
>
> Thanks,
> Marc
>
> On Apr 7, 2:32 am, David Buchmann wrote:
> hi,
>
> you can write your
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi,
you can write your own service declaration for the esi service for your
application and pass an argument to the constructor with the types that
should be handled. see the default service configuration:
FrameworkBundle/Resources/config/esi.xml
@th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> In the mean time if you dont want to live on the edge use submodules or a
> self maintained fork.
you can also edit bin/vendors.sh script and add the exact revision
number you know to work to not have updates by accident.
just add the git hash as 3
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
+1 for exceptions
people who do not read docs could just forget error handling and confuse
themselves or their clients.
Am 25.03.2011 18:28, schrieb Mark C:
> Hi all,
>
> Just want some opinions on whether the validator should throw an
> exception
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
you could also run the commands with
sudo -u www-data ...
or have a console where you "sudo su www-data" and then run the commands
as user www-data. this way, you won't have to retype your password if
you repeat the command after a longer idle time.
c
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi robert,
maybe you could push the job of deciding whether there are sidebars to
the controler? then the controler can set a variable in the call to twig
and you can just check the value in twig. this would keep out logic from
the template.
or you c
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi,
are there any naming / namespacing guidelines regarding the structure of
a bundle? a current example that is not evident from looking at other
modules:
for the cmf, we will create a couple of bundles that will have some
functionality that does not
50 matches
Mail list logo