Trend-Bgi's Profile
Reputation: 1
Apprentice
- Group:
- New Members
- Active Posts:
- 8 (0.03 per day)
- Joined:
- 27-August 12
- Profile Views:
- 1,579
- Last Active:
Sep 14 2012 02:49 AM- Currently:
- Offline
Previous Fields
- Country:
- FR
- OS Preference:
- Windows
- Favorite Browser:
- FireFox
- Favorite Processor:
- Intel
- Favorite Gaming Platform:
- PC
- Your Car:
- Who Cares
- Dream Kudos:
- 0
Latest Visitors
Posts I've Made
-
In Topic: How to read PHP Files
Posted 6 Sep 2012
Hi,
You should use the file_get_contents() function, which is recommended as a best practice for this purpose.
Be careful though, because I see you want to display the content of your file in a textarea. You should think about what you will put inside this textarea: if your PHP file also contains HTML, it might interfere (for example if the php file contains </textarea>, your initial textarea will be closed by the contents of the PHP file). You should escape the contents of the PHP files with the htmlspecialchars() function, and then unescaping the content of the returned form with htmlspecialchars_decode().
Regards,
Hi,
You should use the file_get_contents() function, which is recommended as a best practice for this purpose.
Be careful though, because I see you want to display the content of your file in a textarea. You should think about what you will put inside this textarea: if your PHP file also contains HTML, it might interfere (for example if the php file contains </textarea>, your initial textarea will be closed by the contents of the PHP file). You should escape the contents of the PHP files with the htmlspecialchars() function, and then unescape the content of the returned form with htmlspecialchars_decode().
Regards, -
In Topic: creating a pdf
Posted 6 Sep 2012
-
In Topic: Codefluent Entities ?
Posted 5 Sep 2012
Hello, it's me again. Feeling lonely on this thread
Anyway, I finally got a chance to try this CodeFluent Entities thing.
I had to spend some time to get started with the software, but thanks to its youtube channel I got on track pretty easily.
Well it's intresting indeed. It doesn't work with a runtime ORM: the database is generated with its stored procedures. A set of classes are generated to access the stored procedures.
The integration in the .NET UI layers (Windows Forms, Web Forms, WPF) is amazing ! Everything is out of the box, especially databinding, notifypropertychanged, etc...
To give you an idea the generated class for an entity is more 800 hundred lines of code long, and the corresponding collection class is 1100+ lines long.
I saw it's also possible to generate WCF Services, or JSON Services.
It has a website generator. I was able to generate a full website just from my entity/relations model. That's nice, I think I'll make my Back-end with that, I don't need something more sophisticated...
Well bottomline I'm pretty seduced by this software. It took a while to get used to the way it works, but I think I am going to enjoy it. At least more than my Hibernate/EF and CodeSmith combo, for sure.
Regards,
Trend -
In Topic: Emigration to UK vs English level skills
Posted 27 Aug 2012
Don't go to Barcelona or Madrid if you want to learn English
I'm speaking of experience
But yes an experience in an English speaking country can only be a "plus".
I can only recommend you the Erasmus academic exchange program. I did it, it's a good way to learn a foreign language without losing a year of studies.
Regards, -
In Topic: I have a brilliant web site idea but I don't know how to implement
Posted 27 Aug 2012
You might want to start with Frameworks like Code Igniter, Symfony2, CakePHP.
You can also try CMSs like Joomla or Wordpress with plugins like RSForms. Those are enough if you just need people to be able to create accounts, log in, and post some stuff.
Regards,
My Information
- Member Title:
- New D.I.C Head
- Age:
- 23 years old
- Birthday:
- January 19, 1990
- Gender:
-
- Location:
- Paris, France
- Interests:
- Software Development, .NET, C#, Visual Studio, PHP, Joomla!, MySQL, PostgreSQL
- Years Programming:
- 8
- Programming Languages:
- C#, Java, PHP, C/C++
Contact Information
- E-mail:
- Private
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
Trend-Bgi has no profile comments yet. Why not say hello?