-
-
-
What does .= mean in PHP?
Concatenate to a string. e.g: $var = "This is a "; $var .= "test demonstration"; echo $var; //prints This is a test demonstration
-
Creating a blog from scratch
Yes it is worth it as a learning process. If you develop it using a MVC arhitecture, OOP style, use some Design Patterns and do some Unit testing then you will have a great and fun learning experience. Best of luck
-
Average salary in UK
I found an infographic on the web and I am amazed really with the average salary for web developers and designers in UK. Web developers are paid so low compared to other EU countries. Why is that? here is the link http://visual.ly/salaries-web-developers-india-philippines-usa-and-around-world
-
Is this a good app idea?
Parents sign up and make accounts for kids and also kids can make a request of signing up but until they get approved by a parent they can not join and use the application.
-
Is this a good app idea?
The marketing model is not to the children or to the parents, but to the merchants...because it is all about sales nowdays and profit... toys companies would love to have their products on a marketplace where children have money to buy them directly without the need for parents to actually do it. Also there will be kids wishlists and letters to santa with what they want, imagine I give those stats to the merchants with most wanted products for X-mas, they will have + ROI for sure. Thank you all for the feedback, I am working on this app, development part is no problem, the real problem is I am just a programmer and I do not know to market the app even if I would finish it today. Good marketing and a good designer to do an awsome UI for the app are the things that I need to find before finishing development for beta version. Anyway, I do want the kids to really learn how to spend their money and not just make merchants tons of profit out of this app and I am considering of making lessons and all kind of stuff for them regarding money management. They will for sure get cool badges if they pass all the lessons. Also other features will be donating some money to charities where kids get really cool badges and points and maybe discounts for doing that and also group savings for a present. What that means is 2 kids can save toghether for someone's birthday present. I allready found 2 similar apps on the web http://bankaroo.com/home and http://guluck.com/home.action , not that good tho. Also, what do you guys think of a feature save for college? where we make a secure savings account for a kid who wants to save for college. And he sets limits to that account(e.g. 25% of the allowance goes to that account).
-
Is this a good app idea?
I have some modules allready done , but I need to refactor some code and will change frameworks, built it with Zend, switching to CI because it is faster...so I am not in a bad shape, I do not have design and that will be a problem to find a designer who can design a nice UI for kids. But let me give more details about the app: - Parents can set limits for kids to spend, and also can restrict them for buying without approval - Kids can have saving goals , where they define a goal and a product to save for and how much do they want to save per week or month. When they reach the goal they will get the product. - Also gamification concepts are involved, including badges, trophies for doing certain things Anyway, I asked like 15 parents with kids age 5-12 and most of them said that they would not use this app for their kids.
-
Is this a good app idea?
I am writing specs and starting the development soon on an application that involves parents, kids and merchants. Basically it is a money management social network for kids, where parents can give allowances monthly to kids and their kids can spend the money on the app market where merchants add their stuff for kids. There aren't many web apps for kids out there and this one will have both a social part and a shopping part. What do you guys think. For those who have kids, would you use this app?Make them accounts and give allowances and monitor what they are buying and what they are doing online. Please give some feedback because it is very important for me at this point, Thx.
-
Using CodeIgniter for a community site
You wouldn't say that about everything that is based on the MVC pattern, because MVC pattern can be changed into using just VC because the M can be optional, but you do not really want to do that. CI is a full MVC framework and it is MVC out of the box.http://codeigniter.com/user_guide/overview/mvc.html
-
Using CodeIgniter for a community site
Just check their website there are plenty of tutorials listed there. I am actually starting a project right now with CI, but I have used CI in the past and also used Zend Framework. I have to warn you tho that CI is a PHP framework used for developing web applications, it is not a CMS like WP, Joomla and others. WP is poorly built and is not OOP style. CI enforces MVC and OOP so if you are not familiar with these concepts you will need to learn OOP and MVC first in order to work with CI.
-
simple MVC framework question
well you can't instantiate an abstract class. - wikipedia. You can read more about them, but having several abstract classes which other classes in your framework inherit is a good design.
-
simple MVC framework question
yes ok, it is a start...but I think you don't need to give the controller static methods, u can just make an abstract application controller and all controllers extend that abstract class. The real fun will be when you start coding the router and the db class
-
simple MVC framework question
All MVC frameworks are built with the help of design patterns. I have built my own MVC framework and I can tell you that 1.it is a good way of learning solid programming and 2.it is fun. So regarding your problem, you want to use the Factory Design Pattern. http://en.wikipedia.org/wiki/Factory_method_pattern. The factory design pattern deals with the problem of creating objects without specifying the exact class of object that will be created. Also for your MVC framework you will need to look at other design patterns, and the ones that are mostly used and I have also used and are great for a framework are: Front Controller design pattern - this is your entrypoint to the MVC, it could be index.php Singleton design pattern - can be used for database object
-
Including a PHP file twice
// main_page.php //include all the common files at top include 'name_of_the_file.php'; include 'header_script'; include 'side_bar_script'; include 'content_script'; include 'footer_script'; there...problem solved
-
Frustrated student
just make some personal projects if you are a student....but if you are studying Computing why do you want to do web design?
-
Need PHP logic help
not really...a simple login system yes...but login systems can become very complex and can include role based authentication system(RBAC). Besides that there are the security issues that need to be taken care of. 1 thing that Samus can do is implement a blocking system over IP if a user has 2 many failed attempts to log in.