Re: can Django replace PHP ?

2021-06-28 Thread Vkash Poudel
I used to java SPRINGBOOT but after I am developing in Django I see it's
more convenient than spring-boot.
Django is secure, it's simple, Very fast app development, documentation of
Django its one of the best,
I hope Django can do whats PHP can.


On Tue, Jun 29, 2021 at 1:07 AM Ari Davidow  wrote:

> I can't think of any application where you would want php in an
> environment where python is already available UNLESS there is a requirement
> to use a php-specific content management system such as WordPress or Drupal.
>
> ari
>
> On Mon, Jun 28, 2021, 9:17 AM Krishna Adhikari 
> wrote:
>
>> Hello all  my seniors
>>
>> I am doing Data Science programming (python) for 3 years now in my
>> organization I also have to develop a Web Platform to deeply ML models and
>> also to develop other web applications together.
>>
>> I searched a lot of information on google, but till now I did not make a
>> decision should I learn PHP or I can handle it all with Django?
>>
>> *can we solve all kinds of web application problems with Django without
>> learning PHP ?? *
>> *or PHP also recommended.*
>>
>> Thank you all in advance
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/f2007209-a90e-4a08-8d03-b2b3a1007e1en%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/f2007209-a90e-4a08-8d03-b2b3a1007e1en%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAF%2BxBDW5YTbdevZDLtszYtE3mr-o7xnCfsWVivxWzRMsEeWFPQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAF%2BxBDW5YTbdevZDLtszYtE3mr-o7xnCfsWVivxWzRMsEeWFPQ%40mail.gmail.com?utm_medium=email_source=footer>
> .
>


-- 
Best Regards,
Bikash Poudel

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAE0sOGy90XoYS32WaNG_9mCnbwFBYfUx7PJZ7nmDwTBaJqLdAA%40mail.gmail.com.


Re: can Django replace PHP ?

2021-06-28 Thread Ari Davidow
I can't think of any application where you would want php in an environment
where python is already available UNLESS there is a requirement to use a
php-specific content management system such as WordPress or Drupal.

ari

On Mon, Jun 28, 2021, 9:17 AM Krishna Adhikari  wrote:

> Hello all  my seniors
>
> I am doing Data Science programming (python) for 3 years now in my
> organization I also have to develop a Web Platform to deeply ML models and
> also to develop other web applications together.
>
> I searched a lot of information on google, but till now I did not make a
> decision should I learn PHP or I can handle it all with Django?
>
> *can we solve all kinds of web application problems with Django without
> learning PHP ?? *
> *or PHP also recommended.*
>
> Thank you all in advance
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/f2007209-a90e-4a08-8d03-b2b3a1007e1en%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/f2007209-a90e-4a08-8d03-b2b3a1007e1en%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAF%2BxBDW5YTbdevZDLtszYtE3mr-o7xnCfsWVivxWzRMsEeWFPQ%40mail.gmail.com.


Re: can Django replace PHP ?

2021-06-28 Thread Kelvin Sajere
You can create anything with both django and php, but to be fair, django
can only really be compared to laravel which is the most popular web
framework for php like django is for python. I suggest using django since
you’ve already been working with python for years. It would be easier, you
can develop projects faster and there practically nothing on the web that
can’t be built with django right now.

On Mon, Jun 28, 2021 at 20:15 'Peter van der Does' via Django users <
django-users@googlegroups.com> wrote:

> Django !== PHP
>
> Python is like PHP
>
> Django is like Laravel
>
>
> On 6/28/21 2:43 PM, Ajeet Kumar Gupt wrote:
>
> Django is a best in web development as well most secure in comparison to
> php?
>
> On Mon, Jun 28, 2021, 7:09 PM Ahmed omar miladi 
> wrote:
>
>> today django is the best for all web application
>>
>> Le lun. 28 juin 2021 à 14:17, Krishna Adhikari  a
>> écrit :
>>
>>> Hello all  my seniors
>>>
>>> I am doing Data Science programming (python) for 3 years now in my
>>> organization I also have to develop a Web Platform to deeply ML models and
>>> also to develop other web applications together.
>>>
>>> I searched a lot of information on google, but till now I did not make a
>>> decision should I learn PHP or I can handle it all with Django?
>>>
>>> *can we solve all kinds of web application problems with Django without
>>> learning PHP ?? *
>>> *or PHP also recommended.*
>>>
>>> Thank you all in advance
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/f2007209-a90e-4a08-8d03-b2b3a1007e1en%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/f2007209-a90e-4a08-8d03-b2b3a1007e1en%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAE3Dc2N6CWH5w%3DTEpZRbh7tGv2jc06xBUO4Ym9d8cUs%2BS_eORQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAE3Dc2N6CWH5w%3DTEpZRbh7tGv2jc06xBUO4Ym9d8cUs%2BS_eORQ%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CA%2BTqRsvXBgYjvpArmyCx4ANUHpm49jQBr9E5N1jD51EshA8Mkg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CA%2BTqRsvXBgYjvpArmyCx4ANUHpm49jQBr9E5N1jD51EshA8Mkg%40mail.gmail.com?utm_medium=email_source=footer>
> .
>
> --
>
> *Peter van der Does o: **410-584-2500*
> * m: 732-425-3102 ONeil Interactive, Inc  oneilinteractive.com
> <http://www.oneilinteractive.com/> *
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/34198848-2598-c928-e720-c26ad9e4bfa8%40oneilinteractive.com
> <https://groups.google.com/d/msgid/django-users/34198848-2598-c928-e720-c26ad9e4bfa8%40oneilinteractive.com?utm_medium=email_source=footer>
> .
>
-- 
KeLLs

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CADYqDX16%3Dsc9NA2k5qJQT9Moy_eL%3DbypsueoLn%2BR0uJw_XU0Uw%40mail.gmail.com.


Re: can Django replace PHP ?

2021-06-28 Thread 'Peter van der Does' via Django users
Django !== PHP

Python is like PHP

Django is like Laravel


On 6/28/21 2:43 PM, Ajeet Kumar Gupt wrote:
> Django is a best in web development as well most secure in comparison
> to php? 
>
> On Mon, Jun 28, 2021, 7:09 PM Ahmed omar miladi
> mailto:ahmedomarmil...@gmail.com>> wrote:
>
> today django is the best for all web application
>
> Le lun. 28 juin 2021 à 14:17, Krishna Adhikari
> mailto:krishd...@gmail.com>> a écrit :
>
> Hello all  my seniors 
>
> I am doing Data Science programming (python) for 3 years now
> in my organization I also have to develop a Web Platform to
> deeply ML models and also to develop other web applications
> together.
>
> I searched a lot of information on google, but till now I did
> not make a decision should I learn PHP or I can handle it all
> with Django?
>
> *can we solve all kinds of web application problems with
> Django without learning PHP ?? *
> *or PHP also recommended.*
>
> Thank you all in advance
>
> -- 
> You received this message because you are subscribed to the
> Google Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from
> it, send an email to django-users+unsubscr...@googlegroups.com
> <mailto:django-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit
> 
> https://groups.google.com/d/msgid/django-users/f2007209-a90e-4a08-8d03-b2b3a1007e1en%40googlegroups.com
> 
> <https://groups.google.com/d/msgid/django-users/f2007209-a90e-4a08-8d03-b2b3a1007e1en%40googlegroups.com?utm_medium=email_source=footer>.
>
> -- 
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to django-users+unsubscr...@googlegroups.com
> <mailto:django-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit
> 
> https://groups.google.com/d/msgid/django-users/CAE3Dc2N6CWH5w%3DTEpZRbh7tGv2jc06xBUO4Ym9d8cUs%2BS_eORQ%40mail.gmail.com
> 
> <https://groups.google.com/d/msgid/django-users/CAE3Dc2N6CWH5w%3DTEpZRbh7tGv2jc06xBUO4Ym9d8cUs%2BS_eORQ%40mail.gmail.com?utm_medium=email_source=footer>.
>
> -- 
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to django-users+unsubscr...@googlegroups.com
> <mailto:django-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CA%2BTqRsvXBgYjvpArmyCx4ANUHpm49jQBr9E5N1jD51EshA8Mkg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CA%2BTqRsvXBgYjvpArmyCx4ANUHpm49jQBr9E5N1jD51EshA8Mkg%40mail.gmail.com?utm_medium=email_source=footer>.
-- 
*Peter van der Does
o: ***410-584-2500
m: 732-425-3102
*ONeil Interactive, Inc *
oneilinteractive.com <http://www.oneilinteractive.com/>
**

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/34198848-2598-c928-e720-c26ad9e4bfa8%40oneilinteractive.com.


Re: can Django replace PHP ?

2021-06-28 Thread Ajeet Kumar Gupt
Django is a best in web development as well most secure in comparison to
php?

On Mon, Jun 28, 2021, 7:09 PM Ahmed omar miladi 
wrote:

> today django is the best for all web application
>
> Le lun. 28 juin 2021 à 14:17, Krishna Adhikari  a
> écrit :
>
>> Hello all  my seniors
>>
>> I am doing Data Science programming (python) for 3 years now in my
>> organization I also have to develop a Web Platform to deeply ML models and
>> also to develop other web applications together.
>>
>> I searched a lot of information on google, but till now I did not make a
>> decision should I learn PHP or I can handle it all with Django?
>>
>> *can we solve all kinds of web application problems with Django without
>> learning PHP ?? *
>> *or PHP also recommended.*
>>
>> Thank you all in advance
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/f2007209-a90e-4a08-8d03-b2b3a1007e1en%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/f2007209-a90e-4a08-8d03-b2b3a1007e1en%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAE3Dc2N6CWH5w%3DTEpZRbh7tGv2jc06xBUO4Ym9d8cUs%2BS_eORQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAE3Dc2N6CWH5w%3DTEpZRbh7tGv2jc06xBUO4Ym9d8cUs%2BS_eORQ%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2BTqRsvXBgYjvpArmyCx4ANUHpm49jQBr9E5N1jD51EshA8Mkg%40mail.gmail.com.


Re: can Django replace PHP ?

2021-06-28 Thread Ahmed omar miladi
today django is the best for all web application

Le lun. 28 juin 2021 à 14:17, Krishna Adhikari  a
écrit :

> Hello all  my seniors
>
> I am doing Data Science programming (python) for 3 years now in my
> organization I also have to develop a Web Platform to deeply ML models and
> also to develop other web applications together.
>
> I searched a lot of information on google, but till now I did not make a
> decision should I learn PHP or I can handle it all with Django?
>
> *can we solve all kinds of web application problems with Django without
> learning PHP ?? *
> *or PHP also recommended.*
>
> Thank you all in advance
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/f2007209-a90e-4a08-8d03-b2b3a1007e1en%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/f2007209-a90e-4a08-8d03-b2b3a1007e1en%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAE3Dc2N6CWH5w%3DTEpZRbh7tGv2jc06xBUO4Ym9d8cUs%2BS_eORQ%40mail.gmail.com.


Re: can Django replace PHP ?

2021-06-28 Thread Tim Chase
On 2021-06-27 21:20, Krishna Adhikari wrote:
> *can we solve all kinds of web application problems with Django
> without learning PHP ?? *
> *or PHP also recommended.*

For just about aspect, either they're interchangeable, or I find that
Python/Django wins (readability, library consistency, breadth of
library, security, availability).

The one area where PHP excels is deployment.  Want to deploy a PHP
app?  It usually involves dumping some files in a folder on a shared
hosting service, using a config-wizard to point it at the right
data-store, and you're done.  So if ease-of-new-installation mattered
most to me (such as setting up NextCloud/OwnCloud, dropping a gallery
or blog on shared cPanel hosting, etc), I might choose PHP.

Deploying Django project takes a little more hand-holding and the
right type of service-offerings from the hosting machine.

But if you have successfully deployed a Django project, you've
overcome the biggest hurdle, and Python/Django wins in pretty much
every subsequent category.

-tkc



-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/20210628100433.4c71a90f%40bigbox.attlocal.net.


Re: can Django replace PHP ?

2021-06-28 Thread Sam Chaffy
Django gives you a builtin admin panel for free.

Enjoy

On Mon, Jun 28, 2021 at 3:49 PM Boris Pérez  wrote:

> Hi friend...u can do everything u need in django...without use php...
> Greetings
>
>
> 2021-06-28 10:23 GMT-04:00, Luis Zárate :
> > Hi, you can create several web applications with Django. So I guest you
> can
> > replace all web stuff with Django or other lib in python for web
> > development.
> >
> > El lun, 28 jun 2021 a las 7:17, Krishna Adhikari ()
> > escribió:
> >
> >> Hello all  my seniors
> >>
> >> I am doing Data Science programming (python) for 3 years now in my
> >> organization I also have to develop a Web Platform to deeply ML models
> >> and
> >> also to develop other web applications together.
> >>
> >> I searched a lot of information on google, but till now I did not make a
> >> decision should I learn PHP or I can handle it all with Django?
> >>
> >> *can we solve all kinds of web application problems with Django without
> >> learning PHP ?? *
> >> *or PHP also recommended.*
> >>
> >> Thank you all in advance
> >>
> >> --
> >> You received this message because you are subscribed to the Google
> Groups
> >> "Django users" group.
> >> To unsubscribe from this group and stop receiving emails from it, send
> an
> >> email to django-users+unsubscr...@googlegroups.com.
> >> To view this discussion on the web visit
> >>
> https://groups.google.com/d/msgid/django-users/f2007209-a90e-4a08-8d03-b2b3a1007e1en%40googlegroups.com
> >> <
> https://groups.google.com/d/msgid/django-users/f2007209-a90e-4a08-8d03-b2b3a1007e1en%40googlegroups.com?utm_medium=email_source=footer
> >
> >> .
> >>
> >
> >
> > --
> > "La utopía sirve para caminar" Fernando Birri
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Django users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to django-users+unsubscr...@googlegroups.com.
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/django-users/CAG%2B5VyOqHw6jRfSu3WL97csjz2npODsO-anVRkGALOhD7fbrvw%40mail.gmail.com
> .
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAObPVPDDwTg2tCTu_EtC_r5kw7zAekV_0YEL0QEchVsVJqk3qw%40mail.gmail.com
> .
>
-- 
Oussama Chafiqui

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPvcp%2BV6hPcKwL0Wjbuf%2B8WA4PXhsPmkLoguyOASYAwk1c18NA%40mail.gmail.com.


Re: can Django replace PHP ?

2021-06-28 Thread Boris Pérez
Hi friend...u can do everything u need in django...without use php...
Greetings


2021-06-28 10:23 GMT-04:00, Luis Zárate :
> Hi, you can create several web applications with Django. So I guest you can
> replace all web stuff with Django or other lib in python for web
> development.
>
> El lun, 28 jun 2021 a las 7:17, Krishna Adhikari ()
> escribió:
>
>> Hello all  my seniors
>>
>> I am doing Data Science programming (python) for 3 years now in my
>> organization I also have to develop a Web Platform to deeply ML models
>> and
>> also to develop other web applications together.
>>
>> I searched a lot of information on google, but till now I did not make a
>> decision should I learn PHP or I can handle it all with Django?
>>
>> *can we solve all kinds of web application problems with Django without
>> learning PHP ?? *
>> *or PHP also recommended.*
>>
>> Thank you all in advance
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/f2007209-a90e-4a08-8d03-b2b3a1007e1en%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/f2007209-a90e-4a08-8d03-b2b3a1007e1en%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>
>
> --
> "La utopía sirve para caminar" Fernando Birri
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAG%2B5VyOqHw6jRfSu3WL97csjz2npODsO-anVRkGALOhD7fbrvw%40mail.gmail.com.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAObPVPDDwTg2tCTu_EtC_r5kw7zAekV_0YEL0QEchVsVJqk3qw%40mail.gmail.com.


Re: can Django replace PHP ?

2021-06-28 Thread Luis Zárate
Hi, you can create several web applications with Django. So I guest you can
replace all web stuff with Django or other lib in python for web
development.

El lun, 28 jun 2021 a las 7:17, Krishna Adhikari ()
escribió:

> Hello all  my seniors
>
> I am doing Data Science programming (python) for 3 years now in my
> organization I also have to develop a Web Platform to deeply ML models and
> also to develop other web applications together.
>
> I searched a lot of information on google, but till now I did not make a
> decision should I learn PHP or I can handle it all with Django?
>
> *can we solve all kinds of web application problems with Django without
> learning PHP ?? *
> *or PHP also recommended.*
>
> Thank you all in advance
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/f2007209-a90e-4a08-8d03-b2b3a1007e1en%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/f2007209-a90e-4a08-8d03-b2b3a1007e1en%40googlegroups.com?utm_medium=email_source=footer>
> .
>


-- 
"La utopía sirve para caminar" Fernando Birri

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAG%2B5VyOqHw6jRfSu3WL97csjz2npODsO-anVRkGALOhD7fbrvw%40mail.gmail.com.


can Django replace PHP ?

2021-06-28 Thread Krishna Adhikari
Hello all  my seniors 

I am doing Data Science programming (python) for 3 years now in my 
organization I also have to develop a Web Platform to deeply ML models and 
also to develop other web applications together.

I searched a lot of information on google, but till now I did not make a 
decision should I learn PHP or I can handle it all with Django?

*can we solve all kinds of web application problems with Django without 
learning PHP ?? *
*or PHP also recommended.*

Thank you all in advance

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/f2007209-a90e-4a08-8d03-b2b3a1007e1en%40googlegroups.com.


Re: Django and PHP webhosting in Germany

2012-06-17 Thread Egon Frerich
Am 16.06.2012 22:24, schrieb sjtirtha:
> Hi,
>
> can somebody recommend a good and cheap web hosting for django and
> php(wordpress)?
> I'm looking something below 10 € monthly, only for small apps and blogs.
>
> Regards,
> Steve
>
I recommend

www.raumopol.de/

Our django website schwachhausen-nord.de is hosted there.

Egon


-- 
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!  

Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a

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



Re: Django and PHP webhosting in Germany

2012-06-17 Thread Nick Apostolakis

On 16/06/2012 11:47 μμ, Carlos Daniel Ruvalcaba Valenzuela wrote:

Try Hetzner in Germany, they are a solid hosting company with
reasonable prices, their dedicated hardware is well know for being a
great value.

http://www.hetzner.de/
   


You can get a virtual server from Hetzner with a monthly cost of 7.9€
You can then install anything you like on it.

I have such a server with them and it works fine.

--
 --
   Nick Apostolakis
  e-mail: nicka...@oncrete.gr
 Web Site: http://nick.oncrete.gr
 --


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



Re: Django and PHP webhosting in Germany

2012-06-17 Thread Daniele Procida
On Sun, Jun 17, 2012, Mike Ryan  wrote:

>Does anyone else feel that "which webhost..." questions should be politely 
>responded to with a link to  
>https://code.djangoproject.com/wiki/DjangoFriendlyWebHosts, and a request 
>not to post similar questions in future?

Not really, it seems a perfectly relevant question, and a sensible way to get 
and give up-to-date advice based on personal experience.

Daniele

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



Re: Django and PHP webhosting in Germany

2012-06-17 Thread sjtirtha
Hi Mike,

I've checked the link before. The list shows me only 2 providers in
Germany which offer php and python from one box.
There are some other providers from Swiss, but they do not offer php.
That's why I asked question here. My following question is also, if I
do not have any root access, what is the limitation will I face in the
future for Django deployment. Web hosting normally does not offer root
access compared to virtual server.

I checked also in google and even asked two main german provider 1und1
and strato, but they haven't answer my emails yet.

Regards,
Steve

On Sun, Jun 17, 2012 at 9:55 AM, Mike Ryan <m...@fadedink.co.uk> wrote:
> Are "which webhost" questions really relevant to this list? I just did a
> quick search, and it seems this question is coming up more and more
> frequently. It seems quite out of place here, IMHO. I use this list to see
> interesting ways people use Django, or learn from other people's answers -
> not so I can keep up to date with which web hosts support django.
>
> Does anyone else feel that "which webhost..." questions should be politely
> responded to with a link to
> https://code.djangoproject.com/wiki/DjangoFriendlyWebHosts, and a request
> not to post similar questions in future? This is nothing personal Steve, I
> just feel the list is getting cluttered up with questions that are barely
> relevant to the group, and are easily answerable with some googling.
>
> Regards,
>
> Mike
>
>
> On Saturday, June 16, 2012 10:24:27 PM UTC+2, sjtirtha wrote:
>>
>> Hi,
>>
>> can somebody recommend a good and cheap web hosting for django and
>> php(wordpress)?
>> I'm looking something below 10 € monthly, only for small apps and blogs.
>>
>> Regards,
>> Steve
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/hVwd2352W4IJ.
>
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.

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



Re: Django and PHP webhosting in Germany

2012-06-17 Thread Mike Ryan
Are "which webhost" questions really relevant to this list? I just did a 
quick search, and it seems this question is coming up more and more 
frequently. It seems quite out of place here, IMHO. I use this list to see 
interesting ways people use Django, or learn from other people's answers - 
not so I can keep up to date with which web hosts support django.

Does anyone else feel that "which webhost..." questions should be politely 
responded to with a link to  
https://code.djangoproject.com/wiki/DjangoFriendlyWebHosts, and a request 
not to post similar questions in future? This is nothing personal Steve, I 
just feel the list is getting cluttered up with questions that are barely 
relevant to the group, and are easily answerable with some googling.

Regards,

Mike

On Saturday, June 16, 2012 10:24:27 PM UTC+2, sjtirtha wrote:
>
> Hi, 
>
> can somebody recommend a good and cheap web hosting for django and 
> php(wordpress)? 
> I'm looking something below 10 € monthly, only for small apps and blogs. 
>
> Regards, 
> Steve 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/hVwd2352W4IJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django and PHP webhosting in Germany

2012-06-16 Thread Daniele Procida
On Sat, Jun 16, 2012, sjtirtha <sjtir...@gmail.com> wrote:

>can somebody recommend a good and cheap web hosting for django and
>php(wordpress)?
>I'm looking something below 10 ? monthly, only for small apps and blogs.

<http://djangoeurope.com/> have worked well for me; they are inexpensive and 
the support is quick and friendly.

Daniele

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



Re: Django and PHP webhosting in Germany

2012-06-16 Thread Carlos Daniel Ruvalcaba Valenzuela
Not quite sure, the only service I have tried is VPS, they have their
own panel to manage your instances, I imagine that for web hosting
they also have a sort of panel, with VPS you just setup and then ssh,
is more work but even their VQ 7 plan is good enough for a few low
traffic sites or one with medium load, but thats where my limited
experience with them goes as we mostly have servers in america.

Regards,
Carlos Ruvalcaba

On Sat, Jun 16, 2012 at 2:06 PM, sjtirtha <sjtir...@gmail.com> wrote:
> thank you carlos. For me the options are only virtual server and
> webhosting, because the other i.e. root server is too expensive.
> In webhosting, if it supports python. Does it mean I can install
> django without any problem?
>
> On Sat, Jun 16, 2012 at 10:47 PM, Carlos Daniel Ruvalcaba Valenzuela
> <clsdan...@gmail.com> wrote:
>> Try Hetzner in Germany, they are a solid hosting company with
>> reasonable prices, their dedicated hardware is well know for being a
>> great value.
>>
>> http://www.hetzner.de/
>>
>> On Sat, Jun 16, 2012 at 1:24 PM, sjtirtha <sjtir...@gmail.com> wrote:
>>> Hi,
>>>
>>> can somebody recommend a good and cheap web hosting for django and
>>> php(wordpress)?
>>> I'm looking something below 10 € monthly, only for small apps and blogs.
>>>
>>> Regards,
>>> Steve
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups 
>>> "Django users" group.
>>> To post to this group, send email to django-users@googlegroups.com.
>>> To unsubscribe from this group, send email to 
>>> django-users+unsubscr...@googlegroups.com.
>>> For more options, visit this group at 
>>> http://groups.google.com/group/django-users?hl=en.
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/django-users?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
>

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



Re: Django and PHP webhosting in Germany

2012-06-16 Thread sjtirtha
thank you carlos. For me the options are only virtual server and
webhosting, because the other i.e. root server is too expensive.
In webhosting, if it supports python. Does it mean I can install
django without any problem?

On Sat, Jun 16, 2012 at 10:47 PM, Carlos Daniel Ruvalcaba Valenzuela
<clsdan...@gmail.com> wrote:
> Try Hetzner in Germany, they are a solid hosting company with
> reasonable prices, their dedicated hardware is well know for being a
> great value.
>
> http://www.hetzner.de/
>
> On Sat, Jun 16, 2012 at 1:24 PM, sjtirtha <sjtir...@gmail.com> wrote:
>> Hi,
>>
>> can somebody recommend a good and cheap web hosting for django and
>> php(wordpress)?
>> I'm looking something below 10 € monthly, only for small apps and blogs.
>>
>> Regards,
>> Steve
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/django-users?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
>

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



Re: Django and PHP webhosting in Germany

2012-06-16 Thread Carlos Daniel Ruvalcaba Valenzuela
Try Hetzner in Germany, they are a solid hosting company with
reasonable prices, their dedicated hardware is well know for being a
great value.

http://www.hetzner.de/

On Sat, Jun 16, 2012 at 1:24 PM, sjtirtha <sjtir...@gmail.com> wrote:
> Hi,
>
> can somebody recommend a good and cheap web hosting for django and
> php(wordpress)?
> I'm looking something below 10 € monthly, only for small apps and blogs.
>
> Regards,
> Steve
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
>

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



Django and PHP webhosting in Germany

2012-06-16 Thread sjtirtha
Hi,

can somebody recommend a good and cheap web hosting for django and
php(wordpress)?
I'm looking something below 10 € monthly, only for small apps and blogs.

Regards,
Steve

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



Re: Understanding Django for PHP developer

2012-06-07 Thread mikegolf
Bruno,
exactly what I've been looking for! Thanks!


On Jun 4, 11:28 am, bruno desthuilliers
 wrote:
> On Jun 3, 12:18 pm, mikegolf  wrote:
>
> > Hi,
> > I've started to learn Django recently, however for last 5+ years I've
> > been developing using PHP (especially Yii) and thus asking if there's
> > any tutorial / documentation on significant differences in
> > *thinking*.
> > What I mean is for example objects' lifecycle - for PHP the life cycle
> > of object is strictly related to the single request..
> > I know that for Python / Django developers these are obvious things,
> > but not for me. Thus I'd love to see an article / document which
> > points these base and significant differences.
> > Any recommendations?
>
> Well, the answer may not be as simple as it seems, as it first
> requires a correct understanding of Python's execution model,
> namespaces, scopes and bindings (aka "variables") - and this would
> make for a rather long and technical document. Then you have to know
> how your django application is deployed.
>
> I think the most important points wrt/ "objects lifcycle" are (overly
> simplified):
>
> * a Python module's top-level code is executed once the first time the
> module is imported
> * "import", "class" and "function" statements are executable
> statements
> * the code at the toplevel of a "class" statement is executed once
> before the metaclass is called and the class object created
> * all this will occur for each of your django server processes
> * you can have multiple processes serving the same django application,
> and ay request can be mapped to any process (this depends on the front
> server and gateway so you have no control over this)
>
> To make a long story short: remember you are in a long running
> process, so never modify (mutate or rebind) any module or class
> attribute when serving a request.
>
> As an exemple, I once spent quite a few hours debugging a seemingly
> intermittent and very very strang problem on a form. The root problem
> was a younger co-worker wrote code that was mutating some of the
> form's *class* attributes in the class initializer, and depending on
> which process would process the form's submission, things would - or
> not - get totally mixed up.
>
> A more common mistake is to initialize a class or module date
> attribute with the result of a call to datetime.datetime.now() and
> wonder why it's not updated on each and every request.

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



Re: Understanding Django for PHP developer

2012-06-04 Thread bruno desthuilliers
On Jun 3, 12:18 pm, mikegolf  wrote:
> Hi,
> I've started to learn Django recently, however for last 5+ years I've
> been developing using PHP (especially Yii) and thus asking if there's
> any tutorial / documentation on significant differences in
> *thinking*.
> What I mean is for example objects' lifecycle - for PHP the life cycle
> of object is strictly related to the single request..
> I know that for Python / Django developers these are obvious things,
> but not for me. Thus I'd love to see an article / document which
> points these base and significant differences.
> Any recommendations?

Well, the answer may not be as simple as it seems, as it first
requires a correct understanding of Python's execution model,
namespaces, scopes and bindings (aka "variables") - and this would
make for a rather long and technical document. Then you have to know
how your django application is deployed.

I think the most important points wrt/ "objects lifcycle" are (overly
simplified):

* a Python module's top-level code is executed once the first time the
module is imported
* "import", "class" and "function" statements are executable
statements
* the code at the toplevel of a "class" statement is executed once
before the metaclass is called and the class object created
* all this will occur for each of your django server processes
* you can have multiple processes serving the same django application,
and ay request can be mapped to any process (this depends on the front
server and gateway so you have no control over this)

To make a long story short: remember you are in a long running
process, so never modify (mutate or rebind) any module or class
attribute when serving a request.

As an exemple, I once spent quite a few hours debugging a seemingly
intermittent and very very strang problem on a form. The root problem
was a younger co-worker wrote code that was mutating some of the
form's *class* attributes in the class initializer, and depending on
which process would process the form's submission, things would - or
not - get totally mixed up.

A more common mistake is to initialize a class or module date
attribute with the result of a call to datetime.datetime.now() and
wonder why it's not updated on each and every request.

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



Re: Understanding Django for PHP developer

2012-06-04 Thread mikegolf
Doug, thanks a lot! I've read the article and it really explains a
lot, but what I'm actually looking for is a list of differences like
the one you've pointed out (listofstuff lifetime)... anything? ;)

On Jun 4, 12:10 am, Doug Ballance  wrote:
> I should have looked a little harder, I found the blog post. It is
> about a much older version of Django. Some of the references to django
> internals are surely a bit different now, but the fundamentals are the
> same.  It really helped me when I first started.  I'd love to see it
> updated for the current versions and part of the official docs.
>
> http://www.b-list.org/weblog/2006/jun/13/how-django-processes-request/

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



Re: Understanding Django for PHP developer

2012-06-03 Thread mikegolf
Derek,
I've already googled that one. Unfortunately it is not much helpful as
it compares pure PHP coding to using Django - which is Python web
framework (also, it seems to assume Django is the only Python web
framework around ;) ). For anyone who has been using some serious PHP
frameworks, some of the arguments are no longer true ;)
I'd love to see fair comparison - it means, using PHP MVC framework vs
Django (more "general" points, like "naspeacing", "declarative model
api" etc)

On Jun 3, 6:07 pm, Derek <gamesb...@gmail.com> wrote:
> Its more of an overview, but picks up on some key 
> points:http://j4mie.github.com/python-and-django-for-php-refugees/#slide1
>
> On Jun 3, 12:18 pm, mikegolf <miga...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hi,
> > I've started to learn Django recently, however for last 5+ years I've
> > been developing using PHP (especially Yii) and thus asking if there's
> > any tutorial / documentation on significant differences in
> > *thinking*.
> > What I mean is for example objects' lifecycle - for PHP the life cycle
> > of object is strictly related to the single request..
> > I know that for Python / Django developers these are obvious things,
> > but not for me. Thus I'd love to see an article / document which
> > points these base and significant differences.
> > Any recommendations?
> > Thanks in advance,
> > mg

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



Re: Understanding Django for PHP developer

2012-06-03 Thread Doug Ballance
I should have looked a little harder, I found the blog post. It is
about a much older version of Django. Some of the references to django
internals are surely a bit different now, but the fundamentals are the
same.  It really helped me when I first started.  I'd love to see it
updated for the current versions and part of the official docs.

http://www.b-list.org/weblog/2006/jun/13/how-django-processes-request/

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



Re: Understanding Django for PHP developer

2012-06-03 Thread Doug Ballance
http://www.twistedcommons.com/2008/12/how-django-works.html

There was a blog post several years ago that followed, in detail, the
life of a response with all the gory details.  Unfortunately I can't
locate the link.  The above page is brief, but has a nice picture that
is easy to follow.

A huge difference is that php code has access to just about every
thing in the global space of the script.  It has access to headers,
cookies, path information, querystrings, and pretty much all the
information it might need.   Django bundles that into a request object
and requires that you explicitly pass data about the request to your
code, In php you could access $_GET in an arbitrary function and it
would just work.  The request.GET equivalent in Django is only
available if you pass it into the function.

Since code may be reused for the next request, it's possible for
changes to have polluted values from the first request if you
accidentally do something your shouldn't. This requires a little more
caution when writing your code, but is not difficult.

For example consider a function like:

def myfunc(listofstuff=[]):
listofstuff.append('I was called')
return listofstuff

If you call the function in the first request without a parameter
"myfunc()" it will default to an empty list, append "I was called" and
return a list with a single item ["I was called"], and everything will
work fine.  The gotcha is that the empty list was defined when the
function was created, so the second request will get the -same- list,
which this time will not be empty, and the second call will return ["I
was called","I was called"].


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



Re: Understanding Django for PHP developer

2012-06-03 Thread Derek
Its more of an overview, but picks up on some key points:
http://j4mie.github.com/python-and-django-for-php-refugees/#slide1

On Jun 3, 12:18 pm, mikegolf <miga...@gmail.com> wrote:
> Hi,
> I've started to learn Django recently, however for last 5+ years I've
> been developing using PHP (especially Yii) and thus asking if there's
> any tutorial / documentation on significant differences in
> *thinking*.
> What I mean is for example objects' lifecycle - for PHP the life cycle
> of object is strictly related to the single request..
> I know that for Python / Django developers these are obvious things,
> but not for me. Thus I'd love to see an article / document which
> points these base and significant differences.
> Any recommendations?
> Thanks in advance,
> mg

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



Understanding Django for PHP developer

2012-06-03 Thread mikegolf
Hi,
I've started to learn Django recently, however for last 5+ years I've
been developing using PHP (especially Yii) and thus asking if there's
any tutorial / documentation on significant differences in
*thinking*.
What I mean is for example objects' lifecycle - for PHP the life cycle
of object is strictly related to the single request..
I know that for Python / Django developers these are obvious things,
but not for me. Thus I'd love to see an article / document which
points these base and significant differences.
Any recommendations?
Thanks in advance,
mg

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



Re: django to php

2010-11-30 Thread Kenneth Gonsalves
On Tue, 2010-11-30 at 12:56 +0530, Akash Mukherjee wrote:
> I have a webapp created in django. Now I want to convert the entire
> code into PHP. Is it possible?? If yes, how? 

although I can sympathise with your problem - some suit has decided that
the code be in php? - it is unlikely that you will get an answer on this
list. The best thing would be to rewrite the app afresh in php. (or
change the urls into php sounding urls so the suit does not know what
you are doing)
-- 
regards
Kenneth Gonsalves

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



Re: django to php

2010-11-30 Thread Cal Leeming [Simplicity Media Ltd]

Too much noise!

To answer OPs question, you'd have to port the code to PHP manually.

On 01/12/2010 02:18, Steve Holden wrote:

On 11/30/2010 9:15 PM, Kenneth Gonsalves wrote:

On Tue, 2010-11-30 at 13:53 -0500, CLIFFORD ILKAY wrote:

I have a webapp created in django. Now I want to convert the entire
code into PHP. Is it possible?? If yes, how?

I have a Porsche that I'd like to trade for an ox cart. Any takers?
Seriously, why would you want to do that?

well, if you are in a location where there is no one to maintain your
Porsche and has a surfeit of ox cart drivers ...

Except, of course, that a thousand oxen can't travel at two thousand
miles an hour. So there's no way to get "equivalent" performance. In
most places I suspect the oxen would be more useful. The more so as the
oil disappears.

regards
  Steve


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



Re: django to php

2010-11-30 Thread Steve Holden
On 11/30/2010 9:15 PM, Kenneth Gonsalves wrote:
> On Tue, 2010-11-30 at 13:53 -0500, CLIFFORD ILKAY wrote:
>>> I have a webapp created in django. Now I want to convert the entire
>>> code into PHP. Is it possible?? If yes, how?
>>
>> I have a Porsche that I'd like to trade for an ox cart. Any takers? 
>> Seriously, why would you want to do that? 
> 
> well, if you are in a location where there is no one to maintain your
> Porsche and has a surfeit of ox cart drivers ...

Except, of course, that a thousand oxen can't travel at two thousand
miles an hour. So there's no way to get "equivalent" performance. In
most places I suspect the oxen would be more useful. The more so as the
oil disappears.

regards
 Steve
-- 
DjangoCon US 2011 Portland, OR: September 6-8 http://djangocon.us/

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



Re: django to php

2010-11-30 Thread Kenneth Gonsalves
On Tue, 2010-11-30 at 13:53 -0500, CLIFFORD ILKAY wrote:
> > I have a webapp created in django. Now I want to convert the entire
> > code into PHP. Is it possible?? If yes, how?
> 
> I have a Porsche that I'd like to trade for an ox cart. Any takers? 
> Seriously, why would you want to do that? 

well, if you are in a location where there is no one to maintain your
Porsche and has a surfeit of ox cart drivers ...
-- 
regards
Kenneth Gonsalves

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



Re: django to php

2010-11-30 Thread Andre Terra
Because he can't drive stick.



Regards,
Andre Terra

On Tue, Nov 30, 2010 at 16:53, CLIFFORD ILKAY wrote:

> On 11/30/2010 02:26 AM, Akash Mukherjee wrote:
>
>> Hello,
>>
>> I have a webapp created in django. Now I want to convert the entire
>> code into PHP. Is it possible?? If yes, how?
>>
>
> I have a Porsche that I'd like to trade for an ox cart. Any takers?
> Seriously, why would you want to do that?
> --
> Regards,
>
> Clifford Ilkay
> Dinamis
> 1419-3266 Yonge St.
> Toronto, ON
> Canada  M4N 3P6
>
> 
> +1 416-410-3326
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

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



Re: django to php

2010-11-30 Thread CLIFFORD ILKAY

On 11/30/2010 02:26 AM, Akash Mukherjee wrote:

Hello,

I have a webapp created in django. Now I want to convert the entire
code into PHP. Is it possible?? If yes, how?


I have a Porsche that I'd like to trade for an ox cart. Any takers? 
Seriously, why would you want to do that?

--
Regards,

Clifford Ilkay
Dinamis
1419-3266 Yonge St.
Toronto, ON
Canada  M4N 3P6


+1 416-410-3326

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



Re: django to php

2010-11-30 Thread Brett Thomas
Time better spent learning django :)
On Nov 30, 2010 9:24 AM, "Tom Evans" <tevans...@googlemail.com> wrote:
> On Tue, Nov 30, 2010 at 7:26 AM, Akash Mukherjee <akash...@gmail.com>
wrote:
>> Hello,
>>
>> I have a webapp created in django. Now I want to convert the entire
>> code into PHP. Is it possible?? If yes, how?
>>
>> Thanks
>>
>> Akash
>>
>
> Anything is possible given enough resource. I am not aware of any
> tools that would automatically convert from django to PHP - I would
> doubt they exist, given the architectural differences between django
> and PHP.
>
> Cheers
>
> Tom
>
> --
> You received this message because you are subscribed to the Google Groups
"Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
.
> For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.
>

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



Re: django to php

2010-11-30 Thread Tom Evans
On Tue, Nov 30, 2010 at 7:26 AM, Akash Mukherjee <akash...@gmail.com> wrote:
> Hello,
>
> I have a webapp created in django. Now I want to convert the entire
> code into PHP. Is it possible?? If yes, how?
>
> Thanks
>
> Akash
>

Anything is possible given enough resource. I am not aware of any
tools that would automatically convert from django to PHP - I would
doubt they exist, given the architectural differences between django
and PHP.

Cheers

Tom

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



django to php

2010-11-30 Thread Akash Mukherjee
Hello,

I have a webapp created in django. Now I want to convert the entire
code into PHP. Is it possible?? If yes, how?

Thanks

Akash

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



Re: django and php

2010-08-19 Thread bruno desthuilliers
On 19 août, 11:01, Imad Elharoussi <imad.elharou...@gmail.com> wrote:
> You said that we must not think in a PHP way while using django
>
> can you please give me a solution to my problem
>
> I have to connect every minute to a server and get an object from it an show
> the modifications
>
> can you please tell me what django give as solution to this
>

This has nothing to do with Django nor PHP - it's a basic HTTP
programming problem. If you don't understand how HTTP works, you're
not going to do anything good (I mean : in web programming) whatever
language / framework you use.

Also and FWIW, I already gave you a pointer to the usual solutions
(ajax and comet).

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



Re: django and php

2010-08-19 Thread Xavier Ordoquy
Hi,

Do you mean that you have to refresh the user browser page every minute or that 
every minute your website application has to pull another information system ?
In either case, I hardly see the connection between your issue and the fact 
that Django has nothing to do with thinking in PHP. PHP is a language, and 
Django a framework.
As stated in a previous answer, please have a look at the tutorial to get an 
idea of what is Django and how it works.

Regards,
Xavier.

Le 19 août 2010 à 11:01, Imad Elharoussi a écrit :

> 
> You said that we must not think in a PHP way while using django
> 
> can you please give me a solution to my problem
> 
> 
> I have to connect every minute to a server and get an object from it an show 
> the modifications
> 
> can you please tell me what django give as solution to this
> 
> thank you
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.

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



Re: django and php

2010-08-19 Thread Sithembewena Lloyd Dube
Here's a point to start from. This documentation contains all you need to
know to get started with Django.

http://docs.djangoproject.com/en/1.2/

On Thu, Aug 19, 2010 at 11:01 AM, Imad Elharoussi  wrote:

>
> You said that we must not think in a PHP way while using django
>
> can you please give me a solution to my problem
>
>
> I have to connect every minute to a server and get an object from it an
> show the modifications
>
> can you please tell me what django give as solution to this
>
> thank you
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>



-- 
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com

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



Re: django and php

2010-08-19 Thread Sithembewena Lloyd Dube
As stated by others above, look at the tutorial first. Install Django and
build the sample poll app. It will show you how Django works and from there
you can try any customisations that you have in mind.



On Thu, Aug 19, 2010 at 11:08 AM, Mathieu Leduc-Hamel wrote:

> Have you took a look at the tutorial on the django webpage ? It's a must to
> read before doing anything with django.
>
> After that i can propose to you a solution:
>
> If i was you i would code 2 views
>
> One for the rendering on the page
> One as ajax view
>
> The first one would use the javascript to reload something every minutes
> and the second would just fetch the data from the database.
>
> Look in the documentation to know how to develop correct ajax views...
>
> ciao
>
> mathieu
>
>
> On Thu, Aug 19, 2010 at 11:01 AM, Imad Elharoussi <
> imad.elharou...@gmail.com> wrote:
>
>>
>> You said that we must not think in a PHP way while using django
>>
>> can you please give me a solution to my problem
>>
>>
>> I have to connect every minute to a server and get an object from it an
>> show the modifications
>>
>> can you please tell me what django give as solution to this
>>
>> thank you
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To post to this group, send email to django-us...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>



-- 
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com

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



Re: django and php

2010-08-19 Thread Mathieu Leduc-Hamel
Have you took a look at the tutorial on the django webpage ? It's a must to
read before doing anything with django.

After that i can propose to you a solution:

If i was you i would code 2 views

One for the rendering on the page
One as ajax view

The first one would use the javascript to reload something every minutes and
the second would just fetch the data from the database.

Look in the documentation to know how to develop correct ajax views...

ciao

mathieu

On Thu, Aug 19, 2010 at 11:01 AM, Imad Elharoussi  wrote:

>
> You said that we must not think in a PHP way while using django
>
> can you please give me a solution to my problem
>
>
> I have to connect every minute to a server and get an object from it an
> show the modifications
>
> can you please tell me what django give as solution to this
>
> thank you
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

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



django and php

2010-08-19 Thread Imad Elharoussi
You said that we must not think in a PHP way while using django

can you please give me a solution to my problem


I have to connect every minute to a server and get an object from it an show
the modifications

can you please tell me what django give as solution to this

thank you

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



Re: Jumping from Django to php : maintaining session variables..

2010-07-06 Thread euan.godd...@googlemail.com
I think the solution is pretty self-explanatory. Could you give
details of the specific problem you're encountering, because, as far
as I can see, the snippet given in the referenced post is excellent,
although I fail to see why any one would want to support a cross-PHP/
python application out of choice!

On Jul 6, 9:10 am, Sudharshan <psbbb...@gmail.com> wrote:
> Hello ppl,
>
>  I have a situation here which is aptly described by an earlier 
> posthttp://groups.google.com/group/django-users/msg/a492cb9394b0db4d
>
> But my problem is that even after doing whatever the post says i am
> not able to get away with the problem Can someone revisit the
> solution to the problem again by giving clear explanation as to the
> "mechanism of how things happen" which would make things easier when i
> have to tweak my django/php code respectively according to my
> needs...
>
> Thanks
> Sudharshan

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



Jumping from Django to php : maintaining session variables..

2010-07-06 Thread Sudharshan
Hello ppl,

 I have a situation here which is aptly described by an earlier post
http://groups.google.com/group/django-users/msg/a492cb9394b0db4d

But my problem is that even after doing whatever the post says i am
not able to get away with the problem Can someone revisit the
solution to the problem again by giving clear explanation as to the
"mechanism of how things happen" which would make things easier when i
have to tweak my django/php code respectively according to my
needs...

Thanks
Sudharshan

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



Re: Django and php can they mix?

2009-02-17 Thread Nick Lo

> I'm looking into using Django to redevelop a website to handle dynamic
> content and some social app functions. I am interested in knowing
> whether django can work alongside php, we built a modest database to
> work on news articles in php and are considering using facebook's api
> for an application in the near future.

If it really is modest it may well be as fast to just redo it in  
Django. Otherwise you could consider doing it in stages possibly using  
Django for admin to start:

http://jeffcroft.com/blog/2006/jul/14/django-admin-your-php-app/

I'm about to do just this with a large PHP based site. Once admin is  
done I plan to start adding new site features using Django and  
potentially phase out the PHP ones if needed.

> I'm wondering whether the facebook would be able to use django on its
> frontend or whether it would have to be php coded into that part of
> the site. Any help / advice would be a great help, thanks

That question doesn't read very clearly but this may have answers:

http://wiki.developers.facebook.com/index.php/PythonPyFacebookTutorial

Cheers,

Nick

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



Re: Django and php can they mix?

2009-02-17 Thread felix
if you don't have extensive pre-existing php (legacy) code I would say do it
all in django.

even if you wrote some already in php you will save more time by throwing it
away and reimplementing in django then you will trying to make them co-exist
or by trying to use a legacy db schema.

if you have to write the facebook part in php, then just do that part.  let
django build and manage the database schema.

I have one client with a large site developed in php and running since
2001.  its drudgery having to go back and do new stuff on it now. :(even
though it was a pretty clever framework at the time and I ported some django
and rails stuff to it over the years.




On Tue, Feb 17, 2009 at 4:14 PM, garagefan  wrote:

>
> The easiest solution i can consider is having php request a url from
> the django project that would return a dynamically created xml file
> that you could then parse via php, set variables from, display, etc.



php, even php5 has pretty poor xml support.  json would work better






>
> You could theoretically run the site in django, and the admin and all
> that goodness, but control display via php.
>
> I'm not really sure that its worth it though. I'm not a php developer,
> but there's got to be a php framework that is as simple to use as
> django as far as database work and an auto admin section is
> concerned... if not, i suppose it would be worth the hassle.
>
>
> On Feb 16, 8:13 am, TimSSP  wrote:
> > HI,
> >
> > I'm looking into using Django to redevelop a website to handle dynamic
> > content and some social app functions. I am interested in knowing
> > whether django can work alongside php, we built a modest database to
> > work on news articles in php and are considering using facebook's api
> > for an application in the near future.
> >
> > I'm wondering whether the facebook would be able to use django on its
> > frontend or whether it would have to be php coded into that part of
> > the site. Any help / advice would be a great help, thanks
> >
> > Best wishes
> >
> > Tim
> >
> > email: tim.clar...@gmail.com
> >
>

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



Re: Django and php can they mix?

2009-02-17 Thread vevmesteren

check out www.codeigniter.com, excellent PHP framework

V
On Feb 17, 10:14 am, garagefan  wrote:
> The easiest solution i can consider is having php request a url from
> the django project that would return a dynamically created xml file
> that you could then parse via php, set variables from, display, etc.
>
> You could theoretically run the site in django, and the admin and all
> that goodness, but control display via php.
>
> I'm not really sure that its worth it though. I'm not a php developer,
> but there's got to be a php framework that is as simple to use as
> django as far as database work and an auto admin section is
> concerned... if not, i suppose it would be worth the hassle.
>
> On Feb 16, 8:13 am, TimSSP  wrote:
>
> > HI,
>
> > I'm looking into using Django to redevelop a website to handle dynamic
> > content and some social app functions. I am interested in knowing
> > whether django can work alongside php, we built a modest database to
> > work on news articles in php and are considering using facebook's api
> > for an application in the near future.
>
> > I'm wondering whether the facebook would be able to use django on its
> > frontend or whether it would have to be php coded into that part of
> > the site. Any help / advice would be a great help, thanks
>
> > Best wishes
>
> > Tim
>
> > email: tim.clar...@gmail.com

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



Re: Django and php can they mix?

2009-02-17 Thread garagefan

The easiest solution i can consider is having php request a url from
the django project that would return a dynamically created xml file
that you could then parse via php, set variables from, display, etc.

You could theoretically run the site in django, and the admin and all
that goodness, but control display via php.

I'm not really sure that its worth it though. I'm not a php developer,
but there's got to be a php framework that is as simple to use as
django as far as database work and an auto admin section is
concerned... if not, i suppose it would be worth the hassle.


On Feb 16, 8:13 am, TimSSP  wrote:
> HI,
>
> I'm looking into using Django to redevelop a website to handle dynamic
> content and some social app functions. I am interested in knowing
> whether django can work alongside php, we built a modest database to
> work on news articles in php and are considering using facebook's api
> for an application in the near future.
>
> I'm wondering whether the facebook would be able to use django on its
> frontend or whether it would have to be php coded into that part of
> the site. Any help / advice would be a great help, thanks
>
> Best wishes
>
> Tim
>
> email: tim.clar...@gmail.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Django and php can they mix?

2009-02-16 Thread TimSSP

HI,

I'm looking into using Django to redevelop a website to handle dynamic
content and some social app functions. I am interested in knowing
whether django can work alongside php, we built a modest database to
work on news articles in php and are considering using facebook's api
for an application in the near future.

I'm wondering whether the facebook would be able to use django on its
frontend or whether it would have to be php coded into that part of
the site. Any help / advice would be a great help, thanks

Best wishes

Tim

email: tim.clar...@gmail.com

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



Re: Django-like PHP framework?

2009-01-09 Thread Hernan Olivera
+1, if you really need PHP...

Used at University level for PHP development

2009/1/6 Dave Dash <d...@davedash.com>

>
> I did a lot of symfony stuff on the side about a year ago, and now
> it's the framework that I we use for our frontend servers at
> Delicious.com.  It was through symfony that I found out about Django,
> and started using it quite a bit... so I know a bit about the two
> frameworks.  Or rather, I know a lot about symfony, but much of that
> is being replaced with stuff I'm learning about Django.
>
> As PHP MVC frameworks go, symfony is great.  It borrows from where it
> needs to, to give you a good suite of tools.  The direction it is
> heading in is also nice.
>
> The new 1.1/1.2 series supports Doctrine which was a lot nicer than
> Propel when Iast looked at the two.
>
> The nice thing about using symfony is the developer of symfony uses
> Django from time to time, and borrows from it where appropriate.  I'd
> wage that you'd see more in common with Django and symfony than any
> other PHP framework.
>
> Cheers,
>
> -d
>
> On Jan 5, 5:31 am, "thi.l...@gmail.com" <thi.l...@gmail.com> wrote:
> > Hi,
> >
> > I have a hard time getting Django adopted as web framework in the
> > office.
> > Mostly because the boss paid for PHP-based trainings, and our current
> > infrastructure leaves little room for mod_python/wsgi/fastcgi...
> >
> > I was wondering if some fo you know about competitor PHP frameworks
> > that "look like" Django, or at least try to reach that level of
> > purity.
> >
> > Thanks for any comment (and sorry about this unfair request :-P)
> >
>


-- 
Hernan Olivera

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



Re: Django-like PHP framework?

2009-01-09 Thread thi.l...@gmail.com

Thanks for your recommendations/opinions/experiences.

I had a look at some of these frameworks. To get started, I will dig
deeper in the Symfony framework.

I would say that what bothers me most is that they are written in PHP
(you know, this case-insensitive language with no namespace and
inconsistent 'batteries included'...), and some of them mix PHP/XML/
YAML/etc... I have to get used to that :-)




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



Re: Django-like PHP framework?

2009-01-05 Thread makoto tsuyuki

How about rhaco?

http://translate.google.com/translate?hl=en=UTF-8=http%3A%2F%2Frhaco-users.jp%2F=ja=en_state0=

rhaco has...
* Template Inheritance
* Model based validation
* URLMapper
* admin
* doctest
* Made in Japan...(No english document)

openpear, Japanese Pear Channel, is made with rhaco.
http://translate.google.com/translate?hl=en=UTF-8=http%3A%2F%2Fopenpear.org%2F=ja=en_state0=

On 1月5日, 午後10:31, "thi.l...@gmail.com"  wrote:
> Hi,
>
> I have a hard time getting Django adopted as web framework in the
> office.
> Mostly because the boss paid for PHP-based trainings, and our current
> infrastructure leaves little room for mod_python/wsgi/fastcgi...
>
> I was wondering if some fo you know about competitor PHP frameworks
> that "look like" Django, or at least try to reach that level of
> purity.
>
> Thanks for any comment (and sorry about this unfair request :-P)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Django-like PHP framework?

2009-01-05 Thread Dave Dash

I did a lot of symfony stuff on the side about a year ago, and now
it's the framework that I we use for our frontend servers at
Delicious.com.  It was through symfony that I found out about Django,
and started using it quite a bit... so I know a bit about the two
frameworks.  Or rather, I know a lot about symfony, but much of that
is being replaced with stuff I'm learning about Django.

As PHP MVC frameworks go, symfony is great.  It borrows from where it
needs to, to give you a good suite of tools.  The direction it is
heading in is also nice.

The new 1.1/1.2 series supports Doctrine which was a lot nicer than
Propel when Iast looked at the two.

The nice thing about using symfony is the developer of symfony uses
Django from time to time, and borrows from it where appropriate.  I'd
wage that you'd see more in common with Django and symfony than any
other PHP framework.

Cheers,

-d

On Jan 5, 5:31 am, "thi.l...@gmail.com" <thi.l...@gmail.com> wrote:
> Hi,
>
> I have a hard time getting Django adopted as web framework in the
> office.
> Mostly because the boss paid for PHP-based trainings, and our current
> infrastructure leaves little room for mod_python/wsgi/fastcgi...
>
> I was wondering if some fo you know about competitor PHP frameworks
> that "look like" Django, or at least try to reach that level of
> purity.
>
> Thanks for any comment (and sorry about this unfair request :-P)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Django-like PHP framework?

2009-01-05 Thread Masklinn

On 5 Jan 2009, at 14:31 , thi.l...@gmail.com wrote:
> Hi,
>
> I have a hard time getting Django adopted as web framework in the
> office.
> Mostly because the boss paid for PHP-based trainings, and our current
> infrastructure leaves little room for mod_python/wsgi/fastcgi...
>
> I was wondering if some fo you know about competitor PHP frameworks
> that "look like" Django, or at least try to reach that level of
> purity.
>
> Thanks for any comment (and sorry about this unfair request :-P)

There are quite a few PHP frameworks, but as far as I know the only  
one that really drew inspiration from Django is Symfony.

Didn't do it for everything either, but they at least ported Django's  
newforms as Symfony 1.1's forms. They don't look anywhere as sexy as  
Django's in my opinion and I don't know the rest of the framework, but  
I have a few friends who code in PHP for a living and swear by it. YMMV.

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



Re: Django-like PHP framework?

2009-01-05 Thread Емил Иванов / Emil Ivanov

Welding together Zend Framework, Doctrine and PHPUnit can give you a
very good stack to work with.
All 3 frameworks are very advanced.
You won't get stuff like automatic model forms and the admin for example.

Doctrine is a very advanced ORM tool (and a big a complex one as well).
ZF is sort of the industry standard for PHP, so is PHPUnit.

ZF has integration with PHPUnit and something that is very similar to
Django's Client.

The communities are also quite good.

P.S. Don't expect to find something as good as Django anywhere else though. :)

2009/1/5 thi.l...@gmail.com :
>
> Hi,
>
> I have a hard time getting Django adopted as web framework in the
> office.
> Mostly because the boss paid for PHP-based trainings, and our current
> infrastructure leaves little room for mod_python/wsgi/fastcgi...
>
> I was wondering if some fo you know about competitor PHP frameworks
> that "look like" Django, or at least try to reach that level of
> purity.
>
> Thanks for any comment (and sorry about this unfair request :-P)
> >
>



-- 
My place to share my ideas:
http://bolddream.com

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



Re: Django-like PHP framework?

2009-01-05 Thread Tirta K. Untario
I haven't found an MTV framework like Django on PHP and Django has a very 
unique concept behind it.

But if you want and MVC framework like Rails or Pylons, I recommend you Kohana 
framework - http://www.kohanaphp.com. Originally based on CodeIgniter, it has 
evolved a lot, and I vote it as the best framework for PHP :D

--Tirta 
-Original Message-
From: HB <hubaghd...@gmail.com>

Date: Mon, 5 Jan 2009 06:16:25 
To: Django users<django-users@googlegroups.com>
Subject: Re: Django-like PHP framework?



My PHP friend is really happy with CodeIgnite but I know nothing about
it...

On Jan 5, 4:11 pm, Peter Bailey <p.h.bai...@gmail.com> wrote:
> You might want to have a look at CakePHP. It follows the MCV pattern I
> believe, although I have not looked closely because it is PHP not
> Python.
>
> http://cakephp.org/
>
> Peter
>
> On Jan 5, 8:31 am, "thi.l...@gmail.com" <thi.l...@gmail.com> wrote:
>
> > Hi,
>
> > I have a hard time getting Django adopted as web framework in the
> > office.
> > Mostly because the boss paid for PHP-based trainings, and our current
> > infrastructure leaves little room for mod_python/wsgi/fastcgi...
>
> > I was wondering if some fo you know about competitor PHP frameworks
> > that "look like" Django, or at least try to reach that level of
> > purity.
>
> > Thanks for any comment (and sorry about this unfair request :-P)


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



Re: Django-like PHP framework?

2009-01-05 Thread HB

My PHP friend is really happy with CodeIgnite but I know nothing about
it...

On Jan 5, 4:11 pm, Peter Bailey  wrote:
> You might want to have a look at CakePHP. It follows the MCV pattern I
> believe, although I have not looked closely because it is PHP not
> Python.
>
> http://cakephp.org/
>
> Peter
>
> On Jan 5, 8:31 am, "thi.l...@gmail.com"  wrote:
>
> > Hi,
>
> > I have a hard time getting Django adopted as web framework in the
> > office.
> > Mostly because the boss paid for PHP-based trainings, and our current
> > infrastructure leaves little room for mod_python/wsgi/fastcgi...
>
> > I was wondering if some fo you know about competitor PHP frameworks
> > that "look like" Django, or at least try to reach that level of
> > purity.
>
> > Thanks for any comment (and sorry about this unfair request :-P)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Django-like PHP framework?

2009-01-05 Thread Peter Bailey

You might want to have a look at CakePHP. It follows the MCV pattern I
believe, although I have not looked closely because it is PHP not
Python.

http://cakephp.org/

Peter


On Jan 5, 8:31 am, "thi.l...@gmail.com"  wrote:
> Hi,
>
> I have a hard time getting Django adopted as web framework in the
> office.
> Mostly because the boss paid for PHP-based trainings, and our current
> infrastructure leaves little room for mod_python/wsgi/fastcgi...
>
> I was wondering if some fo you know about competitor PHP frameworks
> that "look like" Django, or at least try to reach that level of
> purity.
>
> Thanks for any comment (and sorry about this unfair request :-P)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Django-like PHP framework?

2009-01-05 Thread thi.l...@gmail.com

Hi,

I have a hard time getting Django adopted as web framework in the
office.
Mostly because the boss paid for PHP-based trainings, and our current
infrastructure leaves little room for mod_python/wsgi/fastcgi...

I was wondering if some fo you know about competitor PHP frameworks
that "look like" Django, or at least try to reach that level of
purity.

Thanks for any comment (and sorry about this unfair request :-P)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: problem marketing django to php folk

2005-11-26 Thread Dagur

I'd be paranoid too if I used php



Re: problem marketing django to php folk

2005-11-26 Thread Adrian Holovaty

On 11/26/05, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> have been talking to some php folk about switching to django, but
> they have raised a serious concern: Django website does not have a
> page for security alerts and the django team has not released any
> security patches - so they feel very uneasy about the whole thing.
> Can this defect somehow be rectified?

Let me get this straight. They're worried that nobody has found
security holes in Django? I guess I don't understand the logic there:
"No security issues have been found; therefore it's insecure"?

But seriously, there haven't been any security-related fixes in Django
since July 19 (http://code.djangoproject.com/changeset/230), when
about 2 people were using it. I guess you could count
http://code.djangoproject.com/changeset/1242, which changed the debug
page's behavior not to display the database password and secret key,
but that's hardly a huge thing.

Jacob has drafted a "Contributing to Django" page, which has a full
section on how we handle security bugs/alerts, but he hasn't posted
that to the site yet. It will have the full scoop on how we handle
security problems if they arise.

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org


Re: problem marketing django to php folk

2005-11-26 Thread GrumpySimon

I created 631 ( http://code.djangoproject.com/ticket/631 ) a few months
ago for this very reason :-)

--Simon



Re: problem marketing django to php folk

2005-11-25 Thread Ian Holsman
There isn't any found yet?

but seriously.. we should have a 'security' page which covers django
'best-practices' in that area.
there has been some recent discussion on the developer list about how
to accept parameters defensively.

There is also a cross site request forgery  prevention compoent here:
http://lukeplant.me.uk/resources/csrfmiddleware/

regards
Ian.


On 11/26/05, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>
> hi,
> have been talking to some php folk about switching to django, but
> they have raised a serious concern: Django website does not have a
> page for security alerts and the django team has not released any
> security patches - so they feel very uneasy about the whole thing.
> Can this defect somehow be rectified?
> --
> regards
> kg
>
> http://www.livejournal.com/users/lawgon
> tally ho! http://avsap.org.in
> ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!
>


--
[EMAIL PROTECTED] -- ++61-3-9877-0909
If everything seems under control, you're not going fast enough. -
Mario Andretti


Re: problem marketing django to php folk

2005-11-25 Thread Tom Tobin

On 11/26/05, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>
> hi,
> have been talking to some php folk about switching to django, but
> they have raised a serious concern: Django website does not have a
> page for security alerts and the django team has not released any
> security patches - so they feel very uneasy about the whole thing.
> Can this defect somehow be rectified?

Err... 1.0 isn't even out yet.  :-D


problem marketing django to php folk

2005-11-25 Thread Kenneth Gonsalves

hi,
have been talking to some php folk about switching to django, but 
they have raised a serious concern: Django website does not have a 
page for security alerts and the django team has not released any 
security patches - so they feel very uneasy about the whole thing. 
Can this defect somehow be rectified?
-- 
regards
kg

http://www.livejournal.com/users/lawgon
tally ho! http://avsap.org.in
ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!