Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

cepa

Members
  • Joined

  • Last visited

  1. Hello, http://webthumbnail.org Please review a new website design and usability Thanks in advance for any feedback
  2. you can try ioncube or zend guard
  3. Hello, I would like to ask for a review of my new project released a few days ago. http://webthumbnail.org This is a new website screenshot generator with very simple to use API, so you can easily integrate website screenshots on your webpages. An example: What can it do so far: - makes screenshots from 70x70 up to 2048x4096 pixels - uses real web browsers (firefox, opera, chrome) - saves to three image formats (png, jpg, gif) - supports flash and html5 - offers simple api.webthumbnail.org based on url parameters - can serve even 500 ready thumbnails per second - the infrastructure is fully scallable so if you need dozens of thumbnails per minute its possible How does it work: You simply type an url address of a webpage, and server is adding this address to the queue. On the other side there is a cloud of robots, each robot is taking addresses from the queue and makes screenshots, which are being uploaded later on. The number of robots can be increased simply by adding new nodes. Technology: - Java (api, robots) - PHP (frontend, backend) - PostgreSQL (database) - Bash, Python, Image Magick, etc... - FreeBSD (main server) - Linux, OpenVZ (robots) Feel free to test and use it, but please note that this is still a beta version Thanks in advance for any feedback, hope you will like it
  4. uhm, but the mail dir contains mails, doesnt it? so i dont think .htaccess there will work, imho, you can make a simple workaround like: setting up a subdomain for email attachments/images/static files and just turn off hotlinking protection for this domain
  5. cepa replied to zedd's topic in Server Side
    if you want to do it yourself, then imho you need at least two database tables: - categories - items categories can be a simple tree, with one primary key, and parent id, the record that has no parent id is a root, better solution is using so called nestedset but it is also harder to implement. items is a simple table which contains an item name, descriptions, parameters, etc and the category id where the item belongs to.
  6. cepa replied to adamsmith's topic in Server Side
    I dont get your question, the preffered way of doing things is writing a maintainable code which usually means object oriented programming since the procedural way has its own namespace limitations. "Speed" in php is a joke, in most cases the bottleneck is the database connections and queries processing not the script performance itself.
  7.    Mythriel reacted to a post in a topic: PHP devs stop doing things bad!
  8. yup, im invisible, wear black, and use shuriken instead of keyboard
  9. well, Im working in php including zend, phpunit and so on, full time for much more than 4 years, can I be called php developer ;d? OOP takes more time than procedural? BULL****! yes, you can write a SCRIPT much faster without oop BUT you will need to do that EVERY TIME, so in fact it is a monkey job, not to much effective because you will spent most of the time doing the same stuff again and again. Reusability? YES IT WORKS! We write code ONCE, and use it WITHOUT modifications everywhere! Why ppl invented design patterns? Exactly to do that! Well, usually I'm not working on simple projects. More than 500 thousands lines of code is a standard, in such a project there is no time to write custom things, if you need to do a custom thing write it in a way that it can be used later - use abstractions. Of course it take time to write a good code, because we write tests (unit tests, load tests, integration tests, etc...) but from the other hand we dont spend time on bug fixing because the amount of bugs is MINIMAL, it also means that we can give a guarantee to a customer especially if the customer is a big or well known company. I dont think PHP is the best technology. I rather think it sucks, but from the business point of view PHP is awesome because it gives you a sellable value in a short amount of time and effort. You can create something that works much faster than in Java. But it also depends on the project... Performance? BWAHAHAHAH! PHP and performance... ppff.... C'mon guys, this language wasn't designed to be the fastest on this planet. For example it is ~300 times slower than C in single character operations, like text processing. Did you work on a project that is being executed on a cluster? I did, and trust me, php is executed very rarely because it is too slow. This is also why OOP work here - the code doesnt have to be super fast. It is ok if a response generation will take around 1 second, in most cases it will be cached and served many hundreds or even thousands times per this one second. Well, PHP is just a tool, its not a way of life. It suits some project, other should be written in Java, and even C/C++, the point to be a good programmer is not to be a single language fan, but to know which tool is the best for solving a problem.
  10.    Lone Akita reacted to a post in a topic: how to test scripts!?
  11. 1) unit testing -> phpunit 2) acceptance testing -> selenium rc 3) load testing -> apache benchmark, jmeter
  12. cepa replied to adamsmith's topic in Server Side
    imho you can try to dump each tables separately using mysqldump and then create a new database, import a new structure where the innodb is an engine nad import dumped sql data, i dont know if there is a simple solution for changin engines
  13. Well, actually the language does matter, simply because if such a project is not a "throw away", then you have maintenance costs. Object oriented php5 syntax is very simmilar to java but the java costs are much higher, because the "entry point" to this technology is higher. There are a lot of people who claims to be able to code in php but in fact only a few percent can be called php programmers, thats why development in php is usually cheaper because it is being used to simpler projects, in java the entry point is higher and in most cases people who code in java simply know more about "good practices" than php newbies, from the other hand they are more expensive and development in java takes more time than in php (in most cases) it is connected to the project scale and complexicity, the simplest example: you can get a working php website in a few seconds, in java you need to set up the whole environment first, then create a project, build an archive, deploy it etc... imho a clone of dailydeals.com can be done in php and probably this will be the cheapest solution both in development cost and deployment cost, especially if you dont know the technology and you're planning to outsource the job regarding asp, you will need a webserver from microsoft which also costs
  14. cepa replied to kapi's topic in Server Side
    zend
  15.    pbb76 reacted to a post in a topic: Large image uploads PHP
  16. i think there is no simple solution to that, and JS won't help you too much, first of all if you use php for download it has its own limitations. If i were you i would try webdav/ftp and/or java applet.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.