Re: [symfony-users] Symfony and OVH RPS 1

2010-08-23 Thread Jose R. Prieto

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Why not?

It's a dedicated server :)

You can make test in a netbook with a linux distribution, and without
X.Org, and you can see if the RPS it's enough for you.
 
The SAN disk it's more slow that a SATA/IDE/SCSI hard disk, but i
think that for a little website, it's enough :) IMHO

Regards :)

El 23/08/10 22:23, guiguiboy escribió:
 I would like to know if a RPS 1 from OVH can handle correctly a
 website in symfony 1.4 ?
 The site is small : there are some articles with audio files playing,
 an e-commerce part, and a contact form.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMcujFAAoJEFlRSentq+j0JdMIAMnWU5an/7nVUgafvhqtkQtZ
I7wPnJHnJeK036yttk3Pc31eCyAPR6jtGowodevFvwp/RvpV4NLdWGFjCgNWptT8
sLKkwj2sgSouFqg+i+sKY9JGvLhSq0i/qcktEvP7hamRKIe935vWz744sjKBYTzY
mHhK4uJLOINcf+Z/75tXrXL27TmFECAit9fGoetrigYLRfRz2Ixv2oQrQp8P0NNb
AEoh3CM20uJWnrHdiuwos9jusapBGy0Nl4FJzZz2GA2DMQhZtbuoaNt0FppJCSm3
3pkVVkTDCV5X15dO/8GO1RlbUPQoHHrJwHEOwuQGmWBtMbCmnzWa1pDbLZde21Y=
=YnjW
-END PGP SIGNATURE-

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Symfony2 or CakePHP ?

2010-07-19 Thread Jose R. Prieto
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Uhmm... And, how about symfony 1.4?

symfony 1.4 it's a LTS (Long Time Support) version, for three years.

Do you need any features that covers Symfony 2 and don't cover symfony
1.4?

Regards :)

El 09/07/10 16:06, Ekinox escribió:
 Hello,

 Will Symfony2 's interface evolve just a
 little, or will it be rethought before the final release ? So I will
 know if I should use it for a big project. In fact, I may not use
 symfony 1.4 ; as the project chief (even if it is not a professional
 project) thinks it is too heavy (and I think he is not so wrong). Zend
 isn't what we are looking for. So we saw Symfony2 and CakePHP. Should
 we use Symfony2 or CakePHP ? Knowing that the project should be passed
 in production server around September. If there will be still some
 bugs, that's not a so big problem (we would just have to update the
 Symfony2 version we have), but if the interface is regularly
 rethought, it might cause problems. So, CakePHP or Symfony2 ?

 Thank you in advance,
 Ekinox

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMRIwCAAoJEFlRSentq+j0lVoH/R0Qz+J3zqD/GamLYut+pFN8
4CmSCbP758AsjCeCSUn/X8jW/6eiNT4rOT3iNS1jbxlC4qxjwpbEHDkj2S2VCgEy
vVzoMLoD8H0eLXdcuIB+gBzYOKpySp+zxZmO24FqkNbiAp8OrclGsHSvl3IfmKEz
4kKmYcq7a4XPQazE2fEVodkmIqTETWS07N7R9FepzRQtAdeSSkIEB7h2yrI9N26g
QYAw0Im2P1NBkU0b/DF8pMfSha6Uo7B1l1Cz4wMivCHEc4ig48DLDuX+tZhsxaC3
X3Iuv2ea446Y9iZl0JcAveBeRRcF8iF69JjcoRAFzD2Y+PbMckqXQq+//OEba18=
=Yw6Y
-END PGP SIGNATURE-

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Code working in dev but not in prod

2010-07-09 Thread Jose R. Prieto
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Have you checked the .htaccess file? May be that in this file you will
find the problem... Or try to set the param no_script_name to false in
production, and test app...


Regards :)


El 09/07/10 09:34, Matthieu Fradcourt escribió:
 Hello,

 I need your help to understand why my code is working in development
 mode but not in production mode...

 My code :

 ?php echo javascript_tag(
 $(function(){
 $('#ad_adress_zip').change(function(){
 $('#citytd').show();
  $('#city_2').hide();
 $('select#ad_City_id option').remove();
 $.getJSON('.url_for('default/ajaxCity').',{zip: $(this).val(),id: $
 ('#ad_Country_id').val(), ajax: 'true'}, function(data){
  var nbelt=0;
 $.each(data,function(i,item) {
 if (item.id){
 $('select#ad_City_id').append('option value='+item.id+''+item.value
 +'/option');
 nbelt++;
 }
 });
 if (nbelt==0) {
 $('#citytd').hide();
 $('#city_2').show();
 }
 })
 });
 })
 );?

 The javascript is working, so i think the problem is with url_for().
 Could someone explain me why i can't get the city list? The ajaxCity
 method get a list from the database.

 Thank you.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMNvmnAAoJEFlRSentq+j0KckH/3ld5EoLGjWKWOCMMojNiWHn
zpDnNkmPd7mWVs0M2gnbLlCvmVrsu3Kgr1soOK4myZKyH0gRRDZ0TNZkjD286s79
2BOm1qvOPLn3xD+kldsz/F+TF9WlW+FY1JK9aZGUldYrehEDTQo2tSEl0kMuU4M+
1twIY3KA9aDknJq4PzMWy57Nk3gh/TKE/jQbG6nRSBbvbQPwaIshQXCkN6zquHaT
Vksu0mV8F3QzV555nhXPVgf1+2QPVmnA8ULiKqwEKxtuI0DCbLJnHM7CGVJfVhMK
0Vu4twnm+PnVjBl//qof1Tdicj6R67wSAKiV4R4bEQa8jnIlN1hqbM315WAalAc=
=3mpt
-END PGP SIGNATURE-

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: Tool for sketching mockups?

2010-02-19 Thread Jose R. Prieto
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I like very much ForeUI

http://www.foreui.com/

Very simple, and works fine.

The inconvenient? It isn't free :(

El 19/02/10 21:19, Eno escribió:
 Ive found it - they used Balsamiq Mockups:
 http://www.balsamiq.com/products/mockups

 Incidently, I came across a list of similar tools:
 http://www.onextrapixel.com/2009/07/15/the-importance-of-wireframes-in-web-design-and-9-tools-to-create-wireframes/



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJLfxvtAAoJEFlRSentq+j0ziUIAMwjlosQv+Ybrgm7Y/c9Hm9k
goiYRHqBp4aXDe0XtW8nmXJwWGZBxbcqnpSiWEjKbwHsW/LcmJX8REUoY8pNf9rf
EoyjA8c2N/jhHRo65LsW+bIkaWS8JyZRafS2lSkSHNoSS+Ok4x42OShJHnPj/aAD
73uVBeaSDIiQsUK0ZEQlLuJgMUXtzwHTA0snMcdgJ/MZ5yc5s/ulkaFTEtTYnyy8
rallgu+nKRfBpPG4HWjhNJNcpUVbJ3QNtJfiP/1xeG9DFId78mqNpq8IUZ+JB/7S
0LQ2c2yJXnnwV2NnAbmICPB3bH/Wbm9KaSWqkomHqPjaPZhB/WLSFVFmt7sFifw=
=wNqF
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



[symfony-users] Re: Get only language

2009-10-13 Thread Jose R. Prieto
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

en   = Language
US   = country / zone

en_US, en_GB, en_AU

Spanish is a better example :)

es_ES (spanish in Spain)
es_AR (spanish in Argentina)

An special example is galician, a regional language that is spoken in
Galician, a region (Autonomic Community) of Spain; for this, you have
gl_ES; other special examples like this, are the catalonian, ca_ES,
and the vasque, eu_ES.

Some references:

http://www.w3.org/International/articles/language-tags/Overview.en.php
http://www.w3.org/International/articles/bcp47/
http://www.iana.org/assignments/language-subtag-registry
http://www.oasis-open.org/committees/xliff/documents/cs-xliff-core-1.1-20031031.htm
http://www.ietf.org/rfc/rfc3066.txt



Alexandru-Emil Lupu escribió:
 then use  just en culture ... not en_US.
 Alecs

 On Tue, Oct 13, 2009 at 6:32 AM, HAUSa
 jeroen_heeft_behoefte_aan_r...@hotmail.com
 mailto:jeroen_heeft_behoefte_aan_r...@hotmail.com wrote:


 The following function exists:
 $this-getUser()-getCulture();

 Now the output is for example en_US.
 But is there also a way to only get the language returned (only
 en)?

 I tried $this-getUser()-getCulture()-getLanguage(), but helas no
 result.




 --
 As programmers create bigger  better idiot proof programs, so the
 universe creates bigger  better idiots!
 I am on web:  http://www.alecslupu.ro/
 I am on twitter: http://twitter.com/alecslupu
 I am on linkedIn: http://www.linkedin.com/in/alecslupu
 Tel: (+4)0748.543.798


 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJK1DahAAoJEFlRSentq+j0JbAH/iOVGqLpHXf+Zp2DChMc1wv4
uG/zvIW1uDWO34v6j6Qk0+wMBior5kug8J/G7XAPMFdGOYJZiND9sm/Jo7FQwo2T
czM4UV+gSziWHwcC1cBIjo+oiWyMGoHZKXRLrJJ8VpS0pAlGyfPkTV+Q5MR5IP/Z
vkMubsvIJbWa16dT6bpccoJIhSNtA05BUNsJx01EK7tAE8muk+QfAv0MuzB3bWxb
JDMuUOwBsKdtynAgA3l3v6S1LVVfnyXUIHyXmJnleaTPa9ECDBGRUT9g6Ov7pBdv
h1WuJ+Q6BO0J7CPmdd4XbjAA0d79qJ9WQdy1eo0K+tnPrLi3G/46ISxOwOSVhig=
=lzYw
-END PGP SIGNATURE-


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-19 Thread Jose R. Prieto
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 

Is Joomla a Framework?


For me, it isn't





Juampy72 escribió:
 I think it's all about coding or not. Symfony not only helps you
 developing faster but also teaches you a lot of clean, beautiful
 programming. If you do not find this learning curve enriching, then I
 suggest you better go for other framework such as Joomla where
 everything is more visual and you do not need to see much code.

 Is anybody with me?

 On Sep 18, 12:09 pm, bghost bggho...@gmail.com wrote:
 No, the crux of what I wanted to say is:

 Users should not spend more time to learn how some Web Framework
 works but they need to learn a programming language. Any framework
 should be only an auxiliary tool, not an entire small science.
 So, simplicity and speed should be paramount.

 WBR,
 Ghost3D

 On Sep 18, 5:30 pm, Sid Ferreira sid@gmail.com wrote:

 The most easy thing to understand is something that doesn't need
 documentation and I believe that THIS is the point that BGhost is 
talking
 about.I don't want launch a rocket in 30 days, I want my gallery
ready in
 12 minutes...
 On Fri, Sep 18, 2009 at 12:26, Thomas Rabaix
thomas.rab...@gmail.comwrote:
 Symfony has many components, each of them are :
- easy to understand
- easy to configure
- very well documented
 Now, the only thing complicated is to know how all these components play
 together. This is the tricky part, but symfony default configuration
will be
 fine for many projects.
 You just need to go further ... if you have already create/try to
implement
 a framework, you will see that symfony has all STABLE the pieces you
need.
 Try to use an IDE : netbeans or eclipse, these two IDE are great to
navigate
 across the code and understand it.
 On Fri, Sep 18, 2009 at 5:04 PM, bghost bggho...@gmail.com wrote:
 Hi Fabien,
 - With the introduction of the Doctrine ORM, number of parameters
  and configuration options are increased manifold. Therefore, the
 developer
  must first learn all about the Doctrine ORM. Is that good? Doctrine
 ORM
  already providing a fairly good possibilities and options without
 Symfony.
 - Symfony WEB forms are a bit too complicated and their relations
  with the rest of a Symfony application is often unclear.
 WBR,
 Ghost3D
 On Sep 18, 4:43 pm, Fabien Potencier fabien.potenc...@symfony-
 project.com wrote:
 You say that symfony became too complicated, which implies it was not
 before.
 Can you give us some examples of what became more complicated?
That will
 help us improve the framework.
 For instance, we have less and less configuration files. Since 1.0, we
 removed a lot of them, and removed some parameters also.
 Thanks,
 Fabien
 --
 Fabien Potencier
 Sensio CEO - symfony lead developer
 sensiolabs.com | symfony-project.org | fabien.potencier.org
 Tél: +33 1 40 99 80 80
 bghost wrote:
 First, I would like to say that Symfony framework is not too bad,
 because I follow its development from the first version. But I think
 it became too complicated because it is evident exaggeration
 with the introduction of countless parameters and configuration
 files in order to automate all possible tasks. This entails that the
 programmer spends more time dealing with the Symfony framework
 than with the real problem.
 P.S. I did nothing special but just followed the Jobeet tutorial.
 WBR,
 Ghost3D
 On Sep 18, 4:24 pm, Sid Bachtiar sid.bacht...@gmail.com wrote:
 It is necessary to invest so much effort to do a relatively simple
 application.
 If you're just learning Symfony, then yes of course you'll find it
 too
 much effort. This is true with any other framework/technology.
 But for those of us who have invested our time in Symfony, we find
 great leverage in using Symfony.
 So what is the relatively simple application you're trying to build?
 On Sat, Sep 19, 2009 at 1:58 AM, bghost bggho...@gmail.com wrote:
 It is necessary to invest so much effort to do a relatively simple
 application.
 Productivity and profitability of such work is very questionable.
 So, Symfony - Goodbye
 --
 Blue Horn Ltd - System Developmenthttp://bluehorn.co.nz
 --
 Thomas Rabaix
 http://rabaix.net
 --
 Sidney G B Ferreira
 Desenvolvedor Web

 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJKtUe+AAoJEFlRSentq+j0fOEH/083osyNfs7NfO0nEYmnON46
1KxKUK+Q/Ht/yA9OyC20IKMPC+B5SiqPDJv6jfGZwpO6kHO6yGQ0ruOX51AHyXsZ
SRhvHA3DHKw5DgGFPK9q9PZ6O7NnDTgWgA35+mxc3sbBsQSA/VDflWsPHFe2UjmJ
0rCpuoZIsm1Ccf49zDmk2iCbWS5QZg+V1NWeAwVDIddLlEvDRRkdqTINNgsQXtb5
yrYzr7H3G6dSY73IH8r6cDZyV03WfHd7TqrrqU/lwsEmGwVYKcJlTYp9JFbrov39
xPULBq0koOIW27HbCHJ73CMkPlf5AFT6IsrMz2DNwjIWasiopox8dEoMaUYgEKo=
=1lNi
-END PGP SIGNATURE-


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To 

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-18 Thread Jose R. Prieto
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Symfony becomes too complicated?


If you have no experience in using design patterns design patterns, If
you have no experience in using design patterns OOP in PHP, If you
have no experience in write and work with reusable code (following the
DRY paradigm), them Yes, sf it's a complicated framework... But,
only for you.


Symfony is a very good and adaptable framework, is completely
decoupled; if you don't like the render filter, simply comment that
filter in config/filter.yml, and then you will not have to know
anything about him... The same in other filters...


And now, with the new reference book, The symfony Reference Book,
with ALL config files explained, and ALL parameters and options
documented... If you make the statement Symfony has definitely become
too complicated  framework is that you have not read all the existing
documentation.


Another explanation for your statement, is to know whether your
application requires a framework, or not ... To make a hello world you
don't need a framework 


Sid Ferreira escribió:
 Well, could you share what you tried to do?

 On Fri, Sep 18, 2009 at 10:58, bghost bggho...@gmail.com
 mailto:bggho...@gmail.com wrote:


 It is necessary to invest so much effort to do a relatively simple
 application.
 Productivity and profitability of such work is very questionable.

 So, Symfony - Goodbye





 --
 Sidney G B Ferreira
 Desenvolvedor Web


 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJKs6QnAAoJEFlRSentq+j0jgAH/1Y+ucmx+swRVZWNDMT0Nj25
wMVIc6hGBN51TDHmcxzP2Jn9kOXyy/ac/15YHznAOT08GCxf1TOQvxY9gIciRo03
rT/ZCwFNE6QfDB5+VNUjr44VSvuVsw0bSR0YWHMG0o75znBAWBGt74GvxpPjjzWs
Qtxwjb7Q4hr74UwC4ZINg/b4M4LAXam6a8JwJ/l/PTMnWuK5CPLH/aTDJRYT54xZ
gbfZJaBS/1TdcBRxByafwL2r4xwE7S9bZyHxVQ0AQVoJs7nfMg9RWB8GS/HGBY4i
uC9wev6cp0K2Q/gf40TGDFWSDzKXPIGTMzJHYyuN3kNmjQ1LExw7YrizGkFlumk=
=Q8wA
-END PGP SIGNATURE-


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Calling an action from other action

2009-08-26 Thread Jose R. Prieto

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I need to call another action from the current action is running
symfony (formally, I need to instantiate other action, execute, and
get its result).

The idea is to do something like this:

class apirouterAction extends sfAction
{
  public function execute($request)
  {
// DEBUG:
$this-logMessage('JRPP: apirouterAction-execute()',
sfLogger::getPriorityName(sfLogger::DEBUG));
$myAction = new name_of_the_other_actionAction($request); // we
instantiate another action that is in the current module, or in
another module
$myAction-execute();
$output = $myAction-render();
$this-renderText($output);
return sfView::NONE;
  }
}


That is, execute, render and capture the output of another action
(that is in the current module, or in another), and render this output
and display it in the current action (the sfView:NONE is because the
response is a JSON)

The option of a component isn't a solution for my problem, because
these actions may be executed in normal mode (the same action may
has different views, depending on how or from where you call it).

The option of doing a forward(), is a partial solution; the router
that I want to construct, is defined by the specs in this way:

Once a transaction has been accepted it must be dispatched by the
router. The router must construct the relevant class and call the
method with the appropriate arguments which it reads from data.
Currently, the Ext.Direct specification expects this to be an array.
In the future, we plan to add support to be key/value pairs in an object.

The option of use the current plugin of Ext.Direct, isn't a good
solution for me, because the current plugin uses other enviroment to
change the controller class of symfony in the Ext.Direct request.

Have you got any ideas?

Thanks a lot.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJKlcEEAAoJEFlRSentq+j0K/YIAKKt2EoCx7qbnmVja+bSl52y
0wNDLZUaHNl+A8VxktmTvkONIocizmZhx4QhjzeKFLHEFiW2OfiSm43yPx+LDP45
q3AwLsji8T8+u1g77TcWBxFC/b7y5g40TCWYtmZPynl51Q4R56OpgnqkFEe2W+nC
FUBC/bpQUcTyF55kB5HHPf3nzJAwqXGA2FV8c4JvcBjbTj45Xqq9WDjH5pd2BuFn
WTud1LQxIhzCSjv3/SMiEfQnB0lHVSmsshnCZFWazK5VVv8994jkrueJq6qPVnO9
C/NGdXsUNWdLufnOtZJ8/BO8lExIlWIAT0mVh3OR8Ud14m0Ff0t7+MLBylp7KFY=
=NkgW
-END PGP SIGNATURE-


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---