Going to build a new photography website which will be maintain by my friend and myself.
Am looking at the current popular PHP frameworks which need to fufil the following requirement
- rapid development
- easy maintainance
- user account management
- file upload
- able to integrate easily with image manipulation library (GD lib)
- Suitable for a shared-hosting environment
Currently shortlisted
Had do some googling and below are the pros and cons for each frameworks
CakePHP
Pro
- easy to code
- built in security access
- access of data via arrays
Cons
- Quite new as compare to Symony
- No (or little?) test functionality?
Symfony
Pros
- able to build an enterprise app (otherwise why would yahoo use it?)
- access of data via propel or doctrine (i.e. object oriented) as they are well supported
- Able to reload data easily
- Able to create test cases
Cons
- steep learning curve
- Complicated?
I decided to give myself a week to learn Syfmony before I decide which framework to use.
If you have blue screen when starting Windows 7 after you enable AHCI, try follow the below step to disable AHCI and force windows to reload/reinstall AHCI drivers on next boot.
- Disable AHCI in BIOS; turn HDD configuration to IDE
- Click Start, type regedit in the Search box, and then press ENTER.
- Locate the following registry key
- HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Msahci
- In the right pane, right-click Start in the Name column, and then click Modify.
- In the Value data box, type 0, and then click OK.
- Reboot your computer and boot into BIOS setup
- Turn on AHCI in your HDD configuration
In this 2nd part of “extend dlink 655 wireless network with linksys (DD-WRT) and engenius routers“, I will show you how to set your linksys router (DD-WRT firmware) to connect to d-link 655 router in WDS mode.
To recap, my linksys router is a repeater of my main internet router d-link655 and it is connected to a printer.
One fine day, when I were viewing my photos in windows 7, I got shocked when I saw a yellowish tint or an overlayer that appeared on not only for one photo but all my photos!
I googled around and found out that this is a bug or issue caused by buggy/conflicting monitor profile with Windows 7.
And here’s the step-by-step procedures to solve it.
extend dlink 655 wireless network with linksys (DD-WRT) and engenius routers: Part 1
Introduction
Extending a wireless network is not an easy task.
There are various way to extend your wireless network – you can connect a cable directly from one router to another and extend from there OR you can ‘join’ 2 wireless router via wireless means.The article here will talk about the second option. The correct term for this wireless-wireless setup is Wireless Distribution System (WDS).
WDS
By definition, a Wireless Distribution System (WDS) is a system that enables the wireless interconnection of access points in a wireless network.
It allows a wireless network to be expanded using multiple access points without the need for a wired backbone to link them, as is traditionally required.
Limitation (or Requirement) of WDS
- Some router might not support the newer WPA2 security. Note that Tomato firmware on Linksys WRT54g does not support WPA2 in WDS mode. Fortunately, DD-WRT does support.
- Speed may decrease by 50%
- Not all routers support WDS. I bought a Belkin N router and only realized that it doesnt support WDS wireless. Thus, do some ‘googling’ before you go and buy a wireless router.
- A lot of patience for trial and error- if it doesn’t connect for the first time, try rebooting all the routers and try again.
My Wireless Setup
My setup is quite a challenging one as I am not only extending 1 router but 2.
Due to the location of my furniture in my living room, I have to extend 2 routers to cater for both my xbox360 and my wired network printer.
In short, my overall wireless layout is as below.
The routers that I am using for my setup are
- D-link 655 – main router which connects to the internet modem
- Engenius ESR6550 – A 3G cum B/G/N wireless portable router which is connected to my XBox360
- Linksys WRT54G – an old (but reliable) G wireless router which is connected to my Epson Stylus Office TX510FN
Some basic concept/setup for WDS to work
- You need to manually set the ip address for each of the access points (sub-router) and the IP address must not conflict with each other. i.e. my dlink ip address is 192.168.0.1, and the rest of the router is 192.168.0.2,192.168.0.3
- The access point’s gateway IP should point to the main router. i.e. in my Linksys router, my IP address is 192.168.0.3 and the gateway IP is 192.168.0.1
- If you are using DHCP, you can set it in the main router ONLY or in each router. If you are using the latter option, the DHCP range must not conflict with the rest.
For example, if you using only the main router for DHCP only. The main router DHCP ip address is set from 192.168.0.100 to 192.168.0.199
if you are using DHCP for each routher, you can set 192.168.0.100 to 192.168.0.150 for router A, 192.168.0.151 to 192.168.0.199 for router B and so on - Set DNS server in the access point to your main router i.e. 192.168.0.1
- Wirerless SSID for all routers should be the same
My setup
- Main router IP address is 192.168.0.1
- Engenius router is 192.168.0.2
- Linksys is 192.168.03
- Subnet mask for all routers is 255.255.255.0
- Using WPA2 AES security
- Gateway IP and DNS are my main router IP address – 192.168.0.1
- Wireless channel 6
- Same wireless SSID for all 3 routers
Coming soon: WDS setup part 2
omg, I had this ongoing “lag” issue in TF2 whereby my fps would drop dramatically in a fight in TF2 (team fortress 2) game.
Things get more frustrated when I recently upgrade my graphic card from the old 8600GT to the GTX260 and the lag problem does not go away!
Its only recently that I came across this thread in steam forum that suggest a fix to this problem.
if you have a similar setup like mine
- Intel Core2Duo E6320
- 4GB RAM
- Windows 7 Home
- GTX260
- Onboard Realtek soundcard
- MSI P65 Neo2 motherboard
and encounter the following symptoms…
- lag or shutter after 2-3 seconds when you walk in a straight line in the game
- framerate drop to 10+ in heavy fight
- sound shutter in heavy fight
- ping spikes randomly
for the following steam games…
- Source Engine Games (Team Fortress 2 (TF2), Left 4 Dead, Counter Strike Source (CS:S, CSS))
- Heroes of Newerth (HoN)
- Call of Duty Series (CoD), possibly including Modern Warfare
- Overlord Series (Overlord, Overlord: Raising Hell, Overlord 2)
perhaps you may want to try the following method and see if the problem would go away.
- Open regedit
- Go to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile
- There will be an entry for network performance throttling, default value is 10; set it to FFFFFFFF hex (willl look like 0xFFFFFFFF to the right of the entry
- Reboot