Questions about PHP, a widely-used general-purpose scripting language that is especially suited for Web development.
0
votes
4answers
75 views
PHP - Data Access Layer
I am currently reviewing a code base and noticed that a majority of the calls (along with DB connections) are just buried inside the PHP scripts. I would have assumed that like other languages they ...
0
votes
1answer
91 views
Pinterest - loading more images when scrolling down effect. [closed]
The drag down and load more pictures effect in Pinterest - I see that more commonly used in many a site. What exactly is that done through? Could it be done through javascript? I work mostly in php ...
-4
votes
0answers
38 views
How to plan a PHP based project with DB involved in the below scenario? [closed]
I'm starting a project on web monitoring where other websites can be monitored.
Recently, I have found codeIgniter, yii, kohana frameworks online, but I'm confused as to whether to choose any of ...
-4
votes
0answers
30 views
TYPO3 dev tutorials, where to start? [closed]
So due to German based clients we have to do a project in Typo3 CMS relatively soon.
It's a new platform for us and we just started research into it.
Can anyone suggest some good tutorials, books ...
-5
votes
1answer
56 views
Start of Career: with Java or PHP [closed]
I am very new to this programming career. I am now doing job on PHP & MySQL (joined before 6 months) and working on e-commerce project. Simultaneously I am learning JAVA also just completed Adv. ...
-1
votes
0answers
58 views
Is jumping to PHP (LAMP) from Java good? [closed]
I'm getting an opportunity with a better company to move from my Java/J2EE domain to LAMP based development. Is such a career move good enough after around 3 years of J2EE based development in ...
2
votes
4answers
158 views
Would Using a PHP Framework Be Beneficial in My Context?
I've just started work at a small start-up company who mainly uses PHP to develop their front-end apps. I had no prior PHP experience before joining, and this has led to my apps becoming large pieces ...
2
votes
1answer
26 views
Validation and Error Generation when using the Data Mapper Pattern
I am working on saving state of an object to a database using the data mapper pattern, but I am looking for suggestions/guidance on the validation and error message generation step (step 4 below). ...
1
vote
0answers
50 views
PHP Calculating Text to Content Ratio [closed]
I am using the following code to calculate text to code ratio. I think it is crazy that no one can agree on how to properly calculate the result. I am looking any suggestions or ideas to improve this ...
2
votes
1answer
73 views
Having a generic data type for a database table column, is it “good” practice?
I'm working on a PHP project where some object (class member) may contain different data type. For example :
class Property {
private $_id; // (PK)
private $_ref_id; // the object ...
-2
votes
0answers
43 views
iPhone Development [closed]
I'm PHP Developer with 1.5 years of experience. I want to learn iPhone application development. I searched but I think lack of my searching ability I couldn't get the best tutorial to learn iPhone ...
3
votes
4answers
259 views
Reusable VS clean code - where's the balance?
Let's say I have a data model for a blog posts and have two use-cases of that model - getting all blogposts and getting only blogposts which were written by specific author.
There are basically two ...
2
votes
2answers
132 views
Passing variables from PHP to C++
I need to call a program from PHP and pass some vars and/or sets of key-value pairs to it. How do I pass these vars, through arguments to the called function?
exec("/path/to/program flag1 flag2 ...
2
votes
1answer
66 views
How can I design my classes to include calendar events stored in a database?
I'm developing a web calendar in php (using Symfony2) inspired by iCal for a project of mine.
At this moment, I have two classes: a class "Calendar" and a class "CalendarCell".
Here you are the two ...
-4
votes
2answers
59 views
Starts as Coldfusion developer and want to move into another language? [closed]
I am working as a coldfusion developer for 2 years. Currently, I quit my job and doing master degree in computer science. I want to learn a new language.
Before I start my career, I have some ...